OFFSET
0,2
COMMENTS
The proper and improper positive solutions of the Pell equation x^2 - 61*y^2 = -4 are x = 39*a(n) and y = 5*A226702(n), n >= 1.
REFERENCES
T. Nagell, Introduction to Number Theory, Chelsea Publishing Company, New York, 1964, ch. Vi, 58., p. 204-212.
LINKS
FORMULA
a(n) = S(n,1523) + S(n-1,1523), n >= 0, with the Chebyshev S-polynomials (A049310), where S(-1,x) = 0.
O.g.f.: (1 + x)/(1 - 1523*x + x^2).
a(n) = 1523*a(n-1) - a(n-2), n>=1, a(-1) = -1, a(0) = 1.
EXAMPLE
n=1: (39*1)^2 - 61*(5*1)^2 = -4,
n=2: (39*1524)^2 - 61*(5*1522)^2 = -4,
n=3: (39*2321051)^2 - 61*(5*2318005)^2 = -4.
MATHEMATICA
CoefficientList[Series[(1 + x)/(1 - 1523*x + x^2), {x, 0, 10}], x] (* Wesley Ivan Hurt, Jan 24 2017 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Wolfdieter Lang, Jun 27 2013
STATUS
approved