OFFSET
1,2
COMMENTS
The corresponding values of x of this Pell equation are in A176370.
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..200
Index entries for linear recurrences with constant coefficients, signature (130,-1).
FORMULA
a(n) = 130*a(n-1) - a(n-2) with a(1)=0, a(2)=8.
G.f.: 8*x^2/(1-130*x+x^2).
MAPLE
seq(coeff(series(8*x^2/(1-130*x+x^2), x, n+1), x, n), n = 1..15); # G. C. Greubel, Dec 08 2019
MATHEMATICA
LinearRecurrence[{130, -1}, {0, 8}, 30]
PROG
(Magma) I:=[0, 8]; [n le 2 select I[n] else 130*Self(n-1)-Self(n-2): n in [1..20]];
(PARI) my(x='x+O('x^15)); concat([0], Vec(8*x^2/(1-130*x+x^2))) \\ G. C. Greubel, Dec 08 2019
(Sage)
def A176372_list(prec):
P.<x> = PowerSeriesRing(ZZ, prec)
return P( 8*x^2/(1-130*x+x^2) ).list()
a=A176372_list(15); a[1:] # G. C. Greubel, Dec 08 2019
(GAP) a:=[0, 8];; for n in [3..15] do a[n]:=130*a[n-1]-a[n-2]; od; a; # G. C. Greubel, Dec 08 2019
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Apr 16 2010
EXTENSIONS
Offset corrected by R. J. Mathar, Jun 18 2010
STATUS
approved