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.

Showing 1-3 of 3 results.

A097736 Pell equation solutions (8*b(n))^2 - 65*a(n)^2 = -1 with b(n):=A097735(n), n >= 0.

Original entry on oeis.org

1, 257, 66305, 17106433, 4413393409, 1138638393089, 293764292023553, 75790048703683585, 19553538801258341377, 5044737220675948391681, 1301522649395593426712321, 335787798806842428143387137, 86631950569515950867567169025, 22350707459136308481404186221313
Offset: 0

Views

Author

Wolfdieter Lang, Aug 31 2004

Keywords

Examples

			(x,y) = (8,1), (2072,257), (534568,66305), ... give the positive integer solutions to x^2 - 65*y^2 =-1.
		

Crossrefs

Cf. A097734 for S(n, 258).
Row 8 of array A188647.

Programs

  • GAP
    a:=[1,257];; for n in [3..20] do a[n]:=258*a[n-1]-a[n-2]; od; a; # G. C. Greubel, Aug 01 2019
  • Magma
    I:=[1,257]; [n le 2 select I[n] else 258*Self(n-1) - Self(n-2): n in [1..20]]; // G. C. Greubel, Aug 01 2019
    
  • Mathematica
    LinearRecurrence[{258, -1},{1, 257},20] (* Ray Chandler, Aug 12 2015 *)
  • PARI
    my(x='x+O('x^20)); Vec((1-x)/(1-258*x+x^2)) \\ G. C. Greubel, Aug 01 2019
    
  • Sage
    ((1-x)/(1-258*x+x^2)).series(x, 20).coefficients(x, sparse=False) # G. C. Greubel, Aug 01 2019
    

Formula

a(n) = S(n, 2*129) - S(n-1, 2*129) = T(2*n+1, sqrt(65))/sqrt(65), with Chebyshev polynomials of the 2nd and first kind. See A049310 for the triangle of S(n, x)= U(n, x/2) coefficients. S(-1, x) := 0 =: U(-1, x); and A053120 for the T-triangle.
a(n) = ((-1)^n)*S(2*n, 16*i) with the imaginary unit i and Chebyshev polynomials S(n, x) with coefficients shown in A049310.
G.f.: (1-x)/(1-258*x+x^2).
a(n) = 258*a(n-1) - a(n-2), n > 1; a(0)=1, a(1)=257. - Philippe Deléham, Nov 18 2008

A097775 Pell equation solutions (14*a(n))^2 - 197*b(n)^2 = -1 with b(n) = A097776(n), n >= 0.

Original entry on oeis.org

1, 787, 618581, 486203879, 382155630313, 300373839222139, 236093455472970941, 185569155627915937487, 145857120230086453893841, 114643510931692324844621539, 90109653735189937241418635813, 70826073192348358979430203127479, 55669203419532074967894898239562681
Offset: 0

Views

Author

Wolfdieter Lang, Aug 31 2004

Keywords

Examples

			(x,y) = (14*1=14;1), (11018=14*787;785), (8660134=14*618581;617009), ... give the positive integer solutions to x^2 - 197*y^2 =-1.
		

Crossrefs

Cf. A097774 for S(n, 2*393).
Cf. similar sequences of the type (1/k)*sinh((2*n + 1)*arcsinh(k)): A002315 (k=1), A049629 (k=2), A097314 (k=3), A078989 (k=4), A097726 (k=5), A097729 (k=6), A097732 (k=7), A097735 (k=8), A097738 (k=9), A097741 (k=10), A097766 (k=11), A097769 (k=12), A097772 (k=13), this sequence (k=14).

Programs

  • Mathematica
    LinearRecurrence[{786, -1}, {1, 787}, 20] (* Harvey P. Dale, Dec 12 2017 *)
  • PARI
    Vec((1+x)/(1-2*393*x+x^2) + O(x^100)) \\ Colin Barker, Apr 04 2015

Formula

G.f.: (1 + x)/(1 - 2*393*x + x^2).
a(n) = S(n, 2*393) + S(n-1, 2*393) = S(2*n, 2*sqrt(197)), with Chebyshev polynomials of the 2nd kind. See A049310 for the triangle of S(n, x) = U(n, x/2) coefficients. S(-1, x) = 0 = U(-1, x).
a(n) = ((-1)^n)*T(2*n+1, 14*i)/(14*i) with the imaginary unit i and Chebyshev polynomials of the first kind. See the T-triangle A053120.
a(n) = 786*a(n-1) - a(n-2) for n > 1; a(0)=1, a(1)=787. - Philippe Deléham, Nov 18 2008
a(n) = (1/14)*sinh((2*n + 1)*arcsinh(14)). - Bruno Berselli, Apr 05 2018

A097734 Chebyshev U(n,x) polynomial evaluated at x=129 = 3*43.

Original entry on oeis.org

1, 258, 66563, 17172996, 4430566405, 1143068959494, 294907360983047, 76084956064666632, 19629623757323008009, 5064366844433271399690, 1306587016240026698112011, 337094385823082454841499148
Offset: 0

Views

Author

Wolfdieter Lang, Aug 31 2004

Keywords

Comments

Used to form integer solutions of Pell equation a^2 - 65*b^2 =-1. See A097735 with A097736.

Programs

  • Mathematica
    LinearRecurrence[{258, -1},{1, 258},12] (* Ray Chandler, Aug 11 2015 *)

Formula

a(n) = 2*129*a(n-1) - a(n-2), n>=1, a(0)=1, a(-1):=0.
a(n) = S(n, 2*129)= U(n, 129), Chebyshev's polynomials of the second kind. See A049310.
G.f.: 1/(1-258*x+x^2).
a(n)= sum((-1)^k*binomial(n-k, k)*258^(n-2*k), k=0..floor(n/2)), n>=0.
a(n) = ((129+16*sqrt(65))^(n+1) - (129-16*sqrt(65))^(n+1))/(32*sqrt(65)), n>=0.
Showing 1-3 of 3 results.