OFFSET
1,2
COMMENTS
The corresponding values of y of this Pell equation are in A176381.
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..200
Index entries for linear recurrences with constant coefficients, signature (6960,-1).
FORMULA
a(n) = 6960*a(n-1)-a(n-2) with a(1)=1, a(2)=3480.
G.f.: x*(1-3480*x)/(1-6960*x+x^2).
MATHEMATICA
LinearRecurrence[{6960, -1}, {1, 3480}, 30]
PROG
(Magma) I:=[1, 3480]; [n le 2 select I[n] else 6960*Self(n-1)-Self(n-2): n in [1..20]];
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Apr 16 2010
STATUS
approved