login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A368679 Sum of the squarefree values of (n-k) where the numbers k are the numbers less than n that do not divide n. 2
0, 0, 1, 1, 6, 3, 11, 11, 18, 19, 24, 18, 45, 38, 48, 58, 87, 72, 104, 79, 109, 112, 144, 123, 189, 176, 189, 154, 215, 200, 244, 244, 253, 288, 308, 275, 407, 388, 418, 379, 521, 426, 562, 507, 575, 624, 647, 605, 698, 740, 706, 675, 791, 740, 844, 802, 861, 870, 956 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,5
LINKS
FORMULA
a(n) = Sum_{k=1..n} (n-k) * mu(n-k)^2 * (ceiling(n/k) - floor(n/k)).
EXAMPLE
a(12) = 18. The numbers k that are less than 12 and do not divide 12 are: {5,7,8,9,10,11}. The corresponding n-k values are: {7,5,4,3,2,1} (only 5 of which are squarefree). The sum of the squarefree values of n-k is then 7+5+3+2+1 = 18.
MATHEMATICA
Table[Sum[(n - k) MoebiusMu[n - k]^2 (Ceiling[n/k] - Floor[n/k]), {k, n}], {n, 100}]
PROG
(PARI) a(n) = sum(k=1, n-1, if ((n % k) && issquarefree(n-k), n-k)); \\ Michel Marcus, Jan 03 2024
CROSSREFS
Cf. A008683 (mu), A368677, A368680.
Sequence in context: A060534 A060445 A131894 * A335393 A040033 A165998
KEYWORD
nonn,easy
AUTHOR
Wesley Ivan Hurt, Jan 02 2024
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 14 02:14 EDT 2024. Contains 375146 sequences. (Running on oeis4.)