OFFSET
1,1
COMMENTS
Also positive integers x in the solutions to 16*x^2-5*y^2+40*x+3*y+44 = 0, the corresponding values of y being A252631.
LINKS
Colin Barker, Table of n, a(n) for n = 1..398
Index entries for linear recurrences with constant coefficients, signature (323,-323,1).
FORMULA
a(n) = 323*a(n-1)-323*a(n-2)+a(n-3).
G.f.: x*(3*x^2-353*x-50) / ((x-1)*(x^2-322*x+1)).
a(n) =-5/4+1/80*(161+72*sqrt(5))^(-n)*(-70-37*sqrt(5)+(-70+37*sqrt(5))*(161+72*sqrt(5))^(2*n)). - Colin Barker, Mar 03 2016
EXAMPLE
50 is in the sequence because X(50)+X(51)+X(52)+X(53) = 4950+5151+5356+5565 = 21022 = H(92).
PROG
(PARI) Vec(x*(3*x^2-353*x-50)/((x-1)*(x^2-322*x+1)) + O(x^100))
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Colin Barker, Dec 19 2014
STATUS
approved