OFFSET
1,2
COMMENTS
The corresponding values of x of this Pell equation are in A174769.
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..200
Index entries for linear recurrences with constant coefficients, signature (19602,-1).
FORMULA
a(n) = 19602*a(n-1)-a(n-2) with a(1)=0, a(2)=1820.
G.f.: 1820*x^2/(1-19602*x+x^2).
MATHEMATICA
LinearRecurrence[{19602, -1}, {0, 1820}, 30]
Table[-((9801-1820*Sqrt[29])^x-(9801+1820*Sqrt[29])^x)/(2*Sqrt[29]), {x, 0, 10}]// Simplify (* Harvey P. Dale, Jul 02 2022 *)
PROG
(Magma) I:=[0, 1820]; [n le 2 select I[n] else 19602*Self(n-1)-Self(n-2): n in [1..20]];
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Apr 14 2010
STATUS
approved