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

A153382
a(n) = a(n-1) + 2*a(n-2) - a(n-3) - a(n-4), a(0)=0, a(1)=8, a(2)=10, a(3)=18.
4
0, 8, 10, 18, 30, 48, 80, 128, 210, 338, 550, 888, 1440, 2328, 3770, 6098, 9870, 15968, 25840, 41808, 67650, 109458, 177110, 286568, 463680, 750248, 1213930, 1964178, 3178110, 5142288, 8320400, 13462688, 21783090, 35245778, 57028870, 92274648
OFFSET
0,2
FORMULA
From R. J. Mathar, Jan 03 2009: (Start)
G.f.: 2x(4+x-4x^2)/((1-x)(1+x)(1-x-x^2)).
a(n) = -2*A000035(n)+10*A000045(n). (End)
MATHEMATICA
LinearRecurrence[{1, 2, -1, -1}, {0, 8, 10, 18}, 50] (* Paolo Xausa, Jan 19 2024 *)
CROSSREFS
Sequence in context: A015732 A179474 A373727 * A157911 A090097 A236653
KEYWORD
nonn,easy
AUTHOR
Paul Curtz, Dec 25 2008
EXTENSIONS
Extended by R. J. Mathar, Jan 03 2009
STATUS
approved