login
A048510
a(n) = T(5,n), array T given by A048505.
3
1, 37, 122, 320, 776, 1816, 4168, 9448, 21224, 47336, 104936, 231400, 507880, 1109992, 2416616, 5242856, 11337704, 24444904, 52559848, 112721896, 241172456, 514850792, 1096810472, 2332033000, 4949278696, 10485759976, 22179479528, 46841987048, 98784247784
OFFSET
0,2
COMMENTS
n-th difference of a(n), a(n-1), ..., a(0) is (36, 49, 64, 81, ...).
FORMULA
a(n) = (n^2+21*n+100) * 2^(n-2) - 24. - Ralf Stephan, Feb 05 2004
a(n) = 7*a(n-1)-18*a(n-2)+20*a(n-3)-8*a(n-4). - Colin Barker, Mar 04 2015
G.f.: (112*x^3-119*x^2+30*x+1) / ((x-1)*(2*x-1)^3). - Colin Barker, Mar 04 2015
MATHEMATICA
LinearRecurrence[{7, -18, 20, -8}, {1, 37, 122, 320}, 30] (* Harvey P. Dale, Sep 24 2016 *)
PROG
(Magma) [(n^2+21*n+100) * 2^(n-2) - 24: n in [0..30]]; // Vincenzo Librandi, Sep 26 2011
(PARI) Vec((112*x^3-119*x^2+30*x+1)/((x-1)*(2*x-1)^3) + O(x^100)) \\ Colin Barker, Mar 04 2015
CROSSREFS
Sequence in context: A193105 A044288 A044669 * A250891 A250898 A165811
KEYWORD
nonn,easy
STATUS
approved