OFFSET
0,4
COMMENTS
Periodic with period 24. - Jon Perry, Jan 08 2003
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1).
EXAMPLE
a(8) = F(8) mod 16 = 21 mod 16 = 5.
MATHEMATICA
a={}; Do[f=Fibonacci[n]; AppendTo[a, Mod[f, 16]], {n, 1, 30}]; a (* Vladimir Joseph Stephan Orlovsky, Jul 23 2008 *)
Table[Mod[Fibonacci[n], 16], {n, 0, 100}] (* Vincenzo Librandi, Feb 04 2014 *)
PROG
(PARI) for (n=1, 100, print1(fibonacci(n)%16", "))
(Magma) [Fibonacci(n) mod 16: n in [0..100]]; // Vincenzo Librandi, Feb 04 2014
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Jon Perry, Jan 04 2003
STATUS
approved