OFFSET
1,1
COMMENTS
Also positive integers y in the solutions to 10*x^2-3*y^2+4*x+y+2 = 0, the corresponding values of x being A252359.
LINKS
Colin Barker, Table of n, a(n) for n = 1..372
Index entries for linear recurrences with constant coefficients, signature (483,-483,1).
FORMULA
a(n) = 483*a(n-1)-483*a(n-2)+a(n-3).
G.f.: -x*(x^2-370*x+289) / ((x-1)*(x^2-482*x+1)).
EXAMPLE
289 is in the sequence because P(289) = 125137 = 62173+62964 = H(158)+H(159).
MATHEMATICA
LinearRecurrence[{483, -483, 1}, {289, 139217, 67102225}, 20] (* Harvey P. Dale, May 29 2016 *)
PROG
(PARI) Vec(-x*(x^2-370*x+289)/((x-1)*(x^2-482*x+1)) + O(x^100))
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Colin Barker, Dec 17 2014
STATUS
approved