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!)
A269342 a(n) = (n + 1)*(2*n + 1)*(4*n + 9)/3. 0

%I #15 Sep 08 2022 08:46:15

%S 3,26,85,196,375,638,1001,1480,2091,2850,3773,4876,6175,7686,9425,

%T 11408,13651,16170,18981,22100,25543,29326,33465,37976,42875,48178,

%U 53901,60060,66671,73750,81313,89376,97955,107066,116725,126948,137751,149150,161161

%N a(n) = (n + 1)*(2*n + 1)*(4*n + 9)/3.

%H <a href="/index/Rec#order_04">Index entries for linear recurrences with constant coefficients</a>, signature (4,-6,4,-1).

%F G.f.: (3 + 14*x - x^2)/(1 - x)^4.

%F a(n) = 4*a(n-1) - 6*a(n-2) + 4*a(n-3) - a(n-4).

%F a(n) = Sum_{k=0..n} (8*k^2 + 12*k + 3).

%F Sum_{n>=0} 1/a(n) = 3*(80*log(2) + 5*Pi - 48)/175 = 0.397024075075621559...

%e a(0) = 0*2 + 1*3 = 3;

%e a(1) = 0*2 + 1*3 + 2*4 + 3*5 = 26;

%e a(2) = 0*2 + 1*3 + 2*4 + 3*5 + 4*6 + 5*7 = 85;

%e a(3) = 0*2 + 1*3 + 2*4 + 3*5 + 4*6 + 5*7 + 6*8 + 7*9 = 196;

%e a(4) = 0*2 + 1*3 + 2*4 + 3*5 + 4*6 + 5*7 + 6*8 + 7*9 + 8*10 + 9*11 = 375, etc.

%t Table[(n + 1) (2 n + 1) (4 n + 9)/3, {n, 0, 38}]

%t LinearRecurrence[{4, -6, 4, -1}, {3, 26, 85, 196}, 39]

%t Table[Sum[8 k^2 + 12 k + 3, {k, 0, n}], {n, 0, 38}]

%o (PARI) Vec((3 + 14*x - x^2)/(1 - x)^4 + O(x^50)) \\ _Michel Marcus_, Feb 25 2016

%o (Magma) [(n+1)*(2*n+1)*(4*n+9)/3: n in [0..50]]; // _Vincenzo Librandi_, Feb 25 2016

%Y Cf. A000466, A005563, A033996, A195241.

%K nonn,easy

%O 0,1

%A _Ilya Gutkovskiy_, Feb 24 2016

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 29 08:13 EDT 2024. Contains 371265 sequences. (Running on oeis4.)