OFFSET
1,1
COMMENTS
Primes not of the form k + primepi(k). [corrected by Michel Marcus, Oct 27 2021]
LINKS
Bill McEachen, Table of n, a(n) for n = 1..10000
MATHEMATICA
Complement[Prime@ Range@ PrimePi[#], Array[PrimePi[#] + # &, #]] &[2700] (* Michael De Vlieger, Oct 27 2021 *)
PROG
(PARI) genit(maxx=50)={arr=List(); for(n=0, maxx, q=n+prime(n+1); if(ispseudoprime(q), listput(arr, q))); arr} \\ Bill McEachen, Oct 27 2021
CROSSREFS
KEYWORD
nonn
AUTHOR
Carmine Suriano, Mar 29 2011
STATUS
approved