login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A104872 Diagonal sums of A004248. 8

%I #23 Apr 14 2022 02:27:17

%S 1,0,1,1,2,3,6,12,27,64,163,441,1268,3855,12344,41464,145653,533736,

%T 2036149,8071785,33192790,141351715,622384730,2829417276,13263528351,

%U 64038928728,318121600695,1624347614737,8517247764136,45822087138879

%N Diagonal sums of A004248.

%H Seiichi Manyama, <a href="/A104872/b104872.txt">Table of n, a(n) for n = 0..681</a>

%F a(n) = Sum_{k=0..floor(n/2)} k^(n-2*k).

%F G.f.: Sum_{k>=0} x^(2*k) / (1 - k * x). - _Seiichi Manyama_, Apr 09 2022

%F a(n) ~ sqrt(Pi) * (n/(2*LambertW(exp(1)*n/2)))^(n + 1/2 - n/LambertW(exp(1)*n/2)) / sqrt(1 + LambertW(exp(1)*n/2)). - _Vaclav Kotesovec_, Apr 14 2022

%o (PARI) a(n) = sum(k=0, n\2, k^(n-2*k)); \\ _Seiichi Manyama_, Apr 09 2022

%o (PARI) my(N=40, x='x+O('x^N)); Vec(sum(k=0, N, x^(2*k)/(1-k*x))) \\ _Seiichi Manyama_, Apr 09 2022

%Y Cf. A004248, A026898, A352944.

%K easy,nonn

%O 0,5

%A _Paul Barry_, Mar 28 2005

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified March 28 12:26 EDT 2024. Contains 371254 sequences. (Running on oeis4.)