A246841 Sum of digits of all the anti-divisors of n.
0, 0, 2, 3, 5, 4, 10, 8, 8, 14, 12, 13, 19, 16, 9, 5, 19, 19, 9, 15, 13, 27, 25, 14, 21, 15, 24, 28, 15, 9, 24, 31, 21, 12, 16, 14, 23, 34, 25, 28, 23, 30, 29, 22, 32, 22, 24, 20, 27, 26, 15, 40, 34, 16, 20, 20, 29, 42, 45, 35, 12, 24, 40, 10, 21, 32, 60, 49
Offset: 1
Examples
Anti-divisors of 20 are 3, 8, 13 and the sum of their digits is 3 + 8 + 1 + 3 = 15.
Links
- Paolo P. Lava, Table of n, a(n) for n = 1..1000
Programs
-
Maple
# function antidivisors defined in A066272. transforms is https://oeis.org/transforms.txt read("transforms"); A246841 := proc(n) a :=0 ; for adiv in antidivisors(n) do a := a+digsum(adiv) ; end do: a ; end proc: seq(A246841(n),n=1..30) ; # R. J. Mathar, Sep 07 2014
Comments