OFFSET
1,1
LINKS
Michel Lagneau, Table of n, a(n) for n = 1..1000
EXAMPLE
a(1)= 4 => M(4) = 0;
a(2)= 1 => M(1)+ M(2) = 1-1 = 0;
a(3)= 4 => M(4)+ M(5)+ M(6) = 0-1+1 = 0;
a(4)= 6 => M(6)+ M(7)+ M(8) + M(9) = 1-1+0+0 = 0;
a(5)= 8 => M(8)+ M(9)+ M(10)+ M(11)+ M(12) = 0+0+1-1+0 = 0.
MATHEMATICA
Table[k=1; While[Sum[MoebiusMu[k+i], {i, 0, n-1}]!=0, k++]; k, {n, 1, 100}]
PROG
(PARI) a(n) = my(k = 1); while(sum(j=k, n+k-1, moebius(j)) != 0, k++); k; \\ Michel Marcus, Aug 30 2014
CROSSREFS
KEYWORD
nonn
AUTHOR
Michel Lagneau, Aug 30 2014
STATUS
approved