login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A048478
a(n) = T(6,n), array T given by A048472.
1
1, 8, 29, 85, 225, 561, 1345, 3137, 7169, 16129, 35841, 78849, 172033, 372737, 802817, 1720321, 3670017, 7798785, 16515073, 34865153, 73400321, 154140673, 322961409, 675282945, 1409286145, 2936012801, 6106906625, 12683575297, 26306674689, 54492397569
OFFSET
0,2
COMMENTS
n-th difference of a(n), a(n-1), ..., a(0) is (7, 14, 21, ...).
FORMULA
a(n) = 7*n * 2^(n-1) + 1.
a(n) = 5*a(n-1)-8*a(n-2)+4*a(n-3) for n>2. G.f.: (1+3*x-3*x^2) / ((1-x)*(1-2*x)^2). - Colin Barker, Feb 18 2016
PROG
(Magma) [7*n * 2^(n-1) + 1: n in [0..30]]; // Vincenzo Librandi, Sep 23 2011
(PARI) Vec((1+3*x-3*x^2)/((1-x)*(1-2*x)^2) + O(x^40)) \\ Colin Barker, Feb 18 2016
CROSSREFS
Sequence in context: A333510 A055536 A131438 * A001360 A294838 A116952
KEYWORD
nonn,easy
STATUS
approved