A268615 Lucas numbers mod 40.
2, 1, 3, 4, 7, 11, 18, 29, 7, 36, 3, 39, 2, 1, 3, 4, 7, 11, 18, 29, 7, 36, 3, 39, 2, 1, 3, 4, 7, 11, 18, 29, 7, 36, 3, 39, 2, 1, 3, 4, 7, 11, 18, 29, 7, 36, 3, 39, 2, 1, 3, 4, 7, 11, 18, 29, 7, 36, 3, 39, 2, 1, 3, 4, 7, 11, 18, 29, 7, 36, 3, 39, 2, 1, 3, 4, 7, 11, 18, 29, 7, 36, 3, 39, 2, 1, 3, 4, 7, 11, 18, 29, 7, 36, 3, 39, 2, 1, 3, 4, 7, 11
Offset: 0
Links
- G. C. Greubel, Table of n, a(n) for n = 0..10000
Programs
-
Magma
[Lucas(n) mod 40: n in [0..100]]; // Vincenzo Librandi, Feb 09 2016
-
Mathematica
Table[Mod[LucasL[n],40], {n,0,100}] PadRight[{},120,{2,1,3,4,7,11,18,29,7,36,3,39}] (* Harvey P. Dale, Feb 04 2019 *)
Formula
a(n+12) = a(n).
Comments