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”).

A115109
Expansion of (1 -2*x +4*x^2 -22*x^3 +6*x^4 +268*x^5 -854*x^6 +3596*x^7 -3100*x^8)/((1 -2*x)/(1 -2*x -4*x^2)).
1
1, 2, 12, 18, 62, 420, 682, 5828, 16852, 61952, 201184, 669920, 2184064, 7126784, 23147776, 75118592, 243460096, 788658176, 2553683968, 8267055104, 26758955008, 86606348288, 280288952320, 907084169216, 2935485890560
OFFSET
0,2
FORMULA
G.f.: -(3100*x^8 -3596*x^7 +854*x^6 -268*x^5 -6*x^4 +22*x^3 -4*x^2 +2*x -1) / ((2*x -1)*(4*x^2 +2*x -1)). - Colin Barker, Mar 15 2013
a(n) = +4*a(n-1) -8*a(n-3). - Colin Barker, Mar 15 2013
MATHEMATICA
Join[{1, 2, 12, 18, 62, 420}, {LinearRecurrence[{4, 0, -8}, {682, 5828, 16852}, 20]}] (* Bruno Berselli, Mar 15 2013 *)
PROG
(Magma) I:=[1, 2, 12, 18, 62, 420, 682, 5828, 16852]; [n le 9 select I[n] else 4*Self(n-1) - 8*Self(n-3): n in [1..30]]; // Vincenzo Librandi, Mar 18 2013
CROSSREFS
Sequence in context: A190044 A066238 A101074 * A048001 A109299 A216629
KEYWORD
nonn,easy
AUTHOR
Roger L. Bagula, Mar 03 2006
EXTENSIONS
Definition rewritten using Colin Barker's g.f. by Bruno Berselli, Mar 15 2013
STATUS
approved