/- 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. -/ import FormalConjecturesUtil

Erdős Problem 279

Reference: erdosproblems.com/279

namespace Erdos279

Let $k\geq 3$. Is there a choice of congruence classes $a_p\pmod{p}$ for every prime $p$ such that all sufficiently large integers can be written as $a_p+tp$ for some prime $p$ and integer $t\geq k$?

@[category research open, AMS 11] theorem declaration uses 'sorry'erdos_279 : answer(sorry) k : Nat, k 3 a : Nat Nat, N : Nat, ( p : Nat, p.Prime a p < p) n N, p : Nat, t k, p.Prime n = a p + t * p := True k 3, a N, (∀ (p : ), Nat.Prime p a p < p) n N, p, t k, Nat.Prime p n = a p + t * p All goals completed! 🐙 end Erdos279