OFFSET
0,2
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..350
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
KEYWORD
sign
AUTHOR
Vladimir Joseph Stephan Orlovsky, Feb 24 2010
STATUS
approved