[go: up one dir, main page]

login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A193993
Number of zeros in the period of Fibonacci 4-step sequence A000078 mod n.
1
1, 3, 9, 5, 72, 27, 49, 8, 12, 216, 11, 24, 7, 147, 36, 10, 336, 36, 361, 188, 231, 8, 529, 39, 80, 21, 21, 126, 11, 108, 1986, 14, 51, 1008, 636, 31, 34, 1083, 36, 152, 11, 693, 3786, 8, 24, 1587, 2209, 51, 56, 56, 1440, 19, 5832, 63, 33, 203, 1653, 9, 3481
OFFSET
1,2
LINKS
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
Cf. A106295 (period of Lucas 4-step sequence).
Sequence in context: A122943 A276148 A182946 * A107051 A351913 A337446
KEYWORD
nonn
AUTHOR
T. D. Noe, Aug 18 2011
STATUS
approved