|
|
A176373
|
|
x-values in the solution to x^2 - 67*y^2 = 1.
|
|
2
|
|
|
1, 48842, 4771081927, 466058366908226, 45526445508292066657, 4447205302565943872414162, 434420802730325215724612934151, 42435961689461883070277145987192122, 4145314481238973783106627512888262311297
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
COMMENTS
|
The corresponding values of y of this Pell equation are in A176374.
|
|
LINKS
|
|
|
FORMULA
|
a(n) = 97684*a(n-1) - a(n-2) with a(1)=1, a(2)=48842.
G.f.: x*(1-48842*x)/(1-97684*x+x^2).
a(n) = ((221+27*r)^(2*n-2) + (221-27*r)^(2*n-2))/2^n, where r=sqrt(67). (End)
|
|
MAPLE
|
seq(coeff(series(x*(1-48842*x)/(1-97684*x+x^2), x, n+1), x, n), n = 1..15); # G. C. Greubel, Dec 08 2019
|
|
MATHEMATICA
|
LinearRecurrence[{97684, -1}, {1, 48842}, 15] (* G. C. Greubel, Dec 08 2019 *)
|
|
PROG
|
(Maxima) makelist(expand(((221+27*sqrt(67))^(2*n-2)+(221-27*sqrt(67))^(2*n-2))/2^n), n, 1, 9); /* Bruno Berselli, Dec 14 2011 */
(Magma) I:=[1, 48842]; [n le 2 select I[n] else 97684*Self(n-1)-Self(n-2): n in [1..15]]; // G. C. Greubel, Dec 08 2019
(PARI) my(x='x+O('x^15)); Vec(x*(1-48842*x)/(1-97684*x+x^2)) \\ G. C. Greubel, Dec 08 2019
(Sage)
P.<x> = PowerSeriesRing(ZZ, prec)
return P( x*(1-48842*x)/(1-97684*x+x^2) ).list()
(GAP) a:=[1, 48842];; for n in [3..15] do a[n]:=97684*a[n-1]-a[n-2]; od; a; # G. C. Greubel, Dec 08 2019
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|