login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A083890 Number of divisors of n with largest digit = 3 (base 10). 12
0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 0, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1, 1, 0, 0, 2, 1, 1, 2, 0, 0, 1, 0, 0, 2, 0, 0, 1, 0, 0, 1, 1, 0, 1, 0, 0, 1, 1, 0, 1, 0, 0, 1, 0, 0, 2, 0, 1, 1, 1, 1, 2, 0, 0, 2, 0, 0, 1, 0, 0, 1, 0, 0, 2, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 2, 1, 1, 2, 0, 0, 2, 0, 0, 2, 0, 0, 1, 1, 1, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,30
LINKS
FORMULA
a(n) = A000005(n) - A083888(n) - A083889(n) - A083891(n) - A083892(n) - A083893(n) - A083894(n) - A083895(n) - A083896(n) = A083898(n) - A083897(n).
Asymptotic mean: Limit_{m->oo} (1/m) * Sum_{k=1..m} a(k) = Sum_{k>=1} 1/A277965(k) = 0.84217457724798904648... . - Amiram Eldar, Jan 04 2024
EXAMPLE
n=132, 3 of the 12 divisors of 132 have largest digit =3: {3,33,132}, therefore a(132)=3.
MAPLE
f:= proc(n) nops(select(t -> max(convert(t, base, 10))=d, numtheory:-divisors(n))) end proc:
d:= 3:
map(f, [$1..200]); # Robert Israel, Oct 06 2019
MATHEMATICA
With[{k = 3}, Array[DivisorSum[#, 1 &, And[#[[k]] > 0, Total@ #[[k + 1 ;; 9]] == 0] &@ DigitCount[#] &] &, 105]] (* Michael De Vlieger, Oct 06 2019 *)
Table[Count[Divisors[n], _?(Max[IntegerDigits[#]]==3&)], {n, 120}] (* Harvey P. Dale, Sep 05 2020 *)
PROG
(Magma) [#[d:d in Divisors(n) | Max(Intseq(d)) eq 3]: n in [1..130]]; // Marius A. Burtea, Oct 06 2019
CROSSREFS
Sequence in context: A329334 A062979 A114781 * A000989 A132401 A104273
KEYWORD
nonn,base
AUTHOR
Reinhard Zumkeller, May 08 2003
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 26 06:23 EDT 2024. Contains 371990 sequences. (Running on oeis4.)