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-9 of 9 results.

A220335 A modified Engel expansion for sqrt(3) - 1.

Original entry on oeis.org

2, 3, 4, 2, 8, 14, 2, 98, 194, 2, 18818, 37634, 2, 708158978, 1416317954, 2, 1002978273411373058, 2005956546822746114, 2, 2011930833870518011412817828051050498, 4023861667741036022825635656102100994
Offset: 1

Views

Author

Peter Bala, Dec 12 2012

Keywords

Comments

This is the case p = 2 of a family of quadratic irrationals of the form (p - 1)*sqrt(p^2 - 1) - (p^2 - p - 1) whose modified Engel expansion, as defined below, has a predictable form. For other cases see A220336 (p = 3), A220337 (p = 4) and A220338 (p = 5).
The Engel expansion of a positive real number x in the half-open interval (0,1] is the unique nondecreasing sequence {e(1), e(2), e(3), ...} of positive integers such that x = 1/e(1) + 1/(e(1)*e(2)) + 1/(e(1)*e(2)*e(3)) + .... The terms in the Engel expansion of x are obtained from the iterates of the map g(x) = x*(1 + floor(1/x)) - 1 by means of the formula e(n) = 1 + floor(1/g^(n-1)(x)). Here g^(n)(x) = g(g^(n-1)(x)) denotes the n-th iterate of g(x) with the convention g^(0)(x) = x.
In a similar way, the modified Engel expansion of x belonging to (0,1] is a sequence {E(1), E(2), E(3), ...} of positive integers such that x = 1/E(1) + 1/(E(1)*E(2)) + 1/(E(1)*E(2)*E(3)) + ... whose terms are obtained from the iterates of the harmonic sawtooth map h(x) = floor(1/x)*g(x). The general formula is E(1) = 1 + floor(1/x) and for n >= 1, E(n) = floor(1/h^(n-2)(x))*(1 + floor(1/h^(n-1)(x))). For further details see the Bala link.

Crossrefs

Cf. A002812, A028257, A220336 (p = 3), A220337 (p = 4), A220338 (p = 5).

Formula

Let x = sqrt(3) - 1. Then a(1) = ceiling(1/x) and for n >= 2, a(n) = floor(1/h^(n-2)(x))*ceiling(1/h^(n-1)(x)), where h^(n)(x) denotes the n-th iterate of the harmonic sawtooth map h(x), with the convention h^(0)(x) = x.
a(3*n+2) = 1/2*{2 + (2 + sqrt(3))^(2^n) + (2 - sqrt(3))^(2^n)} and
a(3*n+3) = (2 + sqrt(3))^(2^n) + (2 - sqrt(3))^(2^n), both for n >= 0.
For n >= 0, a(3*n+1) = 2. For n >= 1, a(3*n+2) = 2*(A002812(n-1))^2 and a(3*n+3) = 4*(A002812(n-1))^2 - 2.
Recurrence equations:
For n >= 1, a(3*n+2) = 2*{a(3*n-1)^2 - 2*a(3*n-1) + 1} and
a(3*n+3) = 2*a(3*n+2) - 2.
Put P(n) = Product_{k=1..n} a(k). Then we have the infinite Egyptian fraction representation sqrt(3) - 1 = Sum_{n>=1} 1/P(n) = 1/2 + 1/(2*3) + 1/(2*3*4) + 1/(2*3*4*2) + ....

A220337 A modified Engel expansion for 3*sqrt(15) - 11.

Original entry on oeis.org

2, 5, 8, 2, 32, 62, 2, 1922, 3842, 2, 7380482, 14760962, 2, 108942999582722, 217885999165442, 2, 23737154316161495960243527682, 47474308632322991920487055362, 2, 1126904990058528673830897031906808442930637286502826475522
Offset: 1

Views

Author

Peter Bala, Dec 12 2012

Keywords

Comments

