OFFSET
1,3
FORMULA
EXAMPLE
For n = 3, the 3-digit prime numbers that have the digit 0 are 101, 103, 107, 109, 307, 401, 409, 503, 509, 601, 607, 701, 709, 809 and 907. Therefore, a(3) = 15.
PROG
(PARI) a(n) = my(s=0); forprime(p=10^(n-1), 10^n-1, if (vecmin(digits(p)) == 0, s++)); s; \\ Michel Marcus, May 31 2024
CROSSREFS
KEYWORD
nonn,base,more
AUTHOR
Gonzalo Martínez, May 30 2024
EXTENSIONS
More terms (using A091644) from Michael S. Branicky, May 30 2024
STATUS
approved