Sylvester's Sequence

DOWNLOAD Mathematica Notebook

The sequence defined by e_0=2 and the quadratic recurrence equation

 e_n=1+product_(i=0)^(n-1)e_i=e_(n-1)^2-e_(n-1)+1.
(1)

This sequence arises in Euclid's proof that there are an infinite number of primes. The proof proceeds by constructing a sequence of primes using the recurrence relation

 e_(n+1)=e_0e_1...e_n+1
(2)

(Vardi 1991). Amazingly, there is a constant

 E=1/2sqrt(6)exp{sum_(j=1)^infty2^(-j-1)ln[1+(2e_j-1)^(-2)]}=1.2640847353...
(3)

(OEIS A076393) such that

 e_n=|_E^(2^(n+1))+1/2_|
(4)

(Aho and Sloane 1973, Vardi 1991, Graham et al. 1994). The first few numbers in Sylvester's sequence are 2, 3, 7, 43, 1807, 3263443, 10650056950807, ... (OEIS A000058). The e_n satisfy

 sum_(n=0)^infty1/(e_n)=1.
(5)

In addition, if 0<x<1 is an irrational number, then the nth term of an infinite sum of unit fractions used to represent x as computed using the greedy algorithm must be smaller than 1/e_n.

The n of the first few prime e_n are 0, 1, 2, 3, 5, ..., corresponding to 2, 3, 7, 43, 3263443, ... (OEIS A014546). Vardi (1991) gives a lists of factors less than 5×10^7 of e_n for n<=200 and shows that e_n is composite for 6<=n<=17. Furthermore, all numbers less than 2.5×10^(15) in Sylvester's sequence are squarefree, and no squareful numbers in this sequence are known (Vardi 1991).

Wolfram Web Resources

Mathematica »

The #1 tool for creating Demonstrations and anything technical.

Wolfram|Alpha »

Explore anything with the first computational knowledge engine.

Wolfram Demonstrations Project »

Explore thousands of free applications across science, mathematics, engineering, technology, business, art, finance, social sciences, and more.

Computerbasedmath.org »

Join the initiative for modernizing math education.

Online Integral Calculator »

Solve integrals with Wolfram|Alpha.

Step-by-step Solutions »

Walk through homework problems step-by-step from beginning to end. Hints help you try the next step on your own.

Wolfram Problem Generator »

Unlimited random practice problems and answers with built-in Step-by-step solutions. Practice online or make a printable study sheet.

Wolfram Education Portal »

Collection of teaching and learning tools built by Wolfram education experts: dynamic textbook, lesson plans, widgets, interactive Demonstrations, and more.

Wolfram Language »

Knowledge-based programming for everyone.