For a brief description of the modified Engel expansion of a real number see A220335.
Let p >= 2 be an integer and set Q(p) = (p - 1)*sqrt(p^2 - 1) - (p^2 - p - 1), so Q(4) = 3*sqrt(15) - 11. Iterating the identity Q(p) = 1/2 + 1/(2*(p+1)) + 1/(2*(p+1)*(2*p)) + 1/(2*(p+1)*(2*p))*Q(2*p^2-1) leads to a representation for Q(p) as an infinite series of unit fractions. The sequence of denominators of these unit fractions can be used to find the modified Engel expansion of Q(p). For further details see the Bala link. The present sequence is the case p = 4. For other cases see A220335 (p = 2), A220336 (p = 3) and A220338 (p = 5).

Crossrefs

Cf. A005828, A220335 (p = 2), A220336 (p = 3), A220338 (p = 5).

Formula

Define the harmonic sawtooth map h(x) := floor(1/x)*(x*ceiling(1/x) - 1). Let x = 3*sqrt(15) - 11. Then a(1) = ceiling(1/x) and for n >= 2, a(n) = floor(1/h^(n-2)(x))*ceiling(1/h^(n-1)(x)), where h^(n)(x) denotes the n-th iterate of the map h(x), with the convention h^(0)(x) = x.
a(3*n+2) = 1/2*{2 + (4 + sqrt(15))^(2^n) + (4 - sqrt(15))^(2^n)} and
a(3*n+3) = (4 + sqrt(15))^(2^n) + (4 - sqrt(15))^(2^n), both for n >= 0.
For n >= 0, a(3*n+1) = 2. For n >= 1, a(3*n+2) = 2*(A005828(n-1))^2 and a(3*n+3) = 4*(A005828(n-1))^2 - 2.
Recurrence equations:
For n >= 1, a(3*n+2) = 2*{a(3*n-1)^2 - 2*a(3*n-1) + 1} and
a(3*n+3) = 2*a(3*n+2) - 2.
Put P(n) = Product_{k=1..n} a(k). Then we have the infinite Egyptian fraction representation 3*sqrt(15) - 11 = Sum_{n>=1} 1/P(n) = 1/2 + 1/(2*5) + 1/(2*5*8) + 1/(2*5*8*2) + 1/(2*5*8*2*32) + ....

A220338 A modified Engel expansion for 8*sqrt(6) - 19.

Original entry on oeis.org

2, 6, 10, 2, 50, 98, 2, 4802, 9602, 2, 46099202, 92198402, 2, 4250272665676802, 8500545331353602, 2, 36129635465198759610694779187202, 72259270930397519221389558374402, 2, 2610701117696295981568349760414651575095962187244375364404428802
Offset: 1

Views

Author

Peter Bala, Dec 12 2012

Keywords

Comments

For a brief description of the modified Engel expansion of a real number see A220335.
Let p >= 2 be an integer and set Q(p) = (p - 1)*sqrt(p^2 - 1) - (p^2 - p - 1), so Q(5) = 8*sqrt(6) - 19. Iterating the identity Q(p) = 1/2 + 1/(2*(p+1)) + 1/(2*(p+1)*(2*p)) + 1/(2*(p+1)*(2*p))*Q(2*p^2-1) leads to a representation for Q(p) as an infinite series of unit fractions. The sequence of denominators of these unit fractions can be used to find the modified Engel expansion of Q(p). For further details see the Bala link. The present sequence is the case p = 5. For other cases see A220335 (p = 2), A220336 (p = 3) and A220337 (p = 4).

Crossrefs

Cf. A084765, A220335 (p = 2), A220336 (p = 3), A220337 (p = 4).

Formula

