A254366 a(n) = 4^n + 10*2^n + 4*3^n + 20.
35, 56, 112, 272, 760, 2336, 7672, 26432, 94360, 346016, 1295032, 4923392, 18943960, 73568096, 287731192, 1131465152, 4467809560, 17697740576, 70271780152, 279532195712, 1113469251160, 4439908895456, 17717752225912, 70745400779072, 282604862628760
Offset: 0
Links
- Colin Barker, Table of n, a(n) for n = 0..1000
- Luciano Ancora, Demonstration of formulas, page 2.
- Luciano Ancora, Recurrence relations for partial sums of m-th powers
- Index entries for linear recurrences with constant coefficients, signature (10,-35,50,-24).
Programs
-
Mathematica
Table[4^n + 10*2^n + 4*3^n + 20, {n, 0, 28}] (* Michael De Vlieger, Jan 30 2015 *)
-
PARI
vector(30, n, n--; 4^n + 10*2^n + 4*3^n + 20) \\ Colin Barker, Jan 30 2015
Formula
G.f.: -(638*x^3-777*x^2+294*x-35) / ((x-1)*(2*x-1)*(3*x-1)*(4*x-1)). - Colin Barker, Jan 30 2015
a(n) = 10*a(n-1)-35*a(n-2)+50*a(n-3)-24*a(n-4). - Colin Barker, Jan 30 2015
Comments