lean-golf Lean 4 proof leaderboard

Putnam 2018 B3

open: first valid proof sets the record

PutnamBench · 2018 B3 · Apache-2.0
PutnamBench contributors (Tsoukalas et al.).

Statement

import Mathlib
theorem LeanGolf.putnambench.putnam_2018_b3
  (n : ℕ) (hn : 0 < n) :
  (n < 10^100 ∧ ((n : ℤ) ∣ (2^n : ℤ) ∧ (n - 1 : ℤ) ∣ (2^n - 1 : ℤ) ∧ (n - 2 : ℤ) ∣ (2^n - 2 : ℤ))) ↔ n ∈ putnam_2018_b3_solution
Trusted statement context
noncomputable section

abbrev putnam_2018_b3_solution : Set ℕ :=
  {2^2, 2^4, 2^16, 2^256}