OFFSET
0,2
LINKS
Paolo Xausa, Table of n, a(n) for n = 0..966
Index entries for linear recurrences with constant coefficients, signature (16,-56).
FORMULA
From R. J. Mathar, Oct 10 2008: (Start)
a(n) = 16*a(n-1) - 56*a(n-2).
G.f.: (1-8*x)/(1-16*x+56*x^2).
a(n) = Sum_{k=0..n} 8^k*A098158(n,k). - Philippe Deléham, Oct 14 2008
MATHEMATICA
LinearRecurrence[{16, -56}, {1, 8}, 25] (* Paolo Xausa, May 16 2026 *)
PROG
(Magma) Z<x>:= PolynomialRing(Integers()); N<r8>:=NumberField(x^2-8); S:=[ ((8+r8)^n+(8-r8)^n)/2: n in [0..17] ]; [ Integers()!S[j]: j in [1..#S] ]; // Klaus Brockhaus, Oct 20 2008
(PARI) a(n)=([0, 1; -56, 16]^n*[1; 8])[1, 1] \\ Charles R Greathouse IV, May 15 2026
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Al Hakanson (hawkuu(AT)gmail.com), Oct 06 2008
EXTENSIONS
More terms from R. J. Mathar, Oct 10 2008
Edited by Klaus Brockhaus, Jul 09 2009
More terms from Paolo Xausa, May 16 2026
STATUS
approved
