login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A145131 Expansion of x/((1 - x - x^4)*(1 - x)^2). 4
0, 1, 3, 6, 10, 16, 25, 38, 56, 81, 116, 165, 233, 327, 457, 637, 886, 1230, 1705, 2361, 3267, 4518, 6245, 8629, 11920, 16463, 22734, 31390, 43338, 59830, 82594, 114015, 157385, 217248, 299876, 413926, 571347, 788632, 1088546, 1502511, 2073898 (list; graph; refs; listen; history; internal format)
OFFSET

0,3

COMMENTS

The coefficients of the recursion for a(n) are given by the 3rd row of A145152.

FORMULA

a(n) = 3a(n-1) -3a(n-2) +a(n-3) +a(n-4) -2a(n-5) +a(n-6).

EXAMPLE

a(7) = 38 = 3*25 -3*16 +10 +6 -2*3 +1.

MAPLE

col:= proc(k) local l, j, M, n; l:= `if` (k=0, [1, 0, 0, 1], [seq (coeff ( -(1-x-x^4) *(1-x)^(k-1), x, j), j=1..k+3)]); M:= Matrix (nops(l), (i, j)-> if i=j-1 then 1 elif j=1 then l[i] else 0 fi); `if` (k=0, n->(M^n)[2, 3], n->(M^n)[1, 2]) end: a:= col(3): seq (a(n), n=0..40);

CROSSREFS

3rd column of A145153. Cf. A145152.

Sequence in context: A025222 A011902 A025004 * A152009 A114324 A054886

Adjacent sequences:  A145128 A145129 A145130 * A145132 A145133 A145134

KEYWORD

nonn

AUTHOR

Alois P. Heinz (heinz(AT)hs-heilbronn.de), Oct 03 2008

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 16 20:35 EST 2012. Contains 205962 sequences.