Fact-checked by Grok 2 weeks ago

Sylvester's sequence

Sylvester's sequence is an in , defined recursively starting with e_0 = 2 and e_{n} = e_{n-1}^2 - e_{n-1} + 1 for n \geq 1, or equivalently, each term is the product of all preceding terms plus one. The first few terms are 2, 3, 7, 43, 1807, 3263443, 10650056950807, and so on, forming a strictly increasing sequence of positive integers. Named after the James Joseph , the sequence was introduced in his 1880 paper on the theory of vulgar (common) fractions, where it arose in the study of representations. A defining property of Sylvester's sequence is that the sum of the reciprocals of its terms equals exactly 1: \sum_{n=0}^{\infty} \frac{1}{e_n} = 1. This makes it the expansion of 1 obtained by the , in which each subsequent denominator is the smallest integer such that its does not exceed the current remainder. The terms are pairwise coprime, meaning \gcd(e_i, e_j) = 1 for all i \neq j, which follows directly from the recursive construction since each term is congruent to 1 modulo the product of earlier terms. The sequence exhibits doubly exponential growth, with e_n \approx E^{2^{n+1}} where E \approx 1.2640847353 is a constant related to the over the terms. This rapid growth has connections to 's proof of the infinitude of primes, as the terms resemble Euclid numbers (products of prior primes plus one, but here generalized to prior terms). Sylvester's sequence appears in various number-theoretic contexts, including conjectures on primality (e.g., early terms are prime, but later ones are composite and square-free up to large indices) and irrationality criteria for series.

History and Overview

Historical Development

introduced what is now known as Sylvester's sequence in 1880 while serving as a professor of at . In his paper "On a Point in the Theory of Vulgar Fractions," published in the American Journal of Mathematics—a journal he helped establish at the university—Sylvester explored the sequence in the context of representing rational numbers as sums of unit fractions, known as Egyptian fractions. This work formed part of his broader investigations into Diophantine approximations, which sought precise rational approximations to real numbers and their applications to problems. Sylvester's formal definition of the sequence was novel, though it built on earlier ideas in expansions for fractions and proofs of the infinitude of primes. For instance, described a for decomposing rationals into s in his 1202 treatise , which prioritizes the largest possible unit fraction at each step. Similarly, Euclid's ancient proof of infinitely many primes in (c. 300 BCE) employed a recursive construction akin to the sequence's growth, generating new primes from products of previous ones plus one. Sylvester's contribution distinguished itself by explicitly defining the sequence to achieve the expansion of unity into distinct s, emphasizing its role in Diophantine analysis. Following its introduction, the sequence received further attention in the early , particularly in studies of Diophantine equations and fraction approximations. In 1922, David Raymond Curtiss examined properties of the sequence in relation to Diophantine problem, applying it to bound the number of divisors in sums and highlighting its utility in approximation theory. This work underscored the sequence's enduring relevance in , bridging Sylvester's initial insights with later developments in analytic techniques.

Basic Concept and Motivation

Sylvester's sequence emerges from the ancient problem of representing rational numbers, particularly 1, as sums of distinct s—a practice known as Egyptian fractions, which avoids common denominators to simplify in early mathematical systems. The motivation lies in finding efficient decompositions that use the minimal number of terms while ensuring the fractions are distinct and positive. This leads naturally to the , which at each step selects the largest possible unit fraction less than or equal to the remaining value, thereby minimizing the number of terms required for an exact representation. The sequence itself consists of positive integers constructed such that each subsequent term is one greater than the product of all preceding terms, a property that guarantees pairwise coprimality among the terms—meaning any two share no common prime factors greater than 1. This coprimality is crucial for applications in fraction expansions, as it prevents overlaps in denominators and facilitates unique s. Introduced by in his 1880 paper on vulgar fractions, the sequence provides a canonical example of how such constructions can yield elegant solutions to decomposition problems. Conceptually, Sylvester's sequence is intimately linked to the applied specifically to the fraction 1, where the denominators generated by successive greedy choices form the sequence itself. This process arises organically when seeking the "underapproximation" that keeps partial s strictly less than 1 until the infinite limit, producing an series of fractions whose reciprocals precisely to 1. For instance, the reciprocals of the first few terms—starting with 1/2, then adding 1/3, 1/7, and 1/43—yield partial sums like 0.5, approximately 0.833, 0.976, and 0.999, progressively approaching 1 without exceeding it, illustrating the sequence's role in bounding the expansion.

