[go: up one dir, main page]

login
A045961
Twin A045954's (middle terms) that are primes.
1
3, 5, 11, 19, 43, 53, 101, 131, 139, 149, 197, 229, 373, 389, 419, 523, 547, 587, 643, 709, 739, 883, 997, 1091, 1093, 1187, 1483, 1621, 1931, 1973, 2099, 2243, 2347, 2357, 2411, 2549, 2677, 2731, 2741, 2803, 2963, 3011, 3203, 3307, 3331, 3461, 3467, 3541, 3733
OFFSET
1,1
COMMENTS
Also, prime terms of A045957. - Sean A. Irvine, Mar 29 2021
LINKS
MATHEMATICA
evenLuckies[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++]; lst]; twinMid[max_] := Module[{s = evenLuckies[max]}, Select[s[[Position[ Differences[s], 2] // Flatten]] + 1, PrimeQ]]; twinMid[3800] (* Amiram Eldar, Mar 20 2024, after Robert G. Wilson v at A045954 *)
CROSSREFS
Intersection of A000040 and A045957.
Cf. A045954.
Sequence in context: A129384 A131887 A045691 * A293820 A281380 A117272
KEYWORD
nonn
AUTHOR
EXTENSIONS
More terms from David W. Wilson
STATUS
approved