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.

A221075 Simple continued fraction expansion of an infinite product.

Original entry on oeis.org

2, 12, 1, 24, 1, 192, 1, 360, 1, 2700, 1, 5040, 1, 37632, 1, 70224, 1, 524172, 1, 978120, 1, 7300800, 1, 13623480, 1, 101687052, 1, 189750624, 1, 1416317952, 1, 2642885280, 1, 19726764300, 1, 36810643320, 1
Offset: 0

Views

Author

Peter Bala, Jan 06 2013

Keywords

Comments

Simple continued fraction expansion of product {n >= 0} {1 - sqrt(m)*[sqrt(m) - sqrt(m-1)]^(4*n+3)}/{1 - sqrt(m)*[sqrt(m) - sqrt(m-1)]^(4*n+1)} at m = 4. For other cases see A221073 (m = 2), A221074 (m = 3) and A221076 (m = 5).
If we denote the present sequence by [2; 12, 1, c(3), 1, c(4), 1, ...] then for k >= 1 the sequence [1; c(2*k+1), 1, c(2*(2*k+1)), 1, c(3*(2*k+1)), 1, ...] gives the simple continued fraction expansion of product {n >= 0} [1-2*{(2-sqrt(3))^(2*k+1)}^(4*n+3)]/[1 - 2*{(2-sqrt(3))^(2*k+1)}^(4*n+1)]. An example is given below

Examples

			Product {n >= 0} {1 - 2*(2 - sqrt(3))^(4*n+3)}/{1 - 2*(2 - sqrt(3))^(4*n+1)} = 2.07715 13807 08976 70415 ...
= 2 + 1/(12 + 1/(1 + 1/(24 + 1/(1 + 1/(192 + 1/(1 + 1/(360 + ...))))))).
Since (2 - sqrt(3))^3 = 26 - 15*sqrt(3) we have the following simple continued fraction expansion:
product {n >= 0} {1 - 2*(26 - 15*sqrt(3))^(4*n+3)}/{1 - 2*(26 - 15*sqrt(3))^(4*n+1)} = 1.04000 05921 62729 43797 ... = 1 + 1/(24 + 1/(1 + 1/(2700 + 1/(1 + 1/(70224 + 1/(1 + 1/(7300800 + ...))))))).
		

Crossrefs

Formula

a(2*n) = 1 for n >= 1. For n >= 1 we have
a(4*n - 3) = (2 + sqrt(3))^(2*n) + (2 - sqrt(3))^(2*n) - 2;
a(4*n - 1) = 1/2*{(2 + sqrt(3) )^(2*n + 1) + (2 - sqrt(3))^(2*n + 1)} - 2.
a(4*n - 3) = 12*A098301(n) = 12*A001353(n)^2 = 4*A007654(n);
a(4*n - 1) = 24*A076139(n) = 12*A217855 = 8*A076140(n) = 6*A123480(n) = 3*A045899(n).
O.g.f.: 2 + x^2/(1 - x^2) + 12*x*(1 + x^2)^2/(1 - 15*x^4 + 15*x^8 - x^12) = 2 + 12*x + x^2 + 24*x^3 + x^4 + 192*x^5 + ....
O.g.f.: (x^10-2*x^8-14*x^6+28*x^4-12*x^3+x^2-12*x-2) / ((x-1)*(x+1)*(x^4-4*x^2+1)*(x^4+4*x^2+1)). - Colin Barker, Jan 10 2014

A221073 Simple continued fraction expansion of an infinite product.

Original entry on oeis.org

2, 4, 1, 8, 1, 32, 1, 56, 1, 196, 1, 336, 1, 1152, 1, 1968, 1, 6724, 1, 11480, 1, 39200, 1, 66920, 1, 228484, 1, 390048, 1, 1331712, 1, 2273376, 1, 7761796, 1, 13250216, 1, 45239072, 1, 77227928, 1, 263672644, 1, 450117360, 1, 1536796800, 1, 2623476240, 1
Offset: 0

Views

Author

Peter Bala, Jan 06 2013

Keywords

Comments