Definition and Construction

Recursive Definition

Sylvester's sequence \{s_n\}_{n=1}^\infty is defined recursively by the initial term s_1 = 2 and the relation s_{n+1} = s_n(s_n - 1) + 1 for n \geq 1. This recurrence can equivalently be expressed as s_{n+1} = 1 + \prod_{k=1}^n s_k, which the multiplicative inherent in the . To establish that all terms s_n are s greater than 1, proceed by . The base case holds since s_1 = 2 is an greater than 1. Assuming s_n is an greater than 1, then s_n - 1 \geq 1 is a positive , so s_{n+1} = s_n(s_n - 1) + 1 is the sum of the product of two positive s and 1, yielding an greater than s_n > 1. Thus, by , all s_n are s exceeding 1. Consecutive terms are coprime, as \gcd(s_n, s_{n+1}) = \gcd\left(s_n, s_n(s_n - 1) + 1\right) = \gcd(s_n, 1) = 1, since s_n(s_n - 1) + 1 \equiv 1 \pmod{s_n}. The recursion further ensures mutual coprimality among all terms: for m < n, s_n \equiv 1 \pmod{s_m} because each subsequent term is constructed as 1 plus a multiple of the prior product including s_m, implying \gcd(s_m, s_n) = 1. This property arises directly from the iterative form, guaranteeing that no prime divides more than one term in the sequence.

Initial Terms and Examples

The Sylvester's sequence is defined with initial term s_1 = 2, and each subsequent term given by s_{n+1} = 1 + \prod_{k=1}^n s_k. The first few terms are s_2 = 3, s_3 = 7, s_4 = 43, s_5 = 1807, and s_6 = 3263443, demonstrating the sequence's extremely rapid growth even in its early stages. For instance, the fourth term can be computed explicitly as s_4 = 1 + 2 \times 3 \times 7 = 43. A key property of the sequence is that all terms are pairwise coprime, meaning \gcd(s_m, s_n) = 1 for any distinct indices m and n. This can be verified with simple examples, such as \gcd(s_3, s_4) = \gcd(7, 43) = 1 or \gcd(s_2, s_5) = \gcd(3, 1807) = 1. This coprimality underpins connections to , where the reciprocal terms form a representation of unity. For example, the partial sum of the first three reciprocals is \frac{1}{2} + \frac{1}{3} + \frac{1}{7} = \frac{21}{42} + \frac{14}{42} + \frac{6}{42} = \frac{41}{42} = 1 - \frac{1}{2 \times 3 \times 7}, showing how the sum accumulates closely toward 1 while leaving a small remainder.

Core Mathematical Properties

Closed-Form Expression

A closed-form expression for the general term of Sylvester's sequence, starting with s_1 = 2, s_2 = 3, s_3 = 7, and so on, is given by s_n = \left\lfloor E^{2^n} + \frac{1}{2} \right\rfloor, where E \approx 1.2640847353053011 is Vardi's constant, the unique real number greater than 1 satisfying \sum_{n=1}^\infty E^{-2^n} = 1. This formula arises from the double-exponential growth of the sequence defined by the recurrence s_{n+1} = s_n(s_n - 1) + 1. For large n, s_{n+1} \approx s_n^2, so taking natural logarithms yields \ln s_{n+1} \approx 2 \ln s_n. The precise growth is \ln s_n \approx 2^n \ln E, refined through the exact product form s_n = 1 + \prod_{k=1}^{n-1} s_k and the property that \sum_{n=1}^\infty \frac{1}{s_n} = 1, which determines the base E via the infinite sum condition above, ensuring the floor function captures the integer terms precisely. Verification for small values confirms the expression: for n=1, \left\lfloor E^2 + \frac{1}{2} \right\rfloor = \left\lfloor 1.59791 + 0.5 \right\rfloor = \left\lfloor 2.09791 \right\rfloor = 2; for n=2, \left\lfloor E^4 + \frac{1}{2} \right\rfloor = \left\lfloor 2.55392 + 0.5 \right\rfloor = \left\lfloor 3.05392 \right\rfloor = 3; for n=3, \left\lfloor E^8 + \frac{1}{2} \right\rfloor = \left\lfloor 6.52264 + 0.5 \right\rfloor = \left\lfloor 7.02264 \right\rfloor = 7. The constant E is irrational, as established by applying the subspace theorem to the growth rate \alpha = \ln E of the sequence, proving \alpha (and thus E = e^\alpha) cannot be rational.

