OFFSET
1,1
COMMENTS
It is observed that a(10*m) = 0 and a(100*m + 5) = 0 for all positive integers m.
If m is a repdigit number (A010785) that does not have the digit 9, then a(m) = 2 and if m = 99...9, with t 9's, then a(m) = 11...2, i.e., (t - 1) 1's followed by 2, since 99...9 * 11...2 equals (t - 1) 1's followed by (t - 1) 8's, where k = 11...2 is the smallest number with this property. In other words, a(A002283(m)) = A047855(m), for all positive integers m.
FORMULA
a(n) = A074157(n)/n.
EXAMPLE
a(12) = 3, since 12*1 = 12, 12*2 = 24 have digits in common with 12, while 12*3 = 36 does not.
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Gonzalo MartÃnez, Dec 09 2024
STATUS
approved