[go: up one dir, main page]

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!)
A367466 Sum of the final digits of the divisors of n. 2
1, 3, 4, 7, 6, 12, 8, 15, 13, 8, 2, 18, 4, 14, 14, 21, 8, 29, 10, 12, 12, 6, 4, 30, 11, 12, 20, 26, 10, 22, 2, 23, 8, 14, 18, 41, 8, 20, 16, 20, 2, 26, 4, 14, 28, 12, 8, 44, 17, 13, 12, 18, 4, 40, 12, 40, 20, 20, 10, 28, 2, 6, 24, 27, 14, 24, 8, 26, 16, 24, 2, 55, 4 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
First differs from A093811 at a(21) = 12.
Inverse Möbius transform of (n mod 10) (A010879). - Wesley Ivan Hurt, Jun 23 2024
LINKS
FORMULA
a(n) = Sum_{d|n} (d mod 10).
EXAMPLE
a(21) = 12; The divisors of 21 are {1, 3, 7, 21} and the sum of the final digits of the divisors is 1 + 3 + 7 + 1 = 12.
MAPLE
f:= proc(n) add(t mod 10, t = numtheory:-divisors(n)) end proc:
map(f, [$1..100]); # Robert Israel, Nov 19 2023
MATHEMATICA
Table[DivisorSum[n, Mod[#, 10] &], {n, 100}]
PROG
(PARI) a(n) = sumdiv(n, d, d%10); \\ Michel Marcus, Nov 19 2023
CROSSREFS
Sequence in context: A355633 A107749 A353783 * A093811 A088000 A284344
KEYWORD
nonn,base,easy
AUTHOR
Wesley Ivan Hurt, Nov 18 2023
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 August 29 15:03 EDT 2024. Contains 375517 sequences. (Running on oeis4.)