Asymptotic Growth

The terms of Sylvester's sequence grow double-exponentially with n, a property arising from the quadratic recurrence relation that approximately squares each successive term for large values. More precisely, \log s_n \approx 2^n \log E, where E \approx 1.2640847353053011 is the , highlighting the exponential growth in the logarithmic scale. This leads to the asymptotic relation s_n \sim E^{2^n} as n \to \infty, with relative error o(1), meaning s_n / E^{2^n} \to 1. Tight bounds follow from the closed-form approximation: |s_n - E^{2^n}| < \frac{1}{2}. The extraordinarily rapid growth has practical implications for computation; terms beyond s_6 = 3{,}263{,}443 or s_7 \approx 1.065 \times 10^{13} cannot be calculated directly using standard fixed-precision arithmetic and require big-integer implementations to handle the increasing digit lengths.

Connections to Egyptian Fractions

Unit Fraction Expansion of 1

Sylvester's sequence yields an explicit infinite Egyptian fraction representation of unity as the sum of distinct unit fractions whose denominators are the terms of the sequence itself:
$1 = \sum_{n=1}^{\infty} \frac{1}{s_n},
where s_1 = 2 and s_{n+1} = s_n(s_n - 1) + 1 for n \geq 1. This decomposition arises from the recursive construction of the sequence, ensuring that each $1/s_n is a unit fraction with integer denominator greater than the previous ones.
The equality holds in the limit due to a telescoping partial sum formula, which can be established by induction on the recurrence relation. Let S_n = \sum_{k=1}^n \frac{1}{s_k}. For the base case n=1, S_1 = \frac{1}{2}, and s_2 - 1 = 2, so S_1 = 1 - \frac{1}{s_2 - 1}. Assume S_n = 1 - \frac{1}{s_{n+1} - 1}. Then
S_{n+1} = S_n + \frac{1}{s_{n+1}} = 1 - \frac{1}{s_{n+1} - 1} + \frac{1}{s_{n+1}}.
Since s_{n+1} - 1 = s_n (s_n - 1) = \prod_{k=1}^n s_k by the defining property of the sequence,
S_{n+1} = 1 - \frac{1}{s_{n+1} - 1} + \frac{1}{s_{n+1}} = 1 - \frac{s_{n+1} - (s_{n+1} - 1)}{s_{n+1} (s_{n+1} - 1)} = 1 - \frac{1}{s_{n+1} (s_{n+1} - 1)} = 1 - \frac{1}{s_{n+2} - 1},
as s_{n+2} - 1 = s_{n+1} (s_{n+1} - 1). Thus, S_n = 1 - \frac{1}{s_{n+1} - 1} holds for all n. Given the doubly exponential growth of s_n, s_{n+1} \to \infty as n \to \infty, so S_n \to 1.
The denominators s_n in this expansion are distinct positive integers, as the sequence is strictly increasing for n \geq 1. Moreover, the terms s_n are pairwise coprime, ensuring no common factors across denominators and reinforcing the distinctness in the unit fraction representation. This property follows directly from the recursive definition, where each s_{n+1} \equiv 1 \pmod{s_n} and similarly modulo earlier terms.

Relation to the Greedy Algorithm

