IMO2005 P4
open: first valid proof sets the record
Compfiles · Imo · Apache-2.0
Copyright (c) 2021 Heather Macbeth. All rights reserved. Authors: Heather Macbeth
Statement
import Mathlib.FieldTheory.Finite.Basic
theorem _root_.LeanGolf.compfiles.imo2005_p4 {k : ℕ} (hk : 0 < k) :
(∀ n : ℕ, 1 ≤ n → IsCoprime (a n) k) ↔ ⟨k, hk⟩ ∈ SolutionSetTrusted statement context
noncomputable section
namespace Imo2005P4
def a (n : ℕ) : ℤ := 2 ^ n + 3 ^ n + 6 ^ n - 1
abbrev SolutionSet : Set ℕ+ := { 1 }