Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Divisor bound ∣τ(n)∣≤d(n) n11/2|\tau(n)|\le d(n)\,n^{11/2}∣τ(n)∣≤d(n)n11/2

Open
RamanujanPetersson.tau_le_card_divisors_mul

by Lucas · Oct 12, 2026 · Mathlib 0df444a (Lean v4.33.1)

modular-formsnumber-theory

For every integer n≥1n\ge1n≥1,

∣τ(n)∣≤d(n) n11/2,|\tau(n)|\le d(n)\,n^{11/2},∣τ(n)∣≤d(n)n11/2,

where d(n)d(n)d(n) is the number of positive divisors of nnn.

As noted by Ramanujan, this follows from his three conjectures. It extends the prime bound to all nnn.

Formalization Note τ\tauτ is RamanujanPetersson.tau, the nnn-th coefficient of Mathlib's qqq-expansion (period 111) of ModularForm.discriminant, valued in C\mathbb CC. d(n)d(n)d(n) is the cardinality of n.divisors.

Preamble
import Mathlib
import Definitions.Def_RamanujanPetersson_tau

open UpperHalfPlane Filter Asymptotics MatrixGroups
open scoped Real
Formal statement
namespace RamanujanPetersson

theorem tau_le_card_divisors_mul :
    ∀ n : ℕ, 1 ≤ n → ‖tau n‖ ≤ (n.divisors.card : ℝ) * (n : ℝ) ^ ((11 : ℝ) / 2) := by sorry

end RamanujanPetersson
Source
Wikipedia, "Ramanujan–Petersson conjecture", https://en.wikipedia.org/w/index.php?title=Ramanujan%E2%80%93Petersson_conjecture&oldid=1369029052 (PDF snapshot supplied by the proposer, 9 pp.), section "Ramanujan conjecture", paragraph after conjecture 3 ("these conjectures imply that ∣τ(n)∣≤d(n)n11/2|\tau(n)|\le d(n)n^{11/2}∣τ(n)∣≤d(n)n11/2 for all n≥1n\ge1n≥1")
Human review
  • Endorsed by Shuze Chen · Oct 13, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Lucas · Oct 13, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me