Define the harmonic sawtooth map h(x) := floor(1/x)*(x*ceiling(1/x) - 1). Let x = 8*sqrt(6) - 19. Then a(1) = ceiling(1/x) and for n >= 2, a(n) = floor(1/h^(n-2)(x))*ceiling(1/h^(n-1)(x)), where h^(n)(x) denotes the n-th iterate of the map h(x), with the convention h^(0)(x) = x.
a(3*n+2) = 1/2*{2 + (5 + 2*sqrt(6))^(2^n) + (5 - 2*sqrt(6))^(2^n)} and
a(3*n+3) = {(5 + 2*sqrt(6))^(2^n) + (5 - 2*sqrt(6))^(2^n)} both for n >= 0.
For n >= 0, a(3*n+1) = 2. For n >= 1, a(3*n+2) = 2*A084765(n)^2 and a(3*n+3) = 4*A085765(n)^2 - 2.
Recurrence equations:
For n >= 1, a(3*n+2) = 2*{a(3*n-1)^2 - 2*a(3*n-1) + 1} and
a(3*n+3) = 2*a(3*n+2) - 2.
Put P(n) = Product_{k=1..n} a(k). Then we have the infinite Egyptian fraction representation 8*sqrt(6) - 19 = Sum_{n>=1} 1/P(n) = 1/2 + 1/(2*6) + 1/(2*6*10) + 1/(2*6*10*2) + 1/(2*6*10*2*50) + ....

A220393 A modified Engel expansion of Pi.

Original entry on oeis.org

1, 1, 1, 8, 14, 2, 2, 3, 4, 5, 96, 115, 8, 2, 2, 2, 81, 160, 2, 6, 355, 140, 4, 12, 6, 2, 2, 3, 4, 3, 46, 66, 4, 2, 9, 16, 3, 4, 3, 4, 2, 2, 4, 9, 4, 2, 4, 33, 20, 2, 3, 4, 2, 2
Offset: 1

Views

Author

Peter Bala, Dec 13 2012

Keywords

Comments

The Engel expansion of a positive real number x is the unique nondecreasing sequence {e(1), e(2), e(3), ...} of positive integers such that x = 1/e(1) + 1/(e(1)*e(2)) + 1/(e(1)*e(2)*e(3)) + .... The terms in the Engel expansion of x are obtained from the iterates of the mapping g(x) := x*(1 + floor(1/x)) - 1 by means of the formula e(n) = 1 + floor(1/g^(n)(x)).
Let h(x) = floor(1/x)*g(x). This is called the harmonic sawtooth map by Crowley. Then the modified Engel expansion of a real number 0 < x <= 1 is a sequence {a(1), a(2), a(3), ...} of positive integers such that x = 1/a(1) + 1/(a(1)*a(2)) + 1/(a(1)*a(2)*a(3)) + ... whose terms are obtained from the iterates of the harmonic sawtooth map h(x) by the formulas a(1) = 1 + floor(1/x) and, for n >= 2, a(n) = floor(1/h^(n-2)(x))*{1 + floor(1/h^(n-1)(x))}. Here h^(n)(x) = h(h^(n-1)(x)) denotes the n-th iterate of the map h(x), with the convention that h^(0)(x) = x. For further details see the Bala link.
When the real number x > 1 with, say, floor(x) = m, the modified Engel expansion of x is found by first calculating the modified Engel expansion of x - m and then prepending a sequence of m 1's to this.

Crossrefs

Formula

Let x = Pi - 3. Then a(1) = a(2) = a(3) = 1, a(4) = ceiling(1/x) and, for n >= 1, a(n+4) = floor(1/h^(n-1)(x))*ceiling(1/h^(n)(x)).
Put P(n) = Product_{k = 1..n} a(k). Then we have the Egyptian fraction series expansion Pi = Sum_{n>=1} 1/P(n) = 1/1 + 1/1 + 1/1 + 1/8 + 1/(8*14) + 1/(8*14*2) + 1/(8*14*2*2) + .... For n >= 4, the error made in truncating this series to n terms is less than the n-th term.

