The areas / V12. Number theory
Mathlib.NumberTheory.PrimesCongruentOne
3 declarations and 1 deprecated aliases. Mathlib docs · Source
theorem Nat.exists_prime_gt_modEq_one E1 #
∀ {k : ℕ} (n : ℕ), k ≠ 0 → ∃ p, Nat.Prime p ∧ n < p ∧ p ≡ 1 [MOD k]
For any positive k : ℕ there exists an arbitrarily large prime p such that
p ≡ 1 [MOD k].
theorem Nat.frequently_atTop_modEq_one E1 #
∀ {k : ℕ}, k ≠ 0 → ∃ᶠ (p : ℕ) in Filter.atTop, Nat.Prime p ∧ p ≡ 1 [MOD k]
theorem Nat.infinite_setOfPred_prime_modEq_one E1 #
∀ {k : ℕ}, k ≠ 0 → {p | Nat.Prime p ∧ p ≡ 1 [MOD k]}.Infinite
For any positive k : ℕ there are infinitely many primes p such that p ≡ 1 [MOD k].
Deprecated aliases
| Name | New name | Since |
|---|---|---|
Nat.infinite_setOf_prime_modEq_one | Nat.infinite_setOfPred_prime_modEq_one | 2026-07-09 |