OFFSET
0,1
EXAMPLE
a(0) = 2 because 41 and 43 are the 2 primes generated for k <= 1 = 10^0.
a(1) = 11 because 41, 43, 47, 53, 61, 71, 83, 97, 113, 131, 151 are the 11 primes generated for k <= 10^1, (A202018(10) = 151).
PROG
(PARI) n=0; m=1; for(k=0, 10^7, my(j=k^2+k+41); if(isprime(j), n++); if(k==m, m*=10; print1(n, ", ")))
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Hugo Pfoertner, Jan 30 2020
STATUS
approved