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

A028831
Expansion of (1+2*x+3*x^2)/(1-x-x^2-x^3-x^4).
0
1, 3, 7, 11, 22, 43, 83, 159, 307, 592, 1141, 2199, 4239, 8171, 15750, 30359, 58519, 112799, 217427, 419104, 807849, 1557179, 3001559, 5785691, 11152278, 21496707, 41436235, 79870911, 153956131
OFFSET
0,2
FORMULA
a(0)=1, a(1)=3, a(2)=7, a(3)=11, a(n)=a(n-1)+a(n-2)+a(n-3)+a(n-4) [From Harvey P. Dale, Apr 18 2012]
MATHEMATICA
CoefficientList[Series[(1+2x+3x^2)/(1-x-x^2-x^3-x^4), {x, 0, 30}], x] (* or *) LinearRecurrence[{1, 1, 1, 1}, {1, 3, 7, 11}, 30] (* Harvey P. Dale, Apr 18 2012 *)
CROSSREFS
Sequence in context: A018345 A082675 A201645 * A244572 A137516 A247380
KEYWORD
nonn
AUTHOR
STATUS
approved