A213060 Lucas(n) mod n, Lucas(n)= A000032(n).
0, 1, 1, 3, 1, 0, 1, 7, 4, 3, 1, 10, 1, 3, 14, 15, 1, 0, 1, 7, 11, 3, 1, 2, 11, 3, 22, 7, 1, 18, 1, 31, 4, 3, 4, 34, 1, 3, 17, 7, 1, 18, 1, 7, 41, 3, 1, 2, 29, 23, 4, 7, 1, 0, 44, 47, 4, 3, 1, 22, 1, 3, 41, 63, 11, 18, 1, 7, 50, 53, 1, 2, 1, 3, 64, 7, 73, 18
Offset: 1
Links
- T. D. Noe, Table of n, a(n) for n = 1..10000
Programs
-
Magma
[Lucas(n) mod (n) : n in [1..120]]; // Vincenzo Librandi, Nov 19 2015
-
Maple
with(combinat):f:=n-> fibonacci(n):L:=n->f(2*n)/f(n): seq(L(n) mod n, n= 1..75) # alternative A213060 := proc(n::integer) modp(A000032(n),n) ; end proc: seq(A213060(n),n=1..100) ; # R. J. Mathar, Oct 02 2019
-
Mathematica
Table[Mod[LucasL[n], n], {n, 100}] (* T. D. Noe, Jun 06 2012 *)
Comments