OFFSET
0,1
LINKS
Colin Barker, Table of n, a(n) for n = 0..1000
E. Gutierrez, Table of Tuples for Square of Squares (Part IC)
Index entries for linear recurrences with constant coefficients, signature (7,-7,1).
FORMULA
a(0)= 99, a(1)= 449, a(n+1)= a(n)*6 - a(n-1) - k where k=96.
From Colin Barker, May 18 2016: (Start)
a(n) = (24+25/2*(3-2*sqrt(2))^(1+n)+25/2*(3+2*sqrt(2))^(1+n)).
a(n) = 7*a(n-1)-7*a(n-2)+a(n-3) for n>2.
G.f.: (99-244*x+49*x^2) / ((1-x)*(1-6*x+x^2)).
(End)
a(n) = 24 + 25*A001541(n+1). - R. J. Mathar, Jun 07 2016
EXAMPLE
a(2)= 449*6 - (99 + 96)= 2499;
a(3)= 2499*6 - (449 + 96)= 14449.
MATHEMATICA
CoefficientList[Series[(99 - 244 x + 49 x^2)/((1 - x) (1 - 6 x + x^2)), {x, 0, 20}], x] (* Michael De Vlieger, May 20 2016 *)
PROG
(PARI) Vec((99-244*x+49*x^2)/((1-x)*(1-6*x+x^2)) + O(x^50)) \\ Colin Barker, May 18 2016
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Eddie Gutierrez, May 17 2016
STATUS
approved