login
A132185
a(n) is the largest number beginning with 1 such that, for any m, the number formed from the first m digits of a(n) is congruent to n mod m.
2
144408645048225636603816, 1725676121534561296189, 188276429246387492222, 19838179232721317143537, 12764828245698443284086, 176903816597810123057, 18626438463030625206604, 19352559475935751347112, 16128296082816884008108
OFFSET
0,1
COMMENTS
Obviously, each such number has at least ten digits; thence one can extend with diminishing probability. But a(211131)=1715193991236363935195556991413939 has 34 digits!
EXAMPLE
a(3) = 19838179232721317143537 because 19 == 3 mod 2, 198 == 3 mod 3, 1983 == 3 mod 4,..., 19838179232721317143537 == 3 mod 23; but no additional digit makes a 3 mod 24 number.
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
Philippe LALLOUET (philip.lallouet(AT)orange.fr), Nov 04 2007
EXTENSIONS
Edited by Don Reble, Nov 07 2007
STATUS
approved