OFFSET
0,2
LINKS
Index entries for linear recurrences with constant coefficients, signature (12, -30).
FORMULA
G.f.: (1-6x)/(1-12x+30x^2). - R. J. Mathar, Oct 10 2008
a(n) = ((6+sqrt(6))^n+(6-sqrt(6))^n)/2.
a(n) = sum_{k, 0<=k<=n} 6^k * A098158(n,k). - Philippe Deléham, Oct 14 2008
MATHEMATICA
CoefficientList[Series[(1 - 6 x)/(1 - 12 x + 30 x^2), {x, 0, 20}], x] (* Wesley Ivan Hurt, Jun 14 2014 *)
PROG
(Magma) Z<x>:= PolynomialRing(Integers()); N<r6>:=NumberField(x^2-6); S:=[ ((6+r6)^n+(6-r6)^n)/2: n in [0..19] ]; [ Integers()!S[j]: j in [1..#S] ]; // Klaus Brockhaus, Oct 20 2008
CROSSREFS
KEYWORD
nonn
AUTHOR
Al Hakanson (hawkuu(AT)gmail.com), Oct 06 2008
EXTENSIONS
More terms from R. J. Mathar, Oct 10 2008
Corrected definition. - Philippe Deléham, Oct 15 2008
Edited by Klaus Brockhaus, Jul 08 2009
STATUS
approved