|
|
A083896
|
|
Number of divisors of n with largest digit = 9 (base 10).
|
|
11
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 1, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 1, 1, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 1, 0, 1, 1, 0, 1, 0, 0, 0, 0, 0, 1, 0, 1, 2, 1, 1, 1, 1, 2, 1, 1, 2, 2, 0, 0, 0, 0, 0, 0
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,90
|
|
COMMENTS
|
|
|
LINKS
|
|
|
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:
|
|
MATHEMATICA
|
Table[Count[Divisors[n], _?(Max[IntegerDigits[#]]==9&)], {n, 110}] (* Harvey P. Dale, Mar 15 2018 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|