4, 4, 3, 3, 4, 3, 4, 3, 4, 4, 4, 7, 5, 9, 4, 5, 4, 8, 4, 7, 2, 7, 3, 7, 2, 3, 2, 8, 2, 5, 2, 5, 3, 9, 2, 3, 2, 6, 2, 7, 3, 6, 4, 8, 3, 4, 3, 7, 3, 8, 2, 7, 3, 7, 2, 3, 2, 8, 2, 5, 2, 5, 3, 9, 2, 3, 2, 6, 2, 7, 3, 6, 4, 8, 3, 4, 3, 9, 3, 6, 2, 7, 3, 7, 2, 3, 2, 8, 2, 5, 1, 6, 2, 8, 1, 2, 1, 5, 1, 6, 4, 10, 5, 9, 4
Offset: 0
a(0) = 4 because by replacing the digit 0, we obtain the 4 primes 2, 3, 5 and 7;
a(11) = 7 because by replacing the 1st digit of *1, we obtain the primes 31, 41, 61, 71, and by replacing the 2nd digit of 1* we obtain the primes 13, 17, 19, hence a(11) = 7.
a(13) = 8 because 03, 11, 17, 19, 23, 43, 53, 73 and 83 are all primes.
a(204) = 0 because it is impossible to find a prime number if we replace the digits 2, 0 or 4.
Comments