OFFSET
1,2
COMMENTS
The corresponding values of x of this Pell equation are in A174758.
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..200
Index entries for linear recurrences with constant coefficients, signature (178,-1).
FORMULA
a(n) = 178*a(n-1)-a(n-2) with a(1)=0, a(2)=12.
G.f.: 12*x^2/(1-178*x+x^2).
a(n) = ((89+12*sqrt(55))^(n-1) - (89-12*sqrt(55))^(n-1))/(2*sqrt(55)). - Alan Michael Gómez Calderón, Oct 06 2023
MATHEMATICA
LinearRecurrence[{178, -1}, {0, 12}, 30]
PROG
(Magma) I:=[0, 12]; [n le 2 select I[n] else 178*Self(n-1)-Self(n-2): n in [1..20]];
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Apr 15 2010
STATUS
approved