login
A048499
a(n) = 2^(n-1)*(6*n-10)+6.
1
1, 2, 10, 38, 118, 326, 838, 2054, 4870, 11270, 25606, 57350, 126982, 278534, 606214, 1310726, 2818054, 6029318, 12845062, 27262982, 57671686, 121634822, 255852550, 536870918, 1124073478, 2348810246, 4898947078, 10200547334, 21206401030, 44023414790
OFFSET
0,2
FORMULA
a(n) = T(5, n), array T given by A048494.
a(0)=1, a(1)=2, a(2)=10, a(n) = 5*a(n-1)-8*a(n-2)+4*a(n-3). - Harvey P. Dale and Vincenzo Librandi, Sep 23 2011
G.f.: (1-3*x+8*x^2) / ((1-x)*(1-2*x)^2). - Colin Barker, Aug 24 2016
PROG
(Magma) [2^(n-1)*(6*n-10)+6: n in [0..30]]; // Vincenzo Librandi, Sep 23 2011
(PARI) Vec((1-3*x+8*x^2)/((1-x)*(1-2*x)^2) + O(x^40)) \\ Colin Barker, Aug 24 2016
CROSSREFS
Cf. A048494.
Sequence in context: A212881 A177173 A046241 * A119358 A110148 A281199
KEYWORD
nonn,easy
EXTENSIONS
Formula from Ralf Stephan, Jan 15 2004
STATUS
approved