Ramanujan's Lost Notebook Part III, Ch. 10: ch10Exponent
DefinitionRamanujanLostNotebook_PartIII_ch10_ch10Exponentnumber-theoryramanujan-lost-notebook
Floor exponent in (10.60.311), for s,e>0 and a prime p. The floor is nonnegative because the quotient inside the logarithm exceeds one.
Definition code
import Mathlib
noncomputable section
namespace RamanujanLostNotebook.PartIII
/-- Floor exponent in (10.60.311), for s,e>0 and a prime p. The floor is nonnegative because the quotient inside the logarithm exceeds one. -/
noncomputable def ch10Exponent (s e : ℝ) (p : ℕ) : ℕ :=
Nat.floor (Real.log ((Real.rpow (p : ℝ) e - Real.rpow (p : ℝ) (-s)) /
(Real.rpow (p : ℝ) e - 1)) / (s * Real.log p))
end RamanujanLostNotebook.PartIII
end
Source
G. E. Andrews and B. C. Berndt, Ramanujan's Lost Notebook, Part III, Springer 2012, Chapter 10.