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