A199190 Least integer having a larger digital sum than the previous term and such that 10^(n-1) + a(n) is a prime.
1, 3, 7, 9, 37, 49, 99, 379, 399, 787, 799, 1989, 1999, 3999, 6997, 17899, 18999, 38989, 67999, 79899, 79999, 389899, 499989, 798979, 897999, 989899, 2999997, 2899999, 4998999
Offset: 1
Crossrefs
Cf. A051885.
Programs
-
PARI
a(n)=A199124(n)-10^(n-1)
Comments