OFFSET
1,6
COMMENTS
Since the principal source of negative excursions of the Mertens function is here eliminated, most probably this sequence increases ad infinitum albeit non-monotonically; it decreases at squarefree numbers with an odd number of prime divisors, e.g., 30 and 42.
Positions of records of a(n) are in A030229. - Michael De Vlieger, May 15 2017
LINKS
Michael De Vlieger, Table of n, a(n) for n = 1..10000
MATHEMATICA
mer[x_] := mer[x-1]+MoebiusMu[x]; mer[0]=0; $RecursionLimit=1000; Table[mer[w]+PrimePi[w], {w, 1, 256}]
(* Second program: *)
Accumulate@ Array[MoebiusMu@ # + Boole[PrimeQ@ #] &, 81] (* Michael De Vlieger, May 15 2017 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Labos Elemer, Oct 14 2003
STATUS
approved