OFFSET
1,3
COMMENTS
a(1) = 0; for n=2 to 20, a(n) = A000045(n); otherwise for instance, see example. - Michel Marcus, Jul 15 2013
LINKS
Charles R Greathouse IV, Table of n, a(n) for n = 1..10000
EXAMPLE
a(21) = 1685, since Fibonacci(21) = 10946 == 1685 (mod 21^3).
PROG
(PARI) a(n) = fibonacci(n) % n^3 \\ Michel Marcus, Jul 15 2013
(PARI) a(n)=lift((Mod([1, 1; 1, 0], n^3))^n)[1, 2] \\ Charles R Greathouse IV, Jul 18 2013
CROSSREFS
KEYWORD
nonn
AUTHOR
Hieronymus Fischer, Aug 24 2007
STATUS
approved