login
A173797
Partial sums of A046065.
1
-1, -3, -3, 115, 2915, 64233, 1481705, 37052343, 1010794167, 30033906085, 968116541861, 33698668291755, 1260923220465323, 50500621166196705, 2156396364937639905, 97820098649121183487, 4698747050422172145407
OFFSET
0,2
LINKS
FORMULA
a(n) = Sum_{j=0..n} A046065(j). - G. C. Greubel, Jul 14 2021
MATHEMATICA
f[n_]:=(n^(n+2)-(n+2)^n); s=0; Table[s+=f[n], {n, 0, 40}]
PROG
(Magma) [(&+[j^(j+2) - (j+2)^j: j in [0..n]]): n in [0..40]]; // G. C. Greubel, Jul 14 2021
(Sage) [sum(j^(j+2) - (j+2)^j for j in (0..n)) for n in (0..40)] # G. C. Greubel, Jul 14 2021
CROSSREFS
Cf. A046065.
Sequence in context: A206485 A009491 A176614 * A173127 A230646 A006845
KEYWORD
sign
AUTHOR
STATUS
approved