Documentation

Mathlib.NumberTheory.PrimesCongruentOne

Primes congruent to one #

We prove that, for any positive k : ℕ, there are infinitely many primes p such that p ≡ 1 [MOD k].

theorem Nat.exists_prime_gt_modEq_one {k : } (n : ) (hk0 : k 0) :
∃ (p : ), p.Prime n < p k.ModEq p 1

For any positive k : ℕ there exists an arbitrarily large prime p such that p ≡ 1 [MOD k].

theorem Nat.frequently_atTop_modEq_one {k : } (hk0 : k 0) :
∃ᶠ (p : ) in Filter.atTop, p.Prime k.ModEq p 1
theorem Nat.infinite_setOf_prime_modEq_one {k : } (hk0 : k 0) :
{p : | p.Prime k.ModEq p 1}.Infinite

For any positive k : ℕ there are infinitely many primes p such that p ≡ 1 [MOD k].