The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A332509 a(n) = Sum_{k=1..n} mu(floor(n/k)), where mu = A008683. 1
1, 0, 1, 1, 1, 2, 1, 2, 3, 2, 1, 4, 4, 3, 3, 3, 3, 5, 5, 6, 6, 3, 2, 7, 7, 6, 6, 6, 6, 7, 8, 9, 9, 7, 5, 8, 8, 8, 8, 9, 9, 11, 12, 11, 11, 9, 8, 13, 12, 11, 12, 11, 11, 13, 12, 12, 13, 11, 10, 15, 15, 16, 15, 16, 16, 14, 15, 15, 15, 12, 13, 19, 19, 19, 18, 19, 17, 16, 17, 18, 18, 17, 16, 21, 21 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,6
LINKS
Eric Weisstein's World of Mathematics, Moebius Function
FORMULA
G.f.: (1/(1 - x)) * (x - Sum_{k>=2} mu(k-1) * x^k / (1 - x^k)).
a(n) = 1 - Sum_{k=1..n} Sum_{d|k, d > 1} mu(d-1) for n > 0.
Sum_{k=1..n-1} mu(k) * a(floor(n/k)) = 0.
MATHEMATICA
Table[Sum[MoebiusMu[Floor[n/k]], {k, 1, n}], {n, 1, 85}]
Table[1 - Sum[DivisorSum[k, MoebiusMu[# - 1] &, # > 1 &], {k, 1, n}], {n, 1, 85}]
nmax = 85; CoefficientList[Series[(1/(1 - x)) (x - Sum[MoebiusMu[k - 1] x^k/(1 - x^k), {k, 2, nmax}]), {x, 0, nmax}], x] // Rest
PROG
(PARI) a(n) = sum(k=1, n, moebius(n\k)); \\ Michel Marcus, Feb 14 2020
CROSSREFS
Sequence in context: A364663 A101050 A128979 * A336157 A190167 A339010
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Feb 14 2020
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 June 6 15:44 EDT 2024. Contains 373132 sequences. (Running on oeis4.)