OFFSET
0,2
LINKS
Index entries for linear recurrences with constant coefficients, signature (12, -28).
FORMULA
From Philippe Deléham, Nov 13 2008: (Start)
a(n) = 12*a(n-1) - 28*a(n-2), a(0)=1, a(1)=6.
G.f.: (1-6x)/(1-12x+28x^2).
a(n) = (Sum_{k=0..n} A098158(n,k)*6^(2k)*8^(n-k))/6^n. (End)
a(n) = 2^n*A083878(n). - R. J. Mathar, Feb 04 2021
MATHEMATICA
LinearRecurrence[{12, -28}, {1, 6}, 30] (* Harvey P. Dale, Apr 23 2011 *)
PROG
(Magma) Z<x>:= PolynomialRing(Integers()); N<r8>:=NumberField(x^2-8); S:=[ ((6+r8)^n+(6-r8)^n)/2: n in [0..19] ]; [ Integers()!S[j]: j in [1..#S] ]; // Klaus Brockhaus, Nov 13 2008
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Al Hakanson (hawkuu(AT)gmail.com), Nov 10 2008
EXTENSIONS
Extended beyond a(6) by Klaus Brockhaus, Nov 13 2008
STATUS
approved