OFFSET
1,1
COMMENTS
Essentially the same as A137873. - R. J. Mathar, Dec 06 2009
LINKS
Alois P. Heinz, Table of n, a(n) for n = 1..10000
EXAMPLE
a(1)=2 (-10,-8,-6,-4,-2,0,4,6,8,10,12 are nonprimes);
a(2)=1847 (1835,1837,1839,1841,1843,1845,1849,1851,1853,1855,1857,1859 are nonprimes).
MAPLE
q:= p-> not ormap(isprime, [seq([p+i, p-i][], i=2..12, 2)]):
select(q, [ithprime(i)$i=1..2000])[]; # Alois P. Heinz, Jan 03 2022
CROSSREFS
KEYWORD
nonn
AUTHOR
Juri-Stepan Gerasimov, Nov 13 2009, Mar 26 2010
EXTENSIONS
More terms from Dmitry Kamenetsky, Nov 30 2009
Missing term 13553 inserted by Alois P. Heinz, Jan 03 2022
STATUS
approved