OFFSET
1,1
COMMENTS
G = prime(n-1)# - prime(n) where G is a prime is a special case of A090188 where (k=1).
EXAMPLE
7 is a term because 23 = 2*3*5 - 7 is prime.
PROG
(PARI) primo(p) = my(ip=primepi(p)); factorback(primes(ip)); \\ A002110
isok(p) = isprime(p) && isprime(primo(precprime(p-1)) - p);
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Mohamed Sami Gattoufi, Aug 11 2019
STATUS
approved