Simple continued fraction expansion of product {n >= 0} {1 - sqrt(m)*[sqrt(m) - sqrt(m-1)]^(4*n+3)}/{1 - sqrt(m)*[sqrt(m) - sqrt(m-1)]^(4*n+1)} at m = 2. For other cases see A221074 (m = 3), A221075 (m = 4) and A221076 (m = 5).
If we denote the present sequence by [2; 4, 1, c(3), 1, c(4), 1, ...] then for k >= 1 the sequence [1; c(2*k+1), 1, c(2*(2*k+1)), 1, c(3*(2*k+1)), 1, ...] gives the simple continued fraction expansion of product {n >= 0} [1-sqrt(2)*{(sqrt(2)-1)^(2*k+1)}^(4*n+3)]/[1 - sqrt(2)*{(sqrt(2)-1)^(2*k+1)}^(4*n+1)]. An example is given below.

Examples

			Product {n >= 0} {1 - sqrt(2)*(sqrt(2) - 1)^(4*n+3)}/{1 - sqrt(2)*(sqrt(2) - 1)^(4*n+1)} = 2.20409 39255 78752 05766 ...
= 2 + 1/(4 + 1/(1 + 1/(8 + 1/(1 + 1/(32 + 1/(1 + 1/(56 + ...))))))).
We have (sqrt(2) - 1)^3 = 5*sqrt(2) - 7 so product {n >= 0} {1 - sqrt(2)*(5*sqrt(2) - 7)^(4*n+3)}/{1 - sqrt(2)*(5*sqrt(2) - 7)^(4*n+1)} = 1.11117 34981 94843 98511 ... = 1 + 1/(8 + 1/(1 + 1/(196 + 1/(1 + 1/(1968 + 1/(1 + 1/(39200 + ...))))))).
		

Crossrefs

Cf. A001108, A053141, A174500, A221074 (m = 3), A221075 (m = 4), A221076 (m = 5).

Programs

  • Magma
    m:=25; R:=PowerSeriesRing(Integers(), m); Coefficients(R!((x^10-2*x^8-6*x^6+12*x^4-4*x^3+x^2-4*x-2)/((x-1)*(x+1)*(x^4-2*x^2-1)*(x^4+2*x^2-1)))); // G. C. Greubel, Jul 15 2018
  • Mathematica
    NProduct[( Sqrt[2]*(Sqrt[2] - 1)^(4*n + 3) - 1)/( Sqrt[2]*(Sqrt[2] - 1)^(4*n + 1) - 1), {n, 0, Infinity}, WorkingPrecision -> 200] // ContinuedFraction[#, 37] & (* Jean-François Alcover, Mar 06 2013 *)
    Join[{2},LinearRecurrence[{0,1,0,6,0,-6,0,-1,0,1},{4,1,8,1,32,1,56,1,196,1},60]] (* Harvey P. Dale, Feb 16 2014 *)
  • PARI
    x='x+O('x^30); Vec((x^10-2*x^8-6*x^6+12*x^4-4*x^3+x^2-4*x-2)/((x-1)*(x+1)*(x^4-2*x^2-1)*(x^4+2*x^2-1))) \\ G. C. Greubel, Jul 15 2018
    

Formula

a(2*n) = 1 for n >= 1. For n >= 1 we have
a(4*n - 3) = (sqrt(2) + 1)^(2*n) + (sqrt(2) - 1)^(2*n) - 2;
a(4*n - 1) = 1/sqrt(2)*{(sqrt(2) + 1)^(2*n + 1) + (sqrt(2) - 1)^(2*n + 1)} - 2.
a(4*n - 3) = 4*A001108(n); a(4*n - 1) = 4*A053141(n).
O.g.f.: 2 + x^2/(1 - x^2) + 4*x*(1 + x^2)^2/(1 - 7*x^4 + 7*x^8 - x^12) = 2 + 4*x + x^2 + 8*x^3 + x^4 + 32*x^5 + ....
O.g.f.: (x^10-2*x^8-6*x^6+12*x^4-4*x^3+x^2-4*x-2) / ((x-1)*(x+1)*(x^4-2*x^2-1)*(x^4+2*x^2-1)). - Colin Barker, Jan 10 2014

Extensions

More terms from Harvey P. Dale, Feb 16 2014

