OFFSET
1,1
COMMENTS
dip(m) is the number that is obtained from m by changing each zero digit of m to 1 and each nonzero digit i of m to the i-th prime.
For example dip(103)=2.1.5=215 and dip(19)=2.23=223.
Since each positive integer starts with a nonzero digit, dip is well defined.
EXAMPLE
a(4)=834007 because the four numbers:
1. dip(834007)=19.5.7.1.1.17=19571117,
2. dip(dip(834007)),
3. dip(dip(dip(834007))),
4. dip(dip(dip(dip(834007))))
are all primes and 834007 is the smallest prime with this property.
CROSSREFS
KEYWORD
nonn,base,more,hard
AUTHOR
Jahangeer Kholdi and Farideh Firoozbakht, Jul 07 2014
STATUS
approved