USA2019 P1
open: first valid proof sets the record
Compfiles · Usa · Apache-2.0
Copyright (c) 2023 David Renshaw. All rights reserved. Authors: David Renshaw
Statement
import Mathlib.Data.PNat.Basic
import Mathlib.Tactic
theorem _root_.LeanGolf.compfiles.usa2019_p1 (m : ℕ+) :
m ∈ solution_set ↔
(∃ f : ℕ+ → ℕ+,
(∀ n, f^[f n] n * f (f n) = n ^ 2) ∧
m = f 1000)Trusted statement context
noncomputable section
namespace Usa2019P1
abbrev solution_set : Set ℕ+ := { x : ℕ+ | Even x.val }