|
|
A083043
|
|
Integers y such that 11*x^2 - 9*y^2 = 2 for some integer x.
|
|
5
|
|
|
1, 21, 419, 8359, 166761, 3326861, 66370459, 1324082319, 26415275921, 526981436101, 10513213446099, 209737287485879, 4184232536271481, 83474913437943741, 1665314036222603339, 33222805811014123039
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
LINKS
|
|
|
FORMULA
|
G.f.: x*(1+x)/(1-20*x+x^2).
a(n) = 20*a(n-1) - a(n-2).
a(1-n) = -a(n).
a(n) = ((3 + sqrt(11))*(10 + 3*sqrt(11))^(n-1) + (3 - sqrt(11))*(10 - 3*sqrt(11))^(n-1))/6. - G. C. Greubel, Dec 06 2019
|
|
MAPLE
|
seq(coeff(series( x*(1+x)/(1-20*x+x^2), x, n+1), x, n), n = 1..20); # G. C. Greubel, Dec 06 2019
|
|
MATHEMATICA
|
LinearRecurrence[{20, -1}, {1, 21}, 20] (* Harvey P. Dale, Jun 02 2014 *)
|
|
PROG
|
(PARI) a(n)=subst(poltchebi(n+1)-poltchebi(n), x, 10)/9
(Magma) I:=[1, 21]; [n le 2 select I[n] else 20*Self(n-1) - Self(n-2): n in [1..20]]; // G. C. Greubel, Dec 06 2019
(Sage)
P.<x> = PowerSeriesRing(ZZ, prec)
return P( x*(1+x)/(1-20*x+x^2) ).list()
(GAP) a:=[1, 21];; for n in [3..20] do a[n]:=20*a[n-1]-a[n-2]; od; a; # G. C. Greubel, Dec 06 2019
|
|
CROSSREFS
|
|
|
KEYWORD
|
easy,nonn
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|