OFFSET
0,3
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (6,8).
FORMULA
G.f.: x/(1 - 2*x*(3+4*x)). - Harvey P. Dale, Jul 26 2011
MATHEMATICA
LinearRecurrence[{6, 8}, {0, 1}, 50]
CoefficientList[Series[-(x/(-1+6 x+8 x^2)), {x, 0, 50}], x] (* Harvey P. Dale, Jul 26 2011 *)
PROG
(Magma) I:=[0, 1]; [n le 2 select I[n] else 6*Self(n-1)+8*Self(n-2): n in [1..30]]; // Vincenzo Librandi, Nov 14 2011
(PARI) a(n)=([0, 1; 8, 6]^n*[0; 1])[1, 1] \\ Charles R Greathouse IV, Oct 03 2016
CROSSREFS
Sequences of the form a(n) = c*a(n-1) + d*a(n-2), with a(0)=0, a(1)=1:
c/d...1.......2.......3.......4.......5.......6.......7.......8.......9......10
KEYWORD
nonn,easy
AUTHOR
Vladimir Joseph Stephan Orlovsky, May 24 2011
STATUS
approved