login
Partial sums of A051489.
1

%I #7 Sep 08 2022 08:45:50

%S 1,5,37,405,5797,100729,2042489,47179065,1220920889,34959928189,

%T 1096877292413,37411749830381,1378024126754541,54510112209204673,

%U 2304521044056503745,103693069431259678913,4947499083397499144385

%N Partial sums of A051489.

%H G. C. Greubel, <a href="/A173796/b173796.txt">Table of n, a(n) for n = 0..380</a>

%F a(n) = Sum_{j=0..n} A051489(j). - _G. C. Greubel_, Jul 14 2021

%t f[n_]:=(n^(n+2)+(n+2)^n); s=0; Table[s+=f[n],{n,0,40}]

%o (Magma) [(&+[j^(j+2) + (j+2)^j: j in [0..n]]): n in [0..40]]; // _G. C. Greubel_, Jul 14 2021

%o (Sage) [sum(j^(j+2) + (j+2)^j for j in (0..n)) for n in (0..40)] # _G. C. Greubel_, Jul 14 2021

%Y Cf. A051489.

%K nonn

%O 0,2

%A _Vladimir Joseph Stephan Orlovsky_, Feb 24 2010