A220398 A modified Engel expansion of the golden ratio (1/2)*(1 + sqrt(5)) (A001622).

Original entry on oeis.org

1, 2, 5, 8, 3, 4, 4, 6, 2, 162, 322, 2, 51842, 103682, 2, 5374978562, 10749957122, 2, 57780789062419261442, 115561578124838522882, 2, 6677239169351578707225356193679818792962, 13354478338703157414450712387359637585922, 2
Offset: 1

Views

Author

Peter Bala, Dec 13 2012

Keywords

Comments

See A220393 for a definition of the modified Engel expansion of a positive real number. For further details see the Bala link.

Crossrefs

Formula

Let h(x) = x*(floor(1/x) + (floor(1/x))^2) - floor(1/x). Let x = 1/2*(1 + sqrt(5)) - 1. Then a(1) = 1, a(2) = ceiling(1/x) and, for n >= 1, a(n+2) = floor(1/h^(n-1)(x))*(1 + floor(1/h^(n)(x))).
Recurrence equations: For n >= 3, a(3*n) = 2. For n >= 4 we have a(3*n+2) = 2*a(3*n+1) - 2 and a(3*n+1) = 2*(a(3*n-2) - 1)^2.
Put P(n) = Product_{k = 1..n} a(k). Then we have the Egyptian fraction series expansion sqrt(2) = Sum_{n>=1} 1/P(n) = 1 + 1/2 + 1/(2*5) + 1/(2*5*8) + 1/(2*5*8*3) + 1/(2*5*8*3*4) + .... For n >= 2, the error made in truncating this series to n terms is less than the n-th term.

A220394 A modified Engel expansion of exp(1).

Original entry on oeis.org

1, 1, 2, 3, 4, 5, 8, 2, 10, 99, 20, 2, 2, 2, 2, 2, 2, 3, 6, 4, 8, 14, 2, 2, 4, 6, 10, 252, 81, 30, 28, 31, 60, 4, 6, 3, 4, 2, 2, 2, 2, 19, 54, 8, 6, 22, 63, 4, 2, 4, 6, 2, 2, 5, 12, 4, 2, 2, 2, 2, 6, 15, 10, 348, 172, 2, 2, 4, 6, 4, 30, 207, 220
Offset: 1

Views

Author

Peter Bala, Dec 13 2012

Keywords

Comments

See A220393 for a description of the modified Engel expansion of a positive real number. For further details see the Bala link.
The Engel expansion for exp(1) is the sequence of positive integers A000027.

Crossrefs

Formula

Let h(x) = x*(floor(1/x) + (floor(1/x))^2) - floor(1/x) where x = exp(1) - 2, then a(1) = a(2) = 1, a(3) = ceiling(1/x) and, for n >= 1, a(n+3) = floor(1/h^(n-1)(x))*(1 + floor(1/h^(n)(x))).
Put P(n) = Product_{k = 1..n} a(k). Then we have the Egyptian fraction series expansion exp(1) = Sum_{n>=1} 1/P(n) = 1/1 + 1/1 + 1/2 + 1/(2*3) + 1/(2*3*4) + 1/(2*3*4*5) + 1/(2*3*4*5*8) + .... For n >= 3, the error made in truncating this series to n terms is less than the n-th term.

A220395 A modified Engel expansion of log(2).

Original entry on oeis.org

2, 3, 8, 6, 2, 4, 93, 60, 2, 2, 2, 2, 3, 12, 10, 2, 2, 14, 52, 6, 5, 8, 2, 2, 5, 8, 2, 2, 3, 4, 14, 273, 40, 2, 3, 4, 4, 12, 27, 16, 14, 26, 4, 6, 4, 6, 2, 3, 12, 10, 4, 6, 14, 65, 12, 8, 6, 2, 7, 90, 294, 40, 2, 2, 32, 155, 8, 7, 12, 2, 2, 2, 2, 4, 6, 3, 10
Offset: 1

