Erdős Problem #367: Consecutive Powerful Parts #
We prove that limsup_{n→∞} B₂(n)·B₂(n+1)·B₂(n+2) / (n²·log n) = ∞,
where B₂(m) = ∏_{p^e ∥ m, e≥2} p^e is the powerful (2-full) part of m.
Equivalently (the cofinal form, which is what makes it a limsup rather than a
mere sup): ∀ M : ℝ, ∀ N : ℕ, ∃ n ≥ N, B₂(n) * B₂(n+1) * B₂(n+2) > M * n² * log n,
i.e. the ratio exceeds every M for arbitrarily large n.
Strategy #
We use the Pell equation x² - 8y² = 1 (fundamental solution (3,1)) to produce triples
(n, n+1, n+2) where n = 8y² is powerful, n+1 = x² is powerful, and n+2 = x²+1
has a large powerful part thanks to the algebraic structure of ℤ[√2].
What is proved #
All lemmas and theorems are fully proved with no sorry statements.
#print axioms erdos367 shows only the three standard axioms:
propext, Classical.choice, Quot.sound.
Powerful part #
The powerful (2-full) part of m: ∏_{p^e ∥ m, e ≥ 2} p^e.
Equations
- Erdos367.powerfulPart m = m.factorization.prod fun (p e : ℕ) => if e ≥ 2 then p ^ e else 1
Instances For
A number is powerful if every prime factor has exponent ≥ 2.
Equations
- Erdos367.IsPowerful m = ∀ (p : ℕ), Nat.Prime p → p ∣ m → 2 ≤ m.factorization p
Instances For
Pell sequence for x² - 8y² = 1 #
X component of Pell solutions for x² - 8y² = 1.
Equations
- Erdos367.pellX j = (Erdos367.pellXY j).1
Instances For
Y component of Pell solutions for x² - 8y² = 1.
Equations
- Erdos367.pellY j = (Erdos367.pellXY j).2
Instances For
Lower bound: j ≤ Y_j. The Pell Y-sequence grows at least linearly, so the
witness index j can be pushed arbitrarily large.
The triple (n_j, n_j + 1, n_j + 2) #
n_j = 8 · Y_j², a powerful number for j ≥ 1.
Equations
- Erdos367.pellN j = (8 * Erdos367.pellY j ^ 2).toNat
Instances For
Lower bound: j ≤ n_j. Since n_j = 8·Y_j² and j ≤ Y_j, the witness n_j
grows at least linearly, so it exceeds any prescribed threshold.
L1. B₂(n_j) = n_j for j ≥ 1: n_j = 8·Y_j² is powerful.
L2. B₂(n_j + 1) = n_j + 1: n_j + 1 = X_j² is a perfect square.
For j ≥ 1, the triple product simplifies using L1 and L2.
The algebraic BOOST #
For a prime p ≡ 5 mod 8, the fundamental unit α = 3 + √8 of ℤ[√8] satisfies
α^{(p+1)/2·p} ≡ -1 mod p² in ℤ[√8]. In concrete terms: with L = (p+1)/2 · p,
pellX L ≡ -1 (mod p²) and pellY L ≡ 0 (mod p²).
Proof sketch: Since p ≡ 5 mod 8, (2/p) = -1 (Legendre symbol), so p is inert
in ℤ[√2]. The Frobenius on ℤ[√2]/p ≅ 𝔽_{p²} sends √2 ↦ -√2, giving
(1+√2)^p ≡ 1-√2 = -(1+√2)^{-1} (mod p), hence α^{(p+1)/2} ≡ -1 (mod p).
Hensel lifting (via the structure of (ℤ[√2]/p^a)×) gives α^{(p+1)/2·p} ≡ -1 (mod p²).
From BOOST to divisibility of n_j + 2 #
Key lemma and main theorem #
Assembly + Divergence (combined in erdos367_key) #
Given a finite set S of primes ≡ 5 mod 8, form
L = lcm_{p∈S}((p+1)/2 · p) (odd), set j = (L+1)/2. By a generalized BOOST
(extending pell_boost to odd multiples via α^{kL₀} = (α^{L₀})^k ≡ (-1)^k),
p² ∣ n_j + 2 for each p ∈ S. Since the p² are coprime,
B₂(n_j+2) ≥ ∏_{p∈S} p².
The ratio ∏ p² / log(n_j) grows as (1/log α) · ∏ 2p/(p+1) → ∞,
since each factor 2p/(p+1) > 1 and there are infinitely many such primes
(Dirichlet: Nat.setOf_prime_and_eq_mod_infinite in Mathlib).
Helper lemmas for erdos367_key #
Main theorem (Erdős #367). For every M : ℝ and every threshold N : ℕ,
there exists n ≥ N such that B₂(n) · B₂(n+1) · B₂(n+2) > M · n² · log(n).
Because the bound holds for arbitrarily large n, this is the genuine
limsup_{n→∞} B₂(n)·B₂(n+1)·B₂(n+2) / (n²·log n) = ∞, not merely a supremum:
the ratio exceeds every M cofinally often.