A162772 a(n) = ((2+sqrt(5))*(4+sqrt(5))^n + (2-sqrt(5))*(4-sqrt(5))^n)/2.
2, 13, 82, 513, 3202, 19973, 124562, 776793, 4844162, 30208573, 188382802, 1174768113, 7325934082, 45685023413, 284894912402, 1776624041673, 11079148296962, 69090321917293, 430851944071762, 2686822011483873
Offset: 0
Keywords
Links
- Index entries for linear recurrences with constant coefficients, signature (8, -11).
Programs
-
Magma
Z
:=PolynomialRing(Integers()); N :=NumberField(x^2-5); S:=[ ((2+r)*(4+r)^n+(2-r)*(4-r)^n)/2: n in [0..19] ]; [ Integers()!S[j]: j in [1..#S] ]; // Klaus Brockhaus, Jul 19 2009
Formula
a(n) = 8*a(n-1) - 11*a(n-1) for n > 1; a(0) = 2, a(1) = 13.
G.f.: (2-3*x)/(1-8*x+11*x^2).
Extensions
Edited and extended beyond a(5) by Klaus Brockhaus, Jul 19 2009
Comments