Views

Author

Peter Bala, Dec 13 2012

Keywords

Comments

See A220393 for the definition of the modified Engel expansion of a positive real number. For further details see the Bala link.

Crossrefs

Formula

Let h(x) = x*(floor(1/x) + (floor(1/x))^2) - floor(1/x). Let x = log(2). Then a(1) = 1 + floor(1/x) and, for n >= 1, a(n+1) = floor(1/h^(n-1)(x))*(1 + floor(1/h^(n)(x))).
Put P(n) = Product_{k = 1..n} a(k). Then we have the Egyptian fraction series expansion log(2) = Sum_{n>=1} 1/P(n) = 1/2 + 1/(2*3) + 1/(2*3*8) + 1/(2*3*8*6) + 1/(2*3*8*6*2) + .... The error made in truncating this series to n terms is less than the n-th term.

A220396 A modified Engel expansion of the Euler-Mascheroni constant gamma.

Original entry on oeis.org

2, 7, 18, 4, 2, 2, 3, 1466, 1464, 9, 24, 4, 2, 9, 104, 60, 8, 2, 3, 6, 4, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 32, 30, 2, 13, 36, 6, 4, 3, 6, 6, 4, 4, 6, 2, 4, 6, 2, 4, 6, 9, 24, 4, 5, 8, 2, 2, 2, 2, 2, 3, 20
Offset: 1

Views

Author

Peter Bala, Dec 13 2012

Keywords

Comments

See A220393 for the definition of the modified Engel expansion of a positive real number. For further details see the Bala link.

Crossrefs

Formula

Let h(x) = x*(floor(1/x) + (floor(1/x))^2) - floor(1/x). Let x = gamma (see A001620). Then a(1) = 1 + floor(1/x) and, for n >= 1, a(n+1) = floor(1/h^(n-1)(x))*(1 + floor(1/h^(n)(x))).
Put P(n) = Product_{k = 1..n} a(k). Then we have the Egyptian fraction series expansion sqrt(2) = Sum_{n>=1} 1/P(n) = 1/2 + 1/(2*7) + 1/(2*7*18) + 1/(2*7*18*4) + 1/(2*7*18*4*2) + .... The error made in truncating this series to n terms is less than the n-th term.

A220397 A modified Engel expansion of sqrt(2).

Original entry on oeis.org

1, 3, 6, 4, 2, 2, 4, 6, 23, 66, 108, 7738, 290, 9, 24, 32, 30, 4, 6, 3, 6, 24, 22, 2, 6, 20, 6, 9, 16, 5, 12, 4, 12, 22, 5, 8, 3, 6, 4, 2, 2, 4, 6, 2, 2, 2, 2, 13, 24, 2, 3, 4, 2, 2, 2, 2, 23, 44, 21, 40, 8, 14, 3, 6, 12, 10, 11, 30, 4, 4, 9, 4, 3, 4, 2, 16, 45, 46, 528
Offset: 1

Views

Author

Peter Bala, Dec 13 2012

Keywords

Comments

See A220393 for a definition of the modified Engel expansion of a positive real number. For further details see the Bala link.

Crossrefs

Formula

Let h(x) = x*(floor(1/x) + (floor(1/x))^2) - floor(1/x). Let x = sqrt(2) - 1. Then a(1) = 1, a(2) = ceiling(1/x) and, for n >= 1, a(n+2) = floor(1/h^(n-1)(x))*(1 + floor(1/h^(n)(x))).
Put P(n) = Product_{k = 1..n} a(k). Then we have the Egyptian fraction series expansion sqrt(2) = Sum_{n>=1} 1/P(n) = 1 + 1/3 + 1/(3*6) + 1/(3*6*4) + 1/(3*6*4*2) + 1/(3*6*4*2*2) + .... For n >= 2, the error made in truncating this series to n terms is less than the n-th term.
Showing 1-9 of 9 results.