Sylvester's sequence arises directly from the application of the greedy algorithm to obtain an Egyptian fraction expansion of 1, where at each step the largest unit fraction strictly less than the current remainder is selected. The process begins with the initial value 1; the largest unit fraction less than 1 is \frac{1}{2}, leaving a remainder of \frac{1}{2}. For the remainder \frac{1}{2}, the largest unit fraction less than \frac{1}{2} is \frac{1}{3}, yielding a new remainder of \frac{1}{2} - \frac{1}{3} = \frac{1}{6}. Continuing, for \frac{1}{6}, the choice is \frac{1}{7} (since \frac{1}{6} is not strictly less than itself), with remainder \frac{1}{6} - \frac{1}{7} = \frac{1}{42}; the next term is then \frac{1}{43}, and so on. The denominators generated—2, 3, 7, 43, ...—precisely match the terms of Sylvester's sequence. The greedy choice at each step is formalized by selecting the denominator d = \left\lfloor \frac{1}{r} \right\rfloor + 1, where r is the current remainder, ensuring the unit fraction \frac{1}{d} < r. This rule produces the sequence because the remainder after the (n-1)-th term is r_{n-1} = \frac{1}{s_n - 1}, so d = \left\lfloor s_n - 1 \right\rfloor + 1 = s_n - 1 + 1 = s_n, confirming the n-th term inductively. To derive the recursive relation from the algorithm, note that subtracting \frac{1}{s_n} from r_{n-1} = \frac{1}{s_n - 1} gives the next remainder r_n = \frac{1}{s_n - 1} - \frac{1}{s_n} = \frac{1}{s_n(s_n - 1)}. The subsequent denominator is then s_{n+1} = \left\lfloor s_n(s_n - 1) \right\rfloor + 1 = s_n(s_n - 1) + 1 = s_n^2 - s_n + 1, matching the defining recursion of the sequence. This connection was noted by Sylvester in his original work on vulgar fractions. While Sylvester's sequence is specific to the expansion of 1 under this greedy procedure, the algorithm generalizes to any positive rational number less than 1, typically yielding a finite sum of distinct unit fractions that terminates when the remainder is itself a unit fraction. For 1, the strict inequality in the selection rule ensures an infinite expansion without termination.

Uniqueness and Structural Theorems

Uniqueness of the Sequence

