A106299 Primes that do not divide any term of the Lucas 3-step sequence A001644.
2, 103, 199, 211, 421, 757, 883, 907, 991, 1021, 1123, 1237, 1543, 1567, 1621, 1699, 1753, 1873, 2113, 2539, 2731, 2797, 2803, 3391, 3433, 3463, 3499, 3613, 3631, 3793, 3853, 3919, 4093, 4591, 4723, 4933, 4951, 4987, 5107, 5179, 5527, 5791, 5839, 6073
Offset: 1
Keywords
Links
- Eric Weisstein's World of Mathematics, Fibonacci n-Step Number.
Crossrefs
Programs
-
Mathematica
n=3; lst={}; Table[p=Prime[i]; a=Join[Table[ -1, {n-1}], {n}]; a=Mod[a, p]; a0=a; While[s=Mod[Plus@@a, p]; a=RotateLeft[a]; a[[n]]=s; !(a==a0 || s==0)]; If[s>0, AppendTo[lst, p]], {i, 1000}]; lst
Comments