OFFSET
1,2
COMMENTS
Sequence A234695 lists primes in this sequence.
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
MAPLE
select(k -> isprime(ithprime(k)-k+1), [$1..1000]); # Robert Israel, Feb 19 2021
PROG
(PARI) for(k=1, 999, isprime(prime(k)-k+1)&&print1(k", "))
(PARI) is_A234851(n)=isprime(prime(k)-k+1)
CROSSREFS
KEYWORD
nonn
AUTHOR
M. F. Hasler, Dec 31 2013
STATUS
approved