|
|
A227885
|
|
Primes in the union of all n-step Lucas sequences.
|
|
2
|
|
|
2, 3, 7, 11, 29, 31, 47, 71, 113, 127, 131, 191, 199, 223, 239, 241, 367, 439, 443, 521, 863, 983, 1013, 1499, 1871, 2003, 2207, 3571, 6553, 8087, 8191, 9349, 16369, 32647, 32707, 36319, 63487, 65407, 65519, 122401, 126719, 131071, 196331, 260111, 524287
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
FORMULA
|
|
|
MATHEMATICA
|
plst={2}; plimit=10^39; For[n=2, n<=3+Log[2, plimit], n++, llst={}; For[i=1, i<n, i++, AppendTo[llst, -1]]; AppendTo[llst, n]; For[k=2, k<=2*(1+Log[GoldenRatio, plimit*Sqrt[5]+0.5]), k++, sum=Sum[llst[[j+k-2]], {j, 1, n}]; AppendTo[llst, sum]; If[sum<=plimit && PrimeQ[sum], AppendTo[plst, sum]]]]; Union[plst]
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|