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!)
A168338 Sum of the largest digit of the divisors of n. 0
1, 3, 4, 7, 6, 12, 8, 15, 13, 9, 2, 18, 4, 14, 14, 21, 8, 29, 10, 15, 13, 6, 4, 30, 11, 12, 20, 26, 10, 26, 4, 24, 8, 14, 18, 41, 8, 20, 16, 27, 5, 29, 5, 14, 28, 12, 8, 44, 17, 19, 16, 21, 6, 41, 12, 40, 20, 20, 10, 40, 7, 12, 28, 30, 15, 24, 8, 26, 16, 32, 8, 60, 8, 17, 26, 31, 16, 38 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
REFERENCES
J. Earls, "Black Hole 14," Mathematical Bliss, Pleroma Publications, 2009, pages 18-22. ASIN: B002ACVZ6O
LINKS
EXAMPLE
a(16)=21 because the divisors of 16 are [1, 2, 4, 8, 16] and 1+2+4+8+6 = 21.
MATHEMATICA
A168338[n_] := Total[Map[Max[IntegerDigits[#]] &, Divisors[n]]];
Array[A168338, 100] (* Paolo Xausa, May 03 2024 *)
PROG
(PARI) a(n)=sumdiv(n, d, vecmax(eval(Vec(Str(d))))) \\ Charles R Greathouse IV, May 22 2012
CROSSREFS
Cf. A027750.
Sequence in context: A093811 A088000 A284344 * A034690 A069192 A076887
KEYWORD
base,easy,nonn,changed
AUTHOR
Jason Earls, Nov 23 2009
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 May 7 13:25 EDT 2024. Contains 372303 sequences. (Running on oeis4.)