OFFSET
1,2
COMMENTS
a(n) is a divisor of the Pisano period A001175(n^3).
FORMULA
a(n) = A001177(n^3)
EXAMPLE
a(6)=36, since Fib(36)=14930352==0(mod 6^3), but Fib(k) is not congruent to 0 modulo (6^3) for 1<=k<36.
MATHEMATICA
Join[{1}, Table[a = {0, 1}; k = 0; While[k++; s = Mod[Plus @@ a, n^3]; a = RotateLeft[a]; a[[2]] = s; a[[1]] != 0]; k, {n, 2, 50}]] (* T. D. Noe, Aug 08 2012 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Hieronymus Fischer, Aug 24 2007
STATUS
approved