A275793 The x members of the positive proper solutions (x = x1(n), y = y1(n)) of the first class for the Pell equation x^2 - 2*y^2 = +7^2.
9, 43, 249, 1451, 8457, 49291, 287289, 1674443, 9759369, 56881771, 331531257, 1932305771, 11262303369, 65641514443, 382586783289, 2229879185291, 12996688328457, 75750250785451, 441504816384249, 2573278647520043, 14998167068736009, 87415723764896011
Offset: 0
Examples
The first positive proper fundamental solution (x = x1(n), y = y1(n)) of x^2 - 2*y^2 = 49 are [9, 4], [43, 30], [249, 176], [1451, 1026], [8457, 5980], [49291, 34854], [287289, 203144], [1674443, 1184010], ... The first positive proper fundamental solution of the second class (x = x2(n), y = y2(n)) are [11, 6], [57, 40], [331, 234], [1929, 1364], [11243, 7950], [65529, 46336], [381931, 270066], [2226057, 1574060], ...
References
- T. Nagell, Introduction to Number Theory, Wiley, 1951, Theorem 109, pp. 207-208.
Links
Crossrefs
Programs
-
Magma
I:=[9,43]; [n le 2 select I[n] else 6*Self(n-1) - Self(n-2): n in [1..31]]; // G. C. Greubel, Sep 15 2021
-
Mathematica
RecurrenceTable[{a[n]== 6a[n-1] -a[n-2], a[-1]==11, a[0]==9}, a, {n,0,25}] (* Michael De Vlieger, Sep 28 2016 *) Table[9*Fibonacci[2*n+1, 2] - Fibonacci[2*n, 2], {n,0,30}] (* G. C. Greubel, Sep 15 2021 *)
-
PARI
a(n) = round((((3-2*sqrt(2))^n*(-8+9*sqrt(2))+(3+2*sqrt(2))^n*(8+9*sqrt(2)))) / (2*sqrt(2))) \\ Colin Barker, Sep 28 2016
-
PARI
Vec((9-11*x)/(1-6*x+x^2) + O(x^30)) \\ Colin Barker, Oct 02 2016
-
Sage
def P(n): return lucas_number1(n, 2, -1); [9*P(2*n+1) - P(2*n) for n in (0..30)] # G. C. Greubel, Sep 15 2021
Formula
a(n) = 43*S(n-1, 6) - 9*S(n-2, 6), with the Chebyshev polynomials S(n, 6) = A001109(n+1), n >= -1, with S(-2, 6) = -1.
O.g.f: (9 - 11*x)/(1 - 6*x + x^2).
a(n) = 6*a(n-1) - a(n-2) for n >= 1, with a(-1) = 11 and a(0) = 9.
a(n) = (((3-2*sqrt(2))^n*(-8+9*sqrt(2))+(3+2*sqrt(2))^n*(8+9*sqrt(2)))) / (2*sqrt(2)). - Colin Barker, Sep 28 2016
Comments