OFFSET
1,1
EXAMPLE
a(1)=97 because it is the first prime, prime(k), such that prime(k)-prime(k-1)+1 is not prime: 97-89+1=15, and 15 is not prime.
PROG
(PARI) isok(p) = isprime(p) && !isprime(p-precprime(p-1)+1); \\ Michel Marcus, May 12 2024
CROSSREFS
KEYWORD
nonn
AUTHOR
Leonardo Sznajder, Jun 08 2009
EXTENSIONS
More terms from Michel Marcus, May 12 2024
STATUS
approved