OFFSET
0,1
COMMENTS
Related to the Riemann Hypothesis through the Titchmarsh Theorem.
EXAMPLE
M(1637) = 17 because the sum of Moebius mu(1) + mu(2) + ... + mu(1637) = 17.
MAPLE
with(numtheory): k := -1: s := 0: for n from 1 to 20000 do s := s+mobius(n): if (abs(s) > k) and (n>1) then k := abs(s): print(n, k); fi; od:
MATHEMATICA
Reap[ For[ k = -1; s = 0; n = 1, n <= 20000, n++, s = s + MoebiusMu[n]; If[Abs[s] > k && n > 1, k = Abs[s]; Sow[n]]]][[2, 1]] (* Jean-François Alcover, Sep 04 2013, after Maple *)
CROSSREFS
KEYWORD
nonn,nice
AUTHOR
Luis Rodriguez-Torres (ludovicusmagister(AT)yahoo.com), Apr 06 2001
STATUS
approved