|
| |
|
|
A072684
|
|
Expansion of (2+x+3*x^2+2*x^3+x^4)/(1-x-5*x^2+x^3+3*x^4-x^5).
|
|
0
| |
|
|
2, 3, 16, 31, 103, 235, 674, 1669, 4526, 11595, 30769, 79885, 210226, 548623, 1439156, 3763159, 9859523, 25800519, 67566130, 176858881, 463073602, 1212259843, 3173871101, 8309086201, 21753819938, 56951673915, 149102333944
(list; graph; refs; listen; history; internal format)
|
|
|
|
OFFSET
| 0,1
|
|
|
REFERENCES
| S. Ramanujan, Note on a set of Simultaneous Equations, J. Indian Math. Soc., 4(1912), 94-96.
|
|
|
FORMULA
| G.f.: (2+x+3*x^2+2*x^3+x^4)/(1-x-5*x^2+x^3+3*x^4-x^5).
a(n)=2*a(n-1)+3*a(n-2)-4*a(n-3)+a(n-4)+3*(-1)^n.
|
|
|
PROG
| (PARI) a(n)=if(n<0, 0, polcoeff((2+x+3*x^2+2*x^3+x^4)/(1-x-5*x^2+x^3+3*x^4-x^5)+x*O(x^n), n))
|
|
|
CROSSREFS
| Sequence in context: A085734 A034382 A034383 * A073633 A012357 A012701
Adjacent sequences: A072681 A072682 A072683 * A072685 A072686 A072687
|
|
|
KEYWORD
| nonn,easy
|
|
|
AUTHOR
| Michael Somos, Jul 01, 2002
|
| |
|
|