login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A120748 Expansion of -x^2*(-1 - 2*x + x^2)/(1 - x - 3*x^2 - x^3 + x^4). 0
0, 1, 3, 5, 15, 32, 79, 185, 439, 1041, 2464, 5841, 13835, 32781, 77663, 184000, 435935, 1032817, 2446959, 5797345, 13735104, 32541281, 77096979, 182658581, 432755695, 1025287136, 2429115823, 5755074345, 13634953255, 32304004977, 76534823264, 181326717105 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,3

COMMENTS

Lim_{n->infinity} a(n)/a(n-1) is 2.3692054...; largest real eigenvalue of M and a root of the characteristic polynomial x^4 - x^3 - 3x^2 - x + 1.

a(n) is the top left entry of the n-th power of the 4 X 4 matrix M = [0,1,1,0; 1,1,1,0; 0,1,0,1; 1,0,1,0].

LINKS

Table of n, a(n) for n=1..32.

Index entries for linear recurrences with constant coefficients, signature (1,3,1,-1)

FORMULA

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

EXAMPLE

a(8) = 439 = a(7) + 3*a(6) + a(5) - a(4) = 185 + 3*79 + 32 - 15.

MATHEMATICA

LinearRecurrence[{1, 3, 1, -1}, {0, 1, 3, 5}, 40] (* Amiram Eldar, Feb 28 2020 *)

CROSSREFS

Sequence in context: A127978 A018470 A281438 * A182143 A193649 A186341

Adjacent sequences:  A120745 A120746 A120747 * A120749 A120750 A120751

KEYWORD

nonn

AUTHOR

Gary W. Adamson, Jul 01 2006

EXTENSIONS

More terms from Amiram Eldar, Feb 28 2020

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 12 20:41 EDT 2021. Contains 343829 sequences. (Running on oeis4.)