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

A067058
Numbers n such that sigma(n+2) - sigma(n) = prime(n+2) - prime(n).
1
1, 2, 16, 136, 217, 341, 496, 1106, 3419, 5048, 11021, 12707, 24287, 67506, 154379, 156644, 235019, 261546, 508199, 512381, 549378, 569994, 655674, 694986, 697674, 698682, 853914, 913722, 915234, 994866, 1017546, 1107762, 1261482, 1379082, 1562034, 1663674
OFFSET
1,2
LINKS
PROG
(PARI) isok(n) = sigma(n+2)-sigma(n) == prime(n+2)-prime(n); \\ Michel Marcus, Nov 20 2013
CROSSREFS
Sequence in context: A362718 A264333 A001252 * A002302 A378461 A348803
KEYWORD
nonn
AUTHOR
Benoit Cloitre, Feb 17 2002
EXTENSIONS
a(14) from Michel Marcus, Nov 20 2013
a(15)-a(36) from Donovan Johnson, Nov 20 2013
STATUS
approved