cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A097836 Chebyshev polynomials S(n,51).

Original entry on oeis.org

1, 51, 2600, 132549, 6757399, 344494800, 17562477401, 895341852651, 45644872007800, 2326993130545149, 118631004785794799, 6047854250944989600, 308321935793408674801, 15718370871212897425251, 801328592496064360013000
Offset: 0

Views

Author

Wolfdieter Lang, Sep 10 2004

Keywords

Comments

Used for all positive integer solutions of Pell equation x^2 - 53*y^2 = -4. See A097837 with A097838.
a(n-1), with a(-1) := 0, and b(n) := A099368(n) give the proper and improper nonnegative solutions of the Pell equation b(n)^2 - 53*(7*a(n-1))^2 = +4, n >= 0. - Wolfdieter Lang, Jun 27 2013

Programs

  • GAP
    a:=[1,51];; for n in [2..30] do a[n]:=51*a[n-1]-a[n-2]; od; a; # G. C. Greubel, Jan 12 2019
  • Magma
    m:=30; R:=PowerSeriesRing(Integers(), m); Coefficients(R!( 1/(1-51*x+x^2) )); // G. C. Greubel, Jan 12 2019
    
  • Mathematica
    LinearRecurrence[{51,-1}, {1,51}, 30] (* G. C. Greubel, Jan 12 2019 *)
  • PARI
    my(x='x+O('x^30)); Vec(1/(1-51*x+x^2)) \\ G. C. Greubel, Jan 12 2019
    
  • Sage
    (1/(1-51*x+x^2)).series(x, 30).coefficients(x, sparse=False) # G. C. Greubel, Jan 12 2019
    

Formula

a(n) = S(n, 51)=U(n, 51/2)= S(2*n+1, sqrt(53))/sqrt(53) with S(n, x) = U(n, x/2) Chebyshev's polynomials of the second kind, A049310. S(-1, x)= 0 = U(-1, x).
a(n) = 51*a(n-1) - a(n-2), n >= 1, a(-1)=0, a(0)=1, a(1)=51.
a(n) = (ap^(n+1) - am^(n+1))/(ap-am) with ap := (51+7*sqrt(53))/2 and am := (51-7*sqrt(53))/2 = 1/ap.
G.f.: 1/(1-51*x+x^2).