Euclid Numbers #
This file introduces the Euclid numbers as defined in [knuth1989concrete]. This is sequence A129871 in [oeis]
Implementation notes #
The reference [knuth1989concrete] names the sequence $(e_n)_{n\ge 1}$ as Euclid numbers, while [oeis] names it $(e_n)_{n\ge 0}$ as Sylvester's sequence. We chose to follow the notation from [knuth1989concrete].
Main results #
- Recurrence with a product of Euclid numbers.
- Co-primality of Euclid numbers.
- Explicit formula.
References #
- [Concrete Mathematics][knuth1989concrete]
- [The On-Line Encyclopedia of Integer Sequences][oeis]
The sequence of Euclid numbers $(e_n)_{n\ge 0}$.
Definition by a simple recurrence. The more explicit recurrence is proved in
Theorem euclid_prod_finset_add_one.
Equations
Instances For
The Euclid numbers satisfy the recurrence: $$ e_{n+1} = \prod_{i=1}^n e_i + 1. $$
Another expression of euclid_prod_finset_add_one for easier application when $n\ge 1$:
$$ e_n = \prod_{i=1}^{n-1} e_i + 1. $$
Euclid numbers are positive.
The Euclid numbers are strictly increasing: $e_n < e_{n+1}$, for all $n\in\mathbb{N}$.
The sequence
$$ \frac{1}{2^n}\log\left(e_n - \frac{1}{2}\right) $$
converges to $\log E$, where $E$ is the contant in the
explicit formula for the Euclid numbers euclid_eq_floor_constant_pow.
Instances For
$e_n \le E^{2^n} + \frac{1}{2}$ for all $n\in\mathbb{N}$.
$E^{2^n} + \frac{1}{2} < e_n + 1$ for all $n\in\mathbb{N}$.