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