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

A298103
The first of five consecutive prime numbers the sum of which is equal to the sum of five consecutive integers.
2
71, 271, 281, 313, 337, 347, 389, 431, 499, 631, 661, 673, 769, 787, 827, 877, 937, 947, 1153, 1163, 1181, 1229, 1307, 1319, 1373, 1427, 1451, 1489, 1531, 1621, 1667, 1699, 1721, 1759, 1789, 1901, 1933, 1979, 2017, 2039, 2131, 2137, 2339, 2381, 2383, 2417
OFFSET
1,1
LINKS
EXAMPLE
71 is in the sequence because 71+73+79+83+89 = 395 = 77+78+79+80+81.
PROG
(PARI) L=List(); forprime(p=2, 2500, q=nextprime(p+1); r=nextprime(q+1); s=nextprime(r+1); t=nextprime(s+1); u=p+q+r+s+t; if((u-10)%5==0, listput(L, p))); Vec(L)
CROSSREFS
KEYWORD
nonn
AUTHOR
Colin Barker, Jan 12 2018
STATUS
approved