OFFSET
1,1
FORMULA
In the sequence, a(5)=501204240024885 and a(14)=1412040060249008 because we respectively have 1|5, 2|50, 3|501, 4|5012, ..., 15|501204240024885 and 1|1, 2|14, 3|141, ..., 16|1412040060249008 when the process halts.
EXAMPLE
To get a(1): appending 0 to 1 gives 10 which is a multiple of 2.
Appending a 2 to 10 gives 102 which is a multiple of 3.
Appending a 0 to 102 gives 1020 which is a multiple of 4.
Appending a 0 to 1020 gives 10200 which is a multiple of 5.
...
Appending a 5 to 1020005640 gives 10200056405 which is a multiple of 11.
But now there is no digit x which makes 10200056405x a multiple of 12, so we stop, with a(1) = 10200056405. - N. J. A. Sloane, Nov 05 2016
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Lekraj Beedassy, Sep 28 2004
EXTENSIONS
a(1), a(3) and a(11) corrected and a(15)-a(20) added from Seiichi Manyama, Oct 04 2016
STATUS
approved