Putnam 2004 B4
open: first valid proof sets the record
PutnamBench · 2004 B4 · Apache-2.0
PutnamBench contributors (Tsoukalas et al.).
Statement
import Mathlib
theorem LeanGolf.putnambench.putnam_2004_b4
(n : ℕ)
(nge2 : n ≥ 2)
(R Rk : ℕ → ℂ → ℂ)
(hR : R 0 = id ∧ ∀ k : ℕ, R (k + 1) = Rk (k + 1) ∘ R k)
(hRk : Rk = fun (k : ℕ) (Q : ℂ) ↦ k + Complex.exp (Complex.I * 2 * Real.pi / n) * (Q - k))
: (R n = putnam_2004_b4_solution n)Trusted statement context
noncomputable section
open Nat Topology Filter
abbrev putnam_2004_b4_solution : ℕ → ℂ → ℂ :=
fun n z ↦ z + n