[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”).

A111255
Primes in A111254.
1
11, 17, 29, 41, 67, 73, 89, 97, 107, 127, 151, 157, 181, 191, 271, 307, 337, 347, 389, 409, 439, 461, 491, 499, 547, 701, 709, 733, 757, 769, 821, 877, 911, 929, 971, 1009, 1033, 1063, 1171, 1187, 1249, 1289, 1297, 1307, 1453, 1571, 1597, 1609, 1667, 1697
OFFSET
1,1
LINKS
FORMULA
a(n) = If Prime[n+2]+Prime[n] is prime then Prime[n+2]+Prime[n]
MAPLE
P:= [seq(ithprime(i), i=1..10000)]:
select(isprime, map(`+`, P[1..-3]+P[3..-1], 1)); # Robert Israel, Jan 03 2021
MATHEMATICA
a = Flatten[Table[If[PrimeQ[Prime[n + 2] +Prime[n] + 1], Prime[n + 2] + Prime[n] + 1, {}], {n, 1, 200}]]
CROSSREFS
Cf. A111254.
Sequence in context: A162175 A178128 A330410 * A060213 A234098 A153502
KEYWORD
nonn
AUTHOR
Roger L. Bagula, Nov 01 2005
EXTENSIONS
Offset changed by Robert Israel, Jan 03 2021
STATUS
approved