Ramanujan's two-sided sixth-root bound for the gamma function
OpenRamanujanLostNotebook.PartIV.entry_4_5_1_aFor real : . Differs from the printed source: the entry is printed for ; we state the range covered by the book's proof (restriction ours); also the Location Guide's listing of this entry under manuscript page 199 appears to be a slip for page 339.
Discrepancy from the printed source. Book, pp. 117-118, Entry 4.5.1 / (4.5.2), prints the inequality for x >= 0. We state it for x >= 1, the range covered by the proof presented in the book (Karatsuba; the part 1 < x <= 4.21 is itself referred to Karatsuba's computations); 0 < x < 1 is credited to Alzer without proof. Numerically the inequality also holds on (0,1), so this is a restriction to what the book proves, not a claim that the print is wrong. The restriction is ours. Separately, the book's Location Guide (p. 413) lists Entry 4.5.1 under manuscript page 199 as well as 339; the chapter text places it on page 339, so the page-199 line appears to be a slip (our reading).
import Mathlib
namespace RamanujanLostNotebook.PartIV
theorem entry_4_5_1_a (x : ℝ) (hx : 1 ≤ x) :
Real.sqrt Real.pi * (x / Real.exp 1) ^ x *
(8 * x ^ (3 : ℕ) + 4 * x ^ (2 : ℕ) + x + 1 / 100) ^ ((1 : ℝ) / 6) <
Real.Gamma (x + 1) ∧
Real.Gamma (x + 1) <
Real.sqrt Real.pi * (x / Real.exp 1) ^ x *
(8 * x ^ (3 : ℕ) + 4 * x ^ (2 : ℕ) + x + 1 / 30) ^ ((1 : ℝ) / 6) := by sorry
end RamanujanLostNotebook.PartIV