Show full file and definitions
/-
Copyright 2026 The Formal Conjectures Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-/
module
public import FormalConjecturesUtil
public import FormalConjectures.ErdosProblems.«689»
/-!
# Ben Green's Open Problem 45
Can we pick residue classes $a_p \pmod{p}$, one for each prime $p \leq N$,
such that every integer $\leq N$ lies in at least 10 of them?
*References:*
- [Ben Green's Open Problem 45](https://people.maths.ox.ac.uk/greenbj/papers/open-problems.pdf#problem.45)
- [erdosproblems.com/689](https://www.erdosproblems.com/689)
The version of this problem with $10$ replaced by $2$ is `Erdos689.erdos_689` in
`FormalConjectures.ErdosProblems.«689»`.
-/
@[expose] public section
namespace Green45
/--
Can we pick residue classes $a_p \pmod{p}$, one for each prime $p \leq N$, such that every
integer $\leq N$ lies in at least $10$ of them?
Erdős remarks that he does not know how to answer it with $10$ replaced by $2$;
this is `Erdos689.erdos_689`.
-/
@[category research open, question, AMS 11]
theorem green_45 :
∀ᶠ N in .atTop, ∃ a : ℕ → ℕ, ∀ m ∈ Finset.Icc 1 N,
10 ≤ (Finset.Icc 1 N |>.filter fun p => p.Prime ∧ a p ≡ m [MOD p]).card := by
sorry
end Green45