OFFSET
1,1
COMMENTS
Mertens's function (A002321) is oscillating. The width of its waves is given here.
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
MATHEMATICA
Differences[Position[Accumulate[Array[MoebiusMu, 1500]], 0]//Flatten] (* Harvey P. Dale, Nov 10 2016 *)
PROG
(PARI) lista(kmax) = {my(s = 0, k1 = 2); for(k2 = 3, kmax, s += moebius(k2); if(s == 0, print1(k2 - k1, ", "); k1 = k2)); } \\ Amiram Eldar, Jun 09 2024
CROSSREFS
KEYWORD
nonn
AUTHOR
Labos Elemer, Oct 11 2000
EXTENSIONS
Offset corrected by Amiram Eldar, Jun 09 2024
STATUS
approved