OFFSET
1,90
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
FORMULA
EXAMPLE
n = 117, 2 of the 6 divisors of 117 have largest digit = 9: {9,39}, therefore a(117) = 2.
MAPLE
f:= proc(n) nops(select(t -> max(convert(t, base, 10))=d, numtheory:-divisors(n))) end proc:
d:= 9:
map(f, [$1..200]); # Robert Israel, Oct 06 2019
MATHEMATICA
Table[Count[Divisors[n], _?(Max[IntegerDigits[#]]==9&)], {n, 110}] (* Harvey P. Dale, Mar 15 2018 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Reinhard Zumkeller, May 08 2003
STATUS
approved
