OFFSET
1,1
EXAMPLE
Altering a(1)=97 gives 4 primes: 17, 37, 47 and 67.
MATHEMATICA
A048853[n_] := Module[{idn = IntegerDigits[n], id, np = 0}, Do[id = idn; If[id[[j]] != k, id[[j]] = k; If[id[[1]] != 0 && PrimeQ[FromDigits[id]], np = np + 1]], {j, 1, Length[idn]}, {k, 0, 9}]; np]; Select[Table[{p, A048853[p]}, {p, Prime[Range[3000]]}], #[[2]] == 4&][[All, 1]] (* Jean-François Alcover, May 09 2017 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Patrick De Geest, Jul 15 1999
STATUS
approved