A106300 Primes that do not divide any term of the Lucas 4-step sequence A073817.
2789, 3847, 4451, 4751, 5431, 6203, 8317, 9533, 9629, 9907, 10093, 11839, 13903, 13907, 14207, 15823, 16319, 16759, 19543, 20939, 21379, 21859, 25303, 26683, 29483, 30871, 31267, 31699, 32003, 32771, 33967, 34963, 36229, 37061, 39983
Offset: 1
Keywords
Links
- Eric Weisstein's World of Mathematics, Fibonacci n-Step Number.
Crossrefs
Programs
-
Mathematica
n=4; 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, 10000}]; lst
Comments