|
|
A174771
|
|
y-values in the solution to x^2 - 31*y^2 = 1.
|
|
2
|
|
|
0, 273, 829920, 2522956527, 7669787012160, 23316149994009873, 70881088312003001760, 215478485152339131340527, 655054523982022647272200320, 1991365537426863695368357632273
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
COMMENTS
|
The corresponding values of x of this Pell equation are in A174746.
The first solution to the equation x^2 - 31*y^2 = 1 is (X(1), Y(1)) = (1, 0) and the other solutions are defined by: (X(n), Y(n)) = (1520*X(n-1) + 8463*Y(n-1), 273*X(n-1) + 1520*Y(n-1)) with n >= 2. - Mohamed Bouhamida, Jan 16 2020
|
|
LINKS
|
|
|
FORMULA
|
a(n) = 3040*a(n-1) - a(n-2) with a(1)=0, a(2)=273.
G.f.: 273*x^2/(1-3040*x+x^2).
|
|
MATHEMATICA
|
LinearRecurrence[{3040, -1}, {0, 273}, 30]
|
|
PROG
|
(Magma) I:=[0, 273]; [n le 2 select I[n] else 3040*Self(n-1)-Self(n-2): n in [1..20]];
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|