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!)
A083892 Number of divisors of n with largest digit = 5 (base 10). 12
0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 2, 0, 0, 0, 0, 2, 0, 0, 0, 0, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 3, 0, 0, 0, 0, 3, 1, 1, 1, 1, 2, 0, 0, 0, 0, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 2, 0, 0, 0, 0, 3, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 3, 0, 0, 0, 0, 1, 0, 0, 0, 0, 3, 0, 1, 0, 1, 4 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,15
LINKS
FORMULA
a(n) = A000005(n) - A083888(n) - A083889(n) - A083890(n) - A083891(n) - A083893(n) - A083894(n) - A083895(n) - A083896(n) = A083900(n) - A083899(n).
Asymptotic mean: Limit_{m->oo} (1/m) * Sum_{k=1..m} a(k) = Sum_{k>=1} 1/A283608(k) = 1.32926350368137107677... . - Amiram Eldar, Jan 04 2024
EXAMPLE
n=125, 3 of the 4 divisors of 125 have largest digit =5: {5,25,125}, therefore a(125)=3.
MAPLE
f:= proc(n) nops(select(t -> max(convert(t, base, 10))=d, numtheory:-divisors(n))) end proc:
d:= 5:
map(f, [$1..200]); # Robert Israel, Oct 06 2019
MATHEMATICA
Table[Count[Divisors[n], _?(Max[IntegerDigits[#]]==5&)], {n, 110}] (* Harvey P. Dale, Aug 08 2015 *)
PROG
[#[d:d in Divisors(n) | Max(Intseq(d)) eq 5]: n in [1..150]]; // Marius A. Burtea, Oct 06 2019
CROSSREFS
Sequence in context: A318950 A319000 A083915 * A354451 A089814 A063100
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 18 08:14 EDT 2024. Contains 371769 sequences. (Running on oeis4.)