
In recreational mathematics, an almost integer (or near-integer) is any number that is not an integer but is very close to one. Almost integers may be considered interesting when they arise in some context in which they are unexpected.
| \phi= | 1+\sqrt5 |
| 2 |
≈ 1.618
\begin{align} \phi17&=
| 3571+1597\sqrt5 | |
| 2 |
≈ 3571.00028\\[6pt] \phi18&=2889+1292\sqrt5 ≈ 5777.999827\\[6pt] \phi19&=
| 9349+4181\sqrt5 | |
| 2 |
≈ 9349.000107 \end{align}
The fact that these powers approach integers is non-coincidental, because the golden ratio is a Pisot–Vijayaraghavan number.
The ratios of Fibonacci or Lucas numbers can also make almost integers, for instance:
| \operatorname{Fib | |
| (360)}{\operatorname{Fib}(216)} |
≈ 1242282009792667284144565908481.999999999999999999999999999999195
| \operatorname{Lucas | |
| (361)}{\operatorname{Lucas}(216)} |
≈ 2010054515457065378082322433761.000000000000000000000000000000497
The above examples can be generalized by the following sequences, which generate near-integers approaching Lucas numbers with increasing precision:
a(n)=
| \operatorname{Fib | |
| (45 x 2 |
n)}{\operatorname{Fib}(27 x 2n)} ≈ \operatorname{Lucas}(18 x 2n)
a(n)=
| \operatorname{Lucas | |
| (45 x 2 |
n+1)}{\operatorname{Lucas}(27 x 2n)} ≈ \operatorname{Lucas}(18 x 2n+1)
Other occurrences of non-coincidental near-integers involve the three largest Heegner numbers:
e\pi\sqrt{43\phantom{0
e\pi\sqrt{67\phantom{0
e\pi\sqrt{
e\pi\sqrt{43\phantom{0
e\pi\sqrt{67\phantom{0
e\pi\sqrt{
21=3 ⋅ 7, 231=3 ⋅ 7 ⋅ 11, 744=24 ⋅ 31
e\pi\sqrt{163
Almost integers that involve the mathematical constants and e have often puzzled mathematicians. An example is:
e\pi-\pi=19.999099979189\ldots
k\geq2
\sim0.0003436.
\left(8\pi-2\right)e-\pi ≈ 1,
e\pi
e\pi ≈ 8\pi-2.
e\pi
7\pi ≈ 22
e\pi-\pi ≈ 20.
7\pi
Another example involving these constants is:
e+\pi+e\pi+e\pi+\pie=59.9994590558\ldots