login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

Expansion of (1+2*x+3*x^2)/(1-x-x^2-x^3-x^4).
0

%I #8 Jul 30 2015 22:59:45

%S 1,3,7,11,22,43,83,159,307,592,1141,2199,4239,8171,15750,30359,58519,

%T 112799,217427,419104,807849,1557179,3001559,5785691,11152278,

%U 21496707,41436235,79870911,153956131

%N Expansion of (1+2*x+3*x^2)/(1-x-x^2-x^3-x^4).

%H <a href="/index/Rec#order_04">Index entries for linear recurrences with constant coefficients</a>, signature (1, 1, 1, 1).

%F 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]

%t 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 *)

%K nonn

%O 0,2

%A _N. J. A. Sloane_.