|
|
A045962
|
|
Numbers k in A045954 such that 2*k+1 is prime.
|
|
2
|
|
|
2, 6, 18, 20, 26, 36, 44, 50, 54, 68, 90, 98, 114, 116, 138, 140, 186, 198, 228, 230, 260, 278, 300, 308, 326, 354, 386, 426, 438, 470, 498, 516, 524, 534, 546, 548, 596, 614, 644, 660, 690, 714, 716, 740, 746, 804, 818, 870, 900, 938, 966, 986, 996, 998, 1044, 1068
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
MATHEMATICA
|
seq[max_] := Module[{lst = Range[2, max, 2], i = 2, len}, While[i <= (len = Length@lst) && (k = lst[[i]]) <= len, lst = Drop[lst, {k, len, k}]; i++]; Select[lst, PrimeQ[2*# + 1] &]]; seq[1000] (* Amiram Eldar, Mar 20 2024, after Robert G. Wilson v at A045954 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|