OFFSET
0,2
LINKS
Colin Barker, Table of n, a(n) for n = 0..653
Index entries for linear recurrences with constant coefficients, signature (35,-35,1).
FORMULA
G.f.: -(x^2-22*x+1) / ((x-1)*(x^2-34*x+1)). - Colin Barker, Jul 09 2015
a(n) = (5/8+1/16*(17+12*sqrt(2))^(-n)*(3-2*sqrt(2)+(3+2*sqrt(2))*(17+12*sqrt(2))^(2*n))). - Colin Barker, Mar 02 2016
EXAMPLE
a(3) = 14281 = 99^2+70^2-420.
PROG
(PARI) Vec(-(x^2-22*x+1)/((x-1)*(x^2-34*x+1)) + O(x^30)) \\ Colin Barker, Jul 09 2015
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Charlie Marion, Nov 03 2004
EXTENSIONS
Name and a(0) corrected by Charlie Marion, Jul 09 2015
STATUS
approved