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

A207990
Primes of the form prime(n) + prime(n+1) - 5.
3
3, 7, 13, 19, 31, 37, 47, 73, 79, 107, 139, 157, 167, 181, 193, 199, 211, 263, 271, 283, 347, 367, 379, 457, 467, 487, 503, 571, 613, 619, 643, 691, 757, 823, 859, 877, 887, 919, 941, 997, 1039, 1187, 1231, 1279, 1307, 1423, 1489, 1579, 1601, 1627, 1663
OFFSET
1,1
LINKS
MATHEMATICA
Select[Table[Prime[n] + Prime[n + 1] - 5, {n, 200}], PrimeQ]
Select[Total/@Partition[Prime[Range[200]], 2, 1]-5, PrimeQ] (* Harvey P. Dale, Apr 05 2020 *)
PROG
(PARI) p=2; forprime(q=3, 1e4, if(isprime(t=p+q-5), print1(t", ")); p=q) \\ Charles R Greathouse IV, Apr 13 2012
CROSSREFS
Sequence in context: A023203 A086135 A023220 * A023205 A304874 A167473
KEYWORD
nonn,less
AUTHOR
STATUS
approved