OFFSET
0,4
COMMENTS
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..1000
FORMULA
a(n) = (a(n-1) + a(n-2)) mod 100 for n>1, a(0) = 0, a(1) = 1.
MATHEMATICA
Mod[Fibonacci[Range[0, 100]], 100] (* Harvey P. Dale, Jun 12 2014 *)
PROG
(Magma) [Fibonacci(n) mod(100): n in [0..75]]; // Vincenzo Librandi, Jul 23 2014
(Haskell)
a105471 n = a105471_list !! n
a105471_list = 0 : 1 :
zipWith ((flip mod 100 .) . (+)) a105471_list (tail a105471_list)
-- Reinhard Zumkeller, Aug 06 2014
(PARI) a(n)=fibonacci(n%300)%100 \\ Charles R Greathouse IV, Oct 07 2015
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Reinhard Zumkeller, Apr 09 2005
STATUS
approved