OFFSET
1,3
COMMENTS
Concatenation always end at n-1 and cannot start further than n-n (zero). Hence the maximum value of a(n) is n.
EXAMPLE
a(7) = 2 because 7 will divide the number formed by concatenating the 2 integers prior to 7 in ascending order (i.e. 56). a(6) = 0 because 6 will not divide 5, 45, 345, 2345, 12345, or 012345.
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Chuck Seggelin (barkeep(AT)plastereddragon.com), Oct 29 2003
STATUS
approved