[go: up one dir, main page]

login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A174913
Lesser of twin primes p1 and p2 such that 2*p1+p2 is a prime number.
10
3, 5, 17, 29, 59, 149, 197, 227, 239, 269, 419, 569, 659, 1277, 1427, 1487, 1667, 1949, 2087, 2129, 2267, 2339, 2549, 2789, 2999, 3359, 3389, 3929, 4049, 4157, 4217, 4229, 4517, 4637, 5099, 5417, 5477, 6089, 6197, 6299, 6359, 6569, 6659, 6827, 6959, 7127
OFFSET
1,1
COMMENTS
(p1, p2=p1+2) is a pair of twin primes.
LINKS
MATHEMATICA
lst={}; Do[p1=Prime[n]; p2=p1+2; If[PrimeQ[p2]&&PrimeQ[2*p1+p2], AppendTo[lst, p1]], {n, 7!}]; lst
Transpose[Select[Partition[Prime[Range[1000]], 2, 1], #[[2]]-#[[1]] == 2 && PrimeQ[ 2#[[1]]+ #[[2]]]&]][[1]] (* Harvey P. Dale, Apr 09 2012 *)
CROSSREFS
Sequence in context: A023226 A113169 A350856 * A079496 A230639 A038898
KEYWORD
nonn
AUTHOR
EXTENSIONS
Definition edited by Harvey P. Dale, Aug 13 2024
STATUS
approved