numbertheory_2pownm1prime_nprime
open: first valid proof sets the record
miniF2F · numbertheory · MIT
Copyright (c) Meta Platforms, Inc. and affiliates.
Statement
import Mathlib
theorem LeanGolf.minif2f.numbertheory_2pownm1prime_nprime
(n : ℕ)
(h₀ : 0 < n)
(h₁ : Nat.Prime (2^n - 1)) :
Nat.Prime nTrusted statement context
open BigOperators Real Nat Topology Rat