A291108 Expansion of Sum_{k>=2} k^2*x^(2*k)/(1 - x^k).
0, 0, 0, 4, 0, 13, 0, 20, 9, 29, 0, 65, 0, 53, 34, 84, 0, 130, 0, 145, 58, 125, 0, 273, 25, 173, 90, 265, 0, 399, 0, 340, 130, 293, 74, 614, 0, 365, 178, 609, 0, 735, 0, 625, 340, 533, 0, 1105, 49, 754, 298, 865, 0, 1183, 146, 1113, 370, 845, 0, 1859, 0, 965, 580, 1364, 194, 1743, 0, 1465, 538, 1599, 0, 2550, 0, 1373, 884
Offset: 1
Keywords
Examples
a(6) = 13 because 6 has 4 divisors {1, 2, 3, 6} among which 2 are nontrivial {2, 3} and 2^2 + 3^2 = 13.
Links
Crossrefs
Programs
-
Mathematica
nmax = 75; Rest[CoefficientList[Series[Sum[k^2 x^(2 k)/(1 - x^k), {k, 2, nmax}], {x, 0, nmax}], x]] Join[{0}, Table[DivisorSigma[2, n] - n^2 - 1, {n, 2, 75}]]
-
PARI
A291108(n) = sumdiv(n,d,if((1==d)||(n==d),0,d^2)); \\ Antti Karttunen, Jan 22 2025
Comments