lean-golf Lean 4 proof leaderboard

USA2008 P1

open: first valid proof sets the record

Compfiles · Usa · Apache-2.0
Copyright (c) 2024 The Compfiles Contributors. All rights reserved. Authors: Evan Chen

Statement

import Mathlib.Tactic
theorem _root_.LeanGolf.compfiles.usa2008_p1 (n : ℕ) (_hn : 0 < n) :
    ∃ k : Fin (n + 1) → ℕ,
      (∀ i, 1 < k i) ∧
      (∀ i j, i ≠ j → Nat.Coprime (k i) (k j)) ∧
      ∃ m, ∏ i : Fin (n + 1), k i = 1 + m * (m + 1)
Trusted statement context
namespace Usa2008P1