OFFSET
1,11
COMMENTS
EXAMPLE
a(13) = 6 because the last digit of 13 must be appended to it six times before a new number which divides 13 is formed. (I.e., 133 mod 13 = 3, 1333 mod 13 = 7, 13333 mod 13 = 8, 133333 mod 13 = 5, 1333333 mod 13 = 6, 13333333 mod 13 = 0.) a(12)=0 because no matter how many 2's are appended to 12, the resulting number is not divisible by 12.
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Chuck Seggelin (seqfan(AT)plastereddragon.com), May 08 2005
STATUS
approved