OFFSET
1,2
COMMENTS
The corresponding values of x of this Pell equation are in A174749.
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..200
Index entries for linear recurrences with constant coefficients, signature (70,-1).
FORMULA
a(n) = 70*a(n-1)-a(n-2) with a(1)=0, a(2)=6.
G.f.: 6*x^2/(1-70*x+x^2).
MATHEMATICA
LinearRecurrence[{70, -1}, {0, 6}, 30]
PROG
I:=[0, 6]; [n le 2 select I[n] else 70*Self(n-1)-Self(n-2): n (Magma) in [1..20]];
(PARI) a(n)=([0, 1; -1, 70]^(n-1)*[0; 6])[1, 1] \\ Charles R Greathouse IV, Jan 29 2016
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Apr 15 2010
STATUS
approved