login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 


A108146
a(n)= 4*a(n-1) -a(n-2) -a(n-3).
0
1, 1, 1, 2, 6, 21, 76, 277, 1011, 3691, 13476, 49202, 179641, 655886, 2394701, 8743277, 31922521, 116552106, 425542626, 1553695877, 5672688776, 20711516601, 75619681751, 276094521627, 1008046888156, 3680473349246, 13437751987201
OFFSET
0,4
FORMULA
G.f.: (1-3*x-2*x^2)/(1-4*x+x^2+x^3). [Sep 28 2009]
MATHEMATICA
p = Expand[(x^3 - x^2 - x - 1)*(x^3 - 4*x^2 + x + 1)] v[0] = {1, 1, 1}; M = {{0, 1, 0}, {0, 0, 1}, {-1, -1, 4}}; Det[M - x*IdentityMatrix[3]] NSolve[Det[M - x*IdentityMatrix[3]] == 0, x] v[n_] := v[n] = M.v[n - 1] a = Table[v[n][[1]], {n, 0, 50}]
CROSSREFS
Sequence in context: A294820 A116782 A112091 * A116798 A279560 A116821
KEYWORD
nonn,easy
AUTHOR
Roger L. Bagula, Jun 05 2005
EXTENSIONS
Definition replaced by recurrence by the Associate Editors of the OEIS, Sep 28 2009
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 20 06:34 EDT 2024. Contains 376056 sequences. (Running on oeis4.)