A221076 Continued fraction expansion of product_{n>=0} (1-sqrt(5)*[sqrt(5)-2]^{4n+3})/(1-sqrt(5)*[sqrt(5)-2]^{4n+1}).

Original entry on oeis.org

2, 16, 1, 32, 1, 320, 1, 608, 1, 5776, 1, 10944, 1, 103680, 1, 196416, 1, 1860496, 1, 3524576, 1, 33385280, 1, 63245984, 1, 599074576, 1, 1134903168, 1, 10749957120, 1, 20365011072, 1, 192900153616, 1, 365435296160, 1
Offset: 0

Views

Author

Peter Bala, Jan 06 2013

Keywords

Comments

Simple continued fraction expansion of product {n >= 0} {1 - sqrt(m)*[sqrt(m) - sqrt(m-1)]^(4*n+3)}/{1 - sqrt(m)*[sqrt(m) - sqrt(m-1)]^(4*n+1)} at m = 5. For other cases see A221073 (m = 2), A221074 (m = 3) and A221075 (m = 4).
If we denote the present sequence by [2; 16, 1, c(3), 1, c(4), 1, ...] then for k >= 1 the sequence [1; c(2*k+1), 1, c(2*(2*k+1)), 1, c(3*(2*k+1)), 1, ...] gives the simple continued fraction expansion of product {n >= 0} [1-sqrt(5)*{(sqrt(5)-2)^(2*k+1)}^(4*n+3)]/[1 - sqrt(5)*{(sqrt(5)-2)^(2*k+1)}^(4*n+1)]. An example is given below.

Examples

			Product {n >= 0} {1 - sqrt(5)*(sqrt(5) - 2)^(4*n+3)}/{1 - sqrt(5)*(sqrt(5) - 2)^(4*n+1)} = 2.05892 54859 32105 82744 ...
= 2 + 1/(16 + 1/(1 + 1/(32 + 1/(1 + 1/(320 + 1/(1 + 1/(608 + ...))))))).
Since (sqrt(5) - 2)^3 = 17*sqrt(5) - 38 we have the following simple continued fraction expansion:
product {n >= 0} {1 - sqrt(5)*(17*sqrt(5) - 38)^(4*n+3)}/{1 - sqrt(5)*(17*sqrt(5) - 38)^(4*n+1)} = 1.03030 31892 29728 52318 ... = 1 + 1/(32 + 1/(1 + 1/(5776 + 1/(1 + 1/(196416 + 1/(1 + 1/(33385280 + ...))))))).
		

Crossrefs

Cf. A049664, A049863, A053606, A132584, A174500, A221073 (m = 2), A221074 (m = 3), A221075 (m = 4).

Programs

  • Mathematica
    LinearRecurrence[{0,1,0,18,0,-18,0,-1,0,1},{2,16,1,32,1,320,1,608,1,5776,1},40] (* or *) Join[{2},Riffle[LinearRecurrence[{1,18,-18,-1,1},{16,32,320,608,5776},20],1]] (* Harvey P. Dale, Jun 05 2023 *)

Formula

a(2*n) = 1 for n >= 1. For n >= 1 we have:
a(4*n - 3) = (sqrt(5) + 2)^(2*n) + (sqrt(5) - 2)^(2*n) - 2;
a(4*n - 1) = 1/sqrt(5)*{(sqrt(5) + 2)^(2*n + 1) + (sqrt(5) - 2)^(2*n + 1)} - 2.
a(4*n - 3) = 16*A049863(n) = 4*A132584(n);
a(4*n - 1) = 32*A049664(n) = 4*A053606(n).
O.g.f.: 2 + x^2/(1 - x^2) + 16*x*(1 + x^2)^2/(1 - 19*x^4 + 19*x^8 - x^12) = 2 + 16*x + x^2 + 32*x^3 + x^4 + 320*x^5 + ....
O.g.f.: (x^10-2*x^8-18*x^6+36*x^4-16*x^3+x^2-16*x-2) / ((x-1)*(x+1)*(x^4-4*x^2-1)*(x^4+4*x^2-1)). - Colin Barker, Jan 10 2014
Showing 1-3 of 3 results.