OFFSET
1,4
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
Eric Weisstein's World of Mathematics, Proper divisors.
FORMULA
a(n) = 1 if n is prime.
a(p^k) = (p^(5*k) - 1)/(p^5 - 1) for p is prime.
Dirichlet g.f.: zeta(s-5)*(zeta(s) - 1).
G.f.: -x*(1 + 26*x + 66*x^2 + 26*x^3 + x^4)/(1 - x)^6 + Sum_{k>=1} k^5 x^k/(1 - x^k). - Ilya Gutkovskiy, Mar 18 2017
EXAMPLE
a(10) = 1^5 + 2^5 + 5^5 = 3158, because 10 has 3 proper divisors {1,2,5}.
a(11) = 1^5 = 1, because 11 has 1 proper divisor {1}.
MATHEMATICA
Table[DivisorSigma[5, n] - n^5, {n, 50}]
PROG
(PARI) for(n=1, 50, print1(sigma(n, 5) - n^5, ", ")) \\ Indranil Ghosh, Mar 18 2017
(Python)
from sympy.ntheory import divisor_sigma
print([divisor_sigma(n, 5) - n**5 for n in range(1, 51)]) # Indranil Ghosh, Mar 18 2017
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Ilya Gutkovskiy, Dec 10 2016
STATUS
approved