Sylvester's sequence is the unique strictly increasing sequence of pairwise coprime integers e_1 = 2 < e_2 < \cdots with each e_n > 1 such that \sum_{n=1}^\infty \frac{1}{e_n} = 1. $$ This property arises from the sequence's construction via the [greedy algorithm](/page/Greedy_algorithm) for expressing 1 as an infinite sum of distinct unit fractions, where each denominator is chosen to maximize the term while ensuring the overall sum converges exactly to 1 and maintaining coprimality.[](https://math.osu.edu/sites/math.osu.edu/files/Egyptian_Fractions.pdf) To see why the sequence is unique, begin with the first term: the largest [unit fraction](/page/Unit_fraction) less than or equal to 1 is $\frac{1}{2}$, so $e_1 = 2$, leaving a [remainder](/page/Remainder) of $\frac{1}{2}$. For the next term, the largest [unit fraction](/page/Unit_fraction) at most $\frac{1}{2}$ is $\frac{1}{3}$, so $e_2 = 3$, with the partial [sum](/page/Sum) $\frac{1}{2} + \frac{1}{3} = \frac{5}{6}$ and [remainder](/page/Remainder) $\frac{1}{6}$. Inductively, suppose the first $n$ terms are fixed as in Sylvester's sequence, yielding [remainder](/page/Remainder) $r_n = \prod_{k=1}^n \frac{1}{e_k}$. The next term must be the smallest [integer](/page/Integer) $e_{n+1} > e_n$ such that $\frac{1}{e_{n+1}} \leq r_n$ and $e_{n+1}$ is coprime to all previous $e_k$, which forces $e_{n+1} = \left\lfloor \frac{1}{r_n} \right\rfloor + 1$. This choice matches the recursive definition $e_{n+1} = e_n^2 - e_n + 1$ and ensures the remainders decrease sufficiently to [sum](/page/Sum) exactly to 1 while preserving pairwise coprimality, as each new term is 1 more than a multiple of the product of prior terms. Any deviation, such as choosing a larger $e_{n+1}$, would leave a larger [remainder](/page/Remainder), preventing the [infinite](/page/Infinite) [sum](/page/Sum) from reaching exactly 1 without violating the increasing, coprime, or [integer](/page/Integer) conditions.[](https://math.osu.edu/sites/math.osu.edu/files/Egyptian_Fractions.pdf) This uniqueness extends to Sylvester's sequence being the fastest-growing such sequence where the partial sums of the reciprocals are rational and strictly less than 1 for finite prefixes, a property observed by Sylvester in the context of optimizing the growth for [Egyptian fraction](/page/Egyptian_fraction) expansions. ### Properties of Rapidly Growing Series Sylvester's sequence belongs to a class of [integer](/page/Integer) sequences defined recursively by $ s_1 = 2 $ and $ s_{n+1} = 1 + \prod_{k=1}^n s_k $ for $ n \geq 1 $, where each term exceeds the product of all preceding terms by one. For such sequences, the associated series $ \sum_{n=1}^\infty \frac{1}{s_n} $ converges to exactly 1, as the partial [sum](/page/Sum) up to $ n $ equals $ 1 - \frac{1}{\prod_{k=1}^n s_k} $, and the remainder term diminishes to zero.[](https://www.scientificlib.com/en/Mathematics/Numbers/SylvestersSequence.html)[](https://www.parabola.unsw.edu.au/sites/default/files/2024-02/vol56_no2_2.pdf) The double-exponential growth of the terms—arising from the recursive multiplication—implies that the products $ \prod_{k=1}^n s_k $ diverge extraordinarily fast, rendering the series finite despite consisting of positive unit fractions. This rapid escalation ensures that after just a few terms, the contributions become negligible, with the infinite sum reaching 1 in a manner far more efficient than slower-growing series. In contrast to the [harmonic](/page/Harmonic) series $ \sum \frac{1}{n} $, which diverges logarithmically due to its linear growth in denominators, Sylvester's series exemplifies the quickest possible [convergence](/page/Convergence) to 1 among expansions into distinct unit fractions, as its partial sums maximize the approximation from below at every finite stage.[](https://www.parabola.unsw.edu.au/sites/default/files/2024-02/vol56_no2_2.pdf)[](https://mathworld.wolfram.com/SylvestersSequence.html) A key theorem establishes that the partial sum $ \sum_{k=1}^n \frac{1}{s_k} $ provides the unique closest approximation to 1 from below using exactly $ n $ distinct unit fractions, outperforming any other such combination of denominators. This optimality underscores the sequence's role in achieving the minimal error for finite [Egyptian fraction](/page/Egyptian_fraction) representations approaching 1, highlighting its structural efficiency in [number theory](/page/Number_theory).[](https://arxiv.org/abs/math/0502247) ## Number-Theoretic Aspects ### Divisibility Properties A fundamental divisibility property of Sylvester's sequence $\{s_n\}_{n \geq 1}$, where $s_1 = 2$ and $s_{n+1} = 1 + \prod_{k=1}^n s_k$ for $n \geq 1$, is the [congruence relation](/page/Congruence_relation) $s_{n+1} \equiv 1 \pmod{s_n}$. This follows directly from the recursive definition, as $s_{n+1} - 1 = \prod_{k=1}^n s_k$, which is clearly divisible by $s_n$. More generally, for any integers $m > n \geq 1$, it holds that $s_m \equiv 1 \pmod{s_n}$. This generalization arises by [induction](/page/Induction) on the sequence terms: assuming the property for consecutive pairs, the product structure ensures the congruence propagates forward, since each subsequent term is congruent to 1 modulo all [prior](/page/Prior) terms. These modular relations imply that the terms of the sequence are pairwise coprime, meaning $\gcd(s_i, s_j) = 1$ for all $i \neq j$. To see this, suppose a prime $p$ divides both $s_i$ and $s_j$ with $i < j$. Then $s_j \equiv 1 \pmod{s_i}$ implies $s_j \equiv 1 \pmod{p}$, so $p$ divides $s_j - 1$. But since $p$ divides $s_j$, this yields $p$ divides 1, a contradiction. Thus, no prime divides more than one term in the sequence. Consider the partial products $p_n = \prod_{k=1}^n s_k$. By the recursive definition, $p_n = s_{n+1} - 1$, so $s_{n+1}$ divides $p_n + 1$. This relation underscores the sequence's structure, where each new term is one more than the product of all preceding terms, ensuring the divisibility ties between terms and their cumulative products.[](https://www.jstor.org/stable/2369261) As a consequence of pairwise coprimality, each term $s_n$ introduces prime factors that do not divide any earlier terms $s_k$ for $k < n$. Since the sequence grows rapidly and no primes are shared, the prime factors of $s_n$ are distinct from those of previous terms, contributing to the sequence's role in constructing infinitely many primes via its recursive construction. ### Factorizations of Terms The first four terms of Sylvester's sequence are prime numbers: $s_1 = 2$, $s_2 = 3$, $s_3 = 7$, and $s_4 = 43$. The fifth term is composite, factoring as $s_5 = 1807 = 13 \times 139$, where both factors are prime. The sixth term is again prime: $s_6 = 3263443$. Subsequent terms exhibit increasing compositeness, with multiple distinct prime factors each time, consistent with the sequence's mutual coprimality that ensures all prime factors are novel and not shared with prior terms.[](http://primerecords.dk/sylvester-factors.htm)[](https://oeis.org/A000058)[](https://oeis.org/A126263) The known factorizations of the initial terms are summarized in the following table: | Term | Value | Prime Factorization | |------|-------|---------------------| | $s_1$ | 2 | 2 | | $s_2$ | 3 | 3 | | $s_3$ | 7 | 7 | | $s_4$ | 43 | 43 | | $s_5$ | 1807 | $13 \times 139$ | | $s_6$ | 3263443 | 3263443 (prime) | | $s_7$ | 10650056950807 | $547 \times 607 \times 1033 \times 31051$ | | $s_8$ | 113423713055421844361000443 | $29881 \times 67003 \times 9119521 \times 6212157481$ | All listed factors are prime.[](http://primerecords.dk/sylvester-factors.htm)[](https://oeis.org/A126263) The seventh term was fully factored by the late 1990s using early computational number theory tools, while the eighth required further effort into the early 2000s. For larger indices, the doubly exponential growth of the terms—reaching hundreds of digits by $s_9$ and beyond—poses significant challenges, necessitating specialized algorithms like the elliptic curve method (ECM) and extensive distributed computing resources. As of 2020, complete factorizations are known up to $s_{10}$, but higher terms, such as $s_{11}$ and above, involve numbers with thousands or more digits, where only partial factorizations or small factors have been identified, leaving the full prime decompositions open problems in computational number theory. All known terms of the sequence are square-free, as their complete factorizations consist of distinct prime factors. However, it is unknown whether every term in the sequence is square-free. Patterns suggest a decreasing likelihood of primality for larger $s_n$, with each composite term contributing multiple new primes, but no formal conjecture on the primality density exists.[](http://primerecords.dk/sylvester-factors.htm)[](https://www.mersenneforum.org/forumdisplay.php?f=55)[](https://mathworld.wolfram.com/SylvestersSequence.html)[](https://oeis.org/A091335) ## Applications and Extensions ### In Diophantine Approximation This expansion is optimal in the sense that the partial sum of the first $n$ reciprocals provides the closest possible underapproximation to 1 among all sums of $n$ distinct positive unit fractions. Specifically, for any other choice of $n$ distinct positive integers $x_1 < x_2 < \cdots < x_n$, the inequality $\sum_{i=1}^n \frac{1}{x_i} \leq 1 - \frac{1}{s_n(s_n - 1)}$ holds, where $s_n$ is the $n$th term of the sequence, with equality only for the Sylvester choice.[](https://arxiv.org/abs/math/0502247) This optimality was established using inequalities such as Muirhead's to compare symmetric sums and confirm the greedy selection maximizes the partial sum at each step.[](https://arxiv.org/abs/math/0502247) The double-exponential growth of the sequence—where each term $s_{n+1} = s_n^2 - s_n + 1$ roughly squares the previous—ensures that partial sums approach 1 extraordinarily quickly, with error $\frac{1}{s_{n+1} - 1} < \frac{1}{s_n^2}$. This rapid convergence connects Sylvester's sequence to continued fraction theory, as the greedy Egyptian fraction process mirrors the continued fraction algorithm in selecting "best" approximations at each stage. The sequence's growth implies stringent bounds on how closely 1 can be approximated from below by finite Egyptian fractions: to achieve an error smaller than $\frac{1}{s_n(s_n - 1)}$, at least $n+1$ terms are required, highlighting the limitations and optimality of unit fraction sums in Diophantine contexts.[](https://www.jstor.org/stable/2369261) A key application lies in establishing lower bounds for the largest denominator in Egyptian fraction representations of rationals. For a rational $\frac{a}{N}$ with $\gcd(a, N) = 1$ and $1 \leq a < N$, any expansion into distinct unit fractions must include a denominator at least as large as a function growing with $N$. In particular, for prime $N = P$, the largest denominator $D(P)$ satisfies $D(P) > P \lceil \log_2 P \rceil$, and the [Sylvester sequence](/page/Sylvester's_sequence) provides extremal examples where the greedy method forces successively larger denominators to complete the expansion. These bounds arise from analyzing the remainder after partial sums and the necessity of covering the residual fraction without overlap, with the sequence illustrating the worst-case scenario for denominator size in minimal-term representations.[](https://users.renyi.hu/~p_erdos/1976-09.pdf) Historically, [James Joseph Sylvester](/page/James_Joseph_Sylvester) introduced the sequence in his 1880 study of vulgar (common) fractions, proving the uniqueness of the greedy [Egyptian fraction](/page/Egyptian_fraction) expansion for proper [rationals](/page/The_Rationals) less than 1. This work formalized the optimality of the [method](/page/Method).[](https://www.jstor.org/stable/2369261) ### Generalizations and Variants A natural generalization of Sylvester's sequence arises by starting with an integer $ s_1 = k > 1 $ and defining subsequent terms via $ s_{n+1} = 1 + \prod_{i=1}^n s_i $ for $ n \geq 1 $. The sum of the reciprocals $ \sum_{n=1}^\infty \frac{1}{s_n} $ converges to $ \frac{k-1}{k} $. For example, when $ k=3 $, the sequence begins 3, 4, 13, 157, ... (OEIS A082732), and the reciprocal sum is $ \frac{2}{3} $. This construction preserves the doubly [exponential growth](/page/Exponential_growth) and coprimality properties of the original [sequence](/page/Sequence), with each term coprime to all previous ones. Such sequences, termed gross $ x $-sequences in recent analyses where $ k = x+1 $, extend the framework to study related Diophantine properties and perfect powers.[](https://arxiv.org/abs/2412.00253)[](https://oeis.org/A082732) Another variant involves applying the [greedy algorithm](/page/Greedy_algorithm) for [Egyptian fraction](/page/Egyptian_fraction) expansions to a [rational number](/page/Rational_number) $ r < 1 $. At each step, the largest possible [unit fraction](/page/Unit_fraction) less than or equal to the [remainder](/page/Remainder) is subtracted, yielding a sequence of denominators with rapid growth similar to Sylvester's sequence. For $ r = 1 $, this recovers the standard Sylvester sequence exactly. For general $ r = p/q < 1 $, the resulting [infinite](/page/Infinite) greedy underapproximation—where [unit fractions](/page/Unit_fraction) are chosen to sum asymptotically to $ r $ from below—is eventually periodic or aligns with a shifted Sylvester sequence, ensuring the denominators grow doubly exponentially. This property has been leveraged to explore uniqueness in representations and asymptotic behaviors.[](https://math.osu.edu/sites/math.osu.edu/files/Egyptian_Fractions.pdf)[](https://arxiv.org/abs/2503.12277) Recent developments up to 2025 have focused on computational aspects of these generalizations, particularly for small $ r $, where [arbitrary precision arithmetic](/page/Arbitrary-precision_arithmetic) is essential due to the immense size of terms even for modest indices. For instance, analyses of [greedy](/page/Greedy) expansions for arbitrary [rationals](/page/The_Rationals) confirm that the sequences terminate or stabilize into Sylvester-like tails, enabling efficient computation via recursive product formulas in high-precision libraries. These extensions have implications for conjectures on [Egyptian fraction](/page/Egyptian_fraction) optimality and [irrationality](/page/Irrationality) measures of reciprocal sums.[](https://link.springer.com/article/10.1007/s10474-025-01566-8)[](https://arxiv.org/abs/2504.05933)

References

  1. [1]
    A000058 - OEIS
    A000058 - OEIS. Sylvester's sequence: a(n+1) = a(n)^2 - a(n) + 1, with a(0) = 2. (Formerly M0865 N0331) 142. 2, 3, 7, 43, 1807, 3263443, 10650056950807, ...
  2. [2]
    [PDF] On Sylvester's Sequence and some of its properties - Parabola
    Sylvester's Sequence, named after JJ Sylvester, starts with s0=1 and follows sn+1 = 1 + sk for all n ≥ 0. The first few terms are 1, 2, 3, 7, 43, 1807, etc.
  3. [3]
    [PDF] a117 integers 24 (2024) a note on sylvester's sequence
    Dec 23, 2024 · Congruence Properties of Sylvester's Sequence. It follows from the definition that Sn ≡ 1 (mod 42), for all n ≥ 3; Sn ≡ 1. (mod 1806), for ...
  4. [4]
    Sylvester's Sequence -- from Wolfram MathWorld
    (1) This sequence arises in Euclid's proof that there are an infinite number of primes.Missing: properties | Show results with:properties
  5. [5]
  6. [6]
    Egyptian Fractions
    The Egyptians of 3000 BC had an interesting way to represent fractions. Although they had a notation for 1 / 2 and 1 / 3 and 1 / 4 and so on.
  7. [7]
    On Kellogg's Diophantine Problem - jstor
    ON KELLOGG'S DIOPHANTINE PROBLEM.' By D. R. CURTISS, Northwestern University. i. Kellogg's Problem. Two Applications. In a recent number of the. MONTHLY,2 ...
  8. [8]
    On Kellogg's Diophantine Problem - Taylor & Francis Online
    Mar 8, 2018 · On Kellogg's Diophantine Problem. D. R. CurtissNorthwestern University. Pages 380-387 | Published online: 08 Mar 2018. Cite this article; https ...
  9. [9]
    [PDF] Egyptian fractions, Sylvester's sequence, and the Erdős ... - OSU Math
    Aug 1, 2011 · Sylvester, J. J. (1880). "On a point in the theory of vulgar fractions". American. Journal of Mathematics 3 (4): 332–335. • Vardi, I. "Are ...
  10. [10]
    [PDF] Irrationality of Growth Constants Associated with Polynomial ...
    Another well-known example is Sylvester's sequence (A000058 in the OEIS), which is given ... 1 y0. +. 1 y1. +. 1 y2+ ··· +. 1 yn. < 1. There is also a pseudo- ...
  11. [11]
    None
    ### Summary of Sylvester's Sequence from "Some Doubly Exponential Sequences" by Aho and Sloane
  12. [12]
    A076393 - OEIS
    Knuth and Oren Patashnik, Concrete Mathematics. ... Zheng Li and Quanyu Tang, On a conjecture of Erdős and Graham about the Sylvester's sequence, arXiv:2503.12277 ...<|control11|><|separator|>
  13. [13]
    (PDF) Some Doubly Exponential Sequences - ResearchGate
    Aug 9, 2025 · PDF | On Jan 1, 1973, A. V. Aho and others published Some Doubly Exponential Sequences | Find, read and cite all the research you need on ...
  14. [14]
  15. [15]
    Sylvester's sequence - Scientific Library
    In number theory, Sylvester's sequence is an integer sequence in which each member of the sequence is the product of the previous members, plus one. The first ...
  16. [16]
    Approximating 1 from below using $n$ Egyptian fractions - arXiv
    Feb 11, 2005 · Title:Approximating 1 from below using n Egyptian fractions. Authors:K. Soundararajan. View a PDF of the paper titled Approximating 1 from ...
  17. [17]
    Factorization of Sylvester's sequence - Prime Records
    Aug 27, 2007 · In 1991 Ilan Vardi listed the prime factors ... Ken's blog by Ken Takusagawa, Factoring Sylvester's sequence and Sylvester 10th factored.
  18. [18]
    A126263 - OEIS
    List of primes generated by factoring successive integers in Sylvester's sequence (A000058). 7. 2, 3, 7, 43, 13, 139, 3263443, 547, 607, 1033, 31051 ...
  19. [19]
  20. [20]
    [PDF] Denominators of Egyptian Fractions
    rediscovered and more deeply investigated by Sylvester [7] in 1880 . Since ... SYLVESTER, On a point in the theory of vulgar fractions, Amer. J. Math ...
  21. [21]
    On powers of the diophantine function $\star:x\mapsto x(x+1) - arXiv
    Nov 29, 2024 · ... OEIS, and that \gamma_\star(2) is the sequence A082732 in the OEIS. Theorem 3. For every integer x\ge1 there is a prime p(x) that divides ...
  22. [22]
    A082732 - OEIS
    OFFSET. 1,2 · COMMENTS. The LCM is in fact the product of all previous terms. · LINKS. Table of n, a(n) for n=1.. · FORMULA. For n>=3, a(n+1) = a(n)^2 - a(n) + 1.
  23. [23]
    On a conjecture of Erdős and Graham about the Sylvester's sequence
    Mar 15, 2025 · Let \{u_n\}_{n=1}^{\infty} be the Sylvester's sequence (sequence A000058 in the OEIS), and let a_1 < a_2 < \cdots be any other positive integer ...<|control11|><|separator|>
  24. [24]
    Generalizing a conjecture of Erdős and Graham via best Egyptian ...
    Oct 13, 2025 · Soundararajan, Approximating 1 from below using n Egyptian fractions, arXiv:math/0502247 (2005). J. J. Sylvester, On a point in the theory ...
  25. [25]
    Irrationality of the reciprocal sum of doubly exponential sequences
    Apr 8, 2025 · We prove that for almost every real number \alpha > 1, sequences asymptotic to \alpha^{2^n} have irrational reciprocal sums.Missing: constant | Show results with:constant