|
|
A081222
|
|
Smallest number m with Sum_{k=n..n+m} mu(k) = 0, where mu=A008683 (Möbius function).
|
|
1
|
|
|
1, 92, 36, 0, 1, 1, 3, 0, 0, 1, 4, 0, 1, 5, 2, 0, 5, 0, 2, 0, 9, 1, 3, 0, 0, 3, 0, 0, 6, 4, 2, 0, 40, 9, 2, 0, 1, 4, 2, 0, 17, 15, 3, 0, 0, 1, 4, 0, 0, 0, 2, 0, 2, 0, 16, 0, 4, 1, 6, 0, 1, 5, 0, 0, 1, 27, 2, 0, 1, 17, 6, 0, 1, 5, 0, 0, 1, 8, 3, 0, 0, 1, 2, 0, 24, 19, 2, 0, 2, 0, 12, 0, 9, 7, 2, 0, 120, 0, 0
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
COMMENTS
|
|
|
LINKS
|
|
|
MAPLE
|
f:= proc(n) local t, k;
t:= 0;
for k from n do
t:= t + numtheory:-mobius(k);
if t=0 then return k-n fi
od
end proc:
|
|
MATHEMATICA
|
a[n_] := Module[{t = 0, k}, For[k = n, True, k++, t += MoebiusMu[k]; If[t == 0, Return[k - n]]]];
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|