OFFSET
0,2
LINKS
Harvey P. Dale, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (14, -41).
FORMULA
From Philippe Deléham, Nov 13 2008: (Start)
a(n) = 14*a(n-1) - 41*a(n-2), a(0)=1, a(1)=7.
G.f.: (1-7x)/(1-14x+41x^2).
a(n) = (Sum_{k=0..n} A098158(n,k)*7^(2k)*8^(n-k))/7^n. (End)
MATHEMATICA
LinearRecurrence[{14, -41}, {1, 7}, 20] (* Harvey P. Dale, Sep 11 2020 *)
PROG
(Magma) Z<x>:= PolynomialRing(Integers()); N<r8>:=NumberField(x^2-8); S:=[ ((7+r8)^n+(7-r8)^n)/2: n in [0..18] ]; [ Integers()!S[j]: j in [1..#S] ]; // Klaus Brockhaus, Nov 13 2008
CROSSREFS
KEYWORD
nonn
AUTHOR
Al Hakanson (hawkuu(AT)gmail.com), Nov 10 2008
EXTENSIONS
Extended beyond a(6) by Klaus Brockhaus, Nov 13 2008
STATUS
approved