OFFSET
1,2
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..200
MATHEMATICA
n = 4; Table[a = Join[{1}, Table[0, {n - 1}]]; a = Mod[a, i]; a0 = a; k = 0; zeros = 0; While[k++; s = Mod[Plus @@ a, i]; a = RotateLeft[a]; If[s == 0, zeros++]; a[[n]] = s; a != a0]; zeros, {i, 100}]
CROSSREFS
KEYWORD
nonn
AUTHOR
T. D. Noe, Aug 18 2011
STATUS
approved