login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A083893
Number of divisors of n with largest digit = 6 (base 10).
12
0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2, 0, 0, 0, 1, 0, 1, 0, 1, 0, 0, 0, 2, 1, 1, 1, 2, 1, 2, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 2, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 2, 0, 0, 0, 0, 0, 1, 0, 1, 0
OFFSET
1,36
LINKS
FORMULA
a(n) = A000005(n) - A083888(n) - A083889(n) - A083890(n) - A083891(n) - A083892(n) - A083894(n) - A083895(n) - A083896(n) = A083901(n) - A083900(n).
Asymptotic mean: Limit_{m->oo} (1/m) * Sum_{k=1..m} a(k) = Sum_{k>=1} 1/A283609(k) = 2.06890539387954414920... . - Amiram Eldar, Jan 04 2024
EXAMPLE
n=240, 3 of the 20 divisors of 240 have largest digit =6: {6,16,60}, therefore a(240)=3.
MAPLE
f:= proc(n) nops(select(t -> max(convert(t, base, 10))=d, numtheory:-divisors(n))) end proc:
d:= 6:
map(f, [$1..200]); # Robert Israel, Oct 06 2019
MATHEMATICA
With[{k = 6}, Array[DivisorSum[#, 1 &, And[#[[k]] > 0, Total@ #[[k + 1 ;; 9]] == 0] &@ DigitCount[#] &] &, 105]] (* Michael De Vlieger, Oct 06 2019 *)
PROG
(Magma) [#[d:d in Divisors(n) | Max(Intseq(d)) eq 6]: n in [1..150]]; // Marius A. Burtea, Oct 06 2019
KEYWORD
nonn,base
AUTHOR
Reinhard Zumkeller, May 08 2003
STATUS
approved