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.

A097733 Pell equation solutions (7*b(n))^2 - 2*(5*a(n))^2 = -1 with b(n)=A097732(n), n >= 0. Note that D=50=2*5^2 is not squarefree.

Original entry on oeis.org

1, 197, 39005, 7722793, 1529074009, 302748930989, 59942759261813, 11868363584907985, 2349876047052519217, 465263588952813896981, 92119840736610099083021, 18239263202259846804541177
Offset: 0

Views

Author

Wolfdieter Lang, Aug 31 2004

Keywords

Examples

			(x,y) = (7,1), (1393,197), (275807,39005), ... give the positive integer solutions to x^2 - 50*y^2 =-1.
		

Crossrefs

Cf. A097731 for S(n, 198).
Row 7 of array A188647.

Programs

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

Formula

a(n) = S(n, 2*99) - S(n-1, 2*99) = T(2*n+1, 5*sqrt(2))/(5*sqrt(2)), 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, 14*i) with the imaginary unit i and Chebyshev polynomials S(n, x) with coefficients shown in A049310.
G.f.: (1-x)/(1-198*x+x^2).
a(n) = 198*a(n-1) - a(n-2), n > 1; a(0)=1, a(1)=197. - Philippe Deléham, Nov 18 2008
a(n) = k^n + k^(-n) - a(n-1) = A003499(3n) - a(n-1), where k = (sqrt(2)+1)^6 = 99 + 70*sqrt(2) and a(0)=1. - Charles L. Hohn, Apr 05 2011
From Peter Bala, Mar 23 2015: (Start)
a(n) = ( Pell(6*n + 6 - 2*k) - Pell(6*n + 2*k) )/( Pell(6 - 2*k) - Pell(2*k) ), for k an arbitrary integer.
a(n) = ( Pell(6*n + 6 - 2*k - 1) + Pell(6*n + 2*k + 1) )/( Pell(6 - 2*k - 1) + Pell(2*k + 1) ), for k an arbitrary integer.
The aerated sequence (b(n))n>=1 = [1, 0, 197, 0, 39005, 0, 7722793, 0, ...] is a fourth-order linear divisibility sequence; that is, if n | m then b(n) | b(m). It is the case P1 = 0, P2 = -200, Q = 1 of the 3-parameter family of divisibility sequences found by Williams and Guy. See A100047 for the connection with Chebyshev polynomials. (End)
Sum_{n >= 1} 1/( a(n) - 1/a(n) ) = 1/196. - Peter Bala, Mar 26 2015

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

A097731 Chebyshev U(n,x) polynomial evaluated at x=99 gives 2*7^2+1.

Original entry on oeis.org

1, 198, 39203, 7761996, 1536836005, 304285766994, 60247045028807, 11928610629936792, 2361804657682456009, 467625393610496352990, 92587466130220595436011, 18331850668390067399977188, 3629613844875103124600047213, 718645209434602028603409370986
Offset: 0

Views

Author

Wolfdieter Lang, Aug 31 2004

Keywords

Comments

Used to form integer solutions of Pell equation a^2 - 50*b^2 =-1. See A097732 with A097733.

Crossrefs

Cf. A002965.

Programs

  • Maple
    with(combinat): seq(fibonacci(6*n+6,2)/70, n=0..12); # Zerinvary Lajos, Apr 21 2008
  • Mathematica
    LinearRecurrence[{198, -1},{1, 198},12] (* Ray Chandler, Aug 11 2015 *)

Formula

a(n) = 2*99*a(n-1) - a(n-2), n>=1, a(0)=1, a(-1):=0.
a(n) = S(n, 2*99)= U(n, 99), Chebyshev's polynomials of the second kind. See A049310.
G.f.: 1/(1-198*x+x^2).
a(n) = sum((-1)^k*binomial(n-k, k)*198^(n-2*k), k=0..floor(n/2)), n>=0.
a(n) = ((99+70*sqrt(2))^(n+1) - (99-70*sqrt(2))^(n+1))/(140*sqrt(2)), n>=0.
a(n) = Pell(6*n + 6)/Pell(6). Sum_{n >= 0} 1/( 14*a(n) + 1/(14*a(n)) ) = 1/14. - Peter Bala, Mar 25 2015
a(n) = A002965(12*(n+1))/70. - Gerry Martens, Jul 14 2023
Showing 1-3 of 3 results.