login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
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
Subsequence of A005097.
Sequence in context: A316765 A097635 A151870 * A127257 A050832 A300600
KEYWORD
nonn
AUTHOR
EXTENSIONS
More terms from David W. Wilson
Title corrected by Sean A. Irvine, Mar 29 2021
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 10 15:49 EDT 2024. Contains 375056 sequences. (Running on oeis4.)