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

A031505
Upper prime of a difference of 4 between consecutive primes.
9
11, 17, 23, 41, 47, 71, 83, 101, 107, 113, 131, 167, 197, 227, 233, 281, 311, 317, 353, 383, 401, 443, 461, 467, 491, 503, 617, 647, 677, 743, 761, 773, 827, 857, 863, 881, 887, 911, 941, 971, 1013, 1091, 1097, 1217, 1283, 1301, 1307, 1427, 1433, 1451
OFFSET
1,1
LINKS
FORMULA
a(n) = A029710(n-1) + 4 = A029708(n) + 2.
MAPLE
for i from 1 to 232 do if ithprime(i+1) = ithprime(i) + 4 then print({ithprime(i+1)}); fi; od; # Zerinvary Lajos, Mar 19 2007
MATHEMATICA
Select[Partition[Prime[Range[250]], 2, 1], #[[2]]-#[[1]]==4&][[All, 2]] (* Harvey P. Dale, Feb 02 2023 *)
CROSSREFS
Essentially the same as A046132.
Sequence in context: A316188 A096454 A099722 * A094524 A243817 A377174
KEYWORD
nonn
AUTHOR
EXTENSIONS
Corrected and extended by Henry Bottomley, Jul 18 2000
Definition clarified by Harvey P. Dale, Feb 02 2023
STATUS
approved