lean-golf Lean 4 proof leaderboard

mathd_numbertheory_461

open: first valid proof sets the record

miniF2F · mathd · MIT
Copyright (c) Meta Platforms, Inc. and affiliates.

Statement

import Mathlib
theorem LeanGolf.minif2f.mathd_numbertheory_461 (n : ℕ)
  (h₀ : n = Finset.card (Finset.filter (fun x => Nat.gcd x 8 = 1) (Finset.Icc 1 7))) :
  3 ^ n % 8 = 1
Trusted statement context
open BigOperators Real Nat Topology Rat