LeanPool.LatticeTriangle.Solution #
The largest prime factor of n, or 0 if n has no prime factors (i.e. n ≤ 1).
Equations
Instances For
The truncated obtuse region H_n(η): integer pairs (p, q) with η * n ≤ p,
η * n ≤ q, p + q < n / 2, and gcd(p, q, n) = 1.
Equations
Instances For
Equations
The counting function S(p, q): the number of units a ∈ (ZMod n)ˣ for which both a * p
and a * q land in the initial intervals intervalSet n (2p-1) and intervalSet n (2q-1).
Equations
- One or more equations did not get rendered due to their size.
Instances For
The bad pairs: pairs of truncatedObtuseRegion n η with gcd(q, P⁺(n)) = 1 and
countingFunctionS n p q < 5, where P⁺(n) = largestPrimeFactor n.
Equations
- badPairsSet n η = {pq : ℤ × ℤ | pq ∈ truncatedObtuseRegion n η ∧ pq.2.gcd ↑(largestPrimeFactor n) = 1 ∧ countingFunctionS n pq.1 pq.2 < 5}
Instances For
A relaxed family of bad pairs, replacing countingFunctionS n p q < 5 by
(countingFunctionS n p q : ℝ) < η ^ 2 / 2 * φ(n).
Equations
Instances For
The complex-valued indicator function of intervalSet n m on ZMod n.
Equations
- intervalIndicator n m = (intervalSet n m).indicator fun (x : ZMod n) => 1
Instances For
The Ramanujan sum c_n(t), written via the standard additive character of ZMod n.
Equations
- ramanujanSum n t = ∑ a : (ZMod n)ˣ, ZMod.stdAddChar (↑a * ↑t)
Instances For
The error term E_{P₀}(p, q): the contribution of frequencies (k, l) with
P ^ (α - 1) ∣ k * p + l * q but P ^ α ∤ k * p + l * q to the Fourier expansion.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The error term E_{P^α}(p, q): the contribution of nonzero frequencies (k, l) with
P ^ α ∣ k * p + l * q to the Fourier expansion of countingFunctionS.
Equations
- One or more equations did not get rendered due to their size.