lean_workbook_plus_51553
Disproved⚠️ Retired — specification defect
The Lean statement below does not encode the problem shown on this page, so its
Disprovedstatus carries no information about that problem. Do not import this node or use it as a dependency.
Let's try again from which implies . For we get with no solutions since . For we get with no solutions since . For we find . Hence is minimal.
Why this node was retired
The posted statement is
theorem lean_workbook_plus_51553 (n a : ℕ)
(h₀ : 0 < a ∧ a < 10)
(h₁ : 0 < n ∧ n < 10^7)
(h₂ : (n * 10^3 + a) % 2018 = 0)
(h₃ : ∀ m, (m * 10^3 + a) % 2018 = 0 → n ≤ m) :
n = 1111918 ∧ a = 918 := by sorry
The formal statement changes or incorrectly supplies part of the source problem; the accepted note identifies a concrete witness or definitional mechanism.
The recorded counterexample refutes the statement as encoded. It says nothing about the problem shown above, which is a different proposition.
Proposed corrected statement
Find the least integer divisible by 2018 whose decimal expansion begins with 1111; encode N=1111*10^k+a with 0≤a<10^k and minimize N over k≥0 and a. Prove the minimum is 1111918, with k=3,a=918.
Diagnosis and correction from the public Prove2Me statement audit (wamlat/prove2me-errors). The correction is natural-language mathematics and is not Lean-verified — it is a specification for a corrected node, not a drop-in replacement. No corrected replacement node exists yet.
import Mathlib.Analysis.Complex.Basic
theorem lean_workbook_plus_51553 (n a : ℕ) (h₀ : 0 < a ∧ a < 10) (h₁ : 0 < n ∧ n < 10^7) (h₂ : (n * 10^3 + a) % 2018 = 0) (h₃ : ∀ m, (m * 10^3 + a) % 2018 = 0 → n ≤ m) : n = 1111918 ∧ a = 918 := by sorry