OFFSET
1,2
LINKS
Charles R Greathouse IV, Table of n, a(n) for n = 1..10000
EXAMPLE
a(1)=1 because prime(1)-5/2-7/2=2-5/2-7/2=-4(nonprime) and prime(1)-5/2+7/2=2-5/2+7/2=3(prime).
PROG
(PARI) is(n, p=prime(n))=isprime(p-6) || isprime(p+1) \\ Charles R Greathouse IV, Jun 13 2017
CROSSREFS
KEYWORD
nonn
AUTHOR
Juri-Stepan Gerasimov, Jan 25 2010
EXTENSIONS
Corrected (57 inserted) by R. J. Mathar, May 02 2010
STATUS
approved