Putnam 1992 A4
open: first valid proof sets the record
PutnamBench · 1992 A4 · Apache-2.0
PutnamBench contributors (Tsoukalas et al.).
Statement
import Mathlib
theorem LeanGolf.putnambench.putnam_1992_a4
(f : ℝ → ℝ)
(hfdiff : ContDiff ℝ ⊤ f)
(hf : ∀ n : ℕ, n > 0 → f (1 / n) = n ^ 2 / (n ^ 2 + 1))
: (∀ k : ℕ, k > 0 → iteratedDeriv k f 0 = putnam_1992_a4_solution k)Trusted statement context
noncomputable section
open Topology Filter Nat Function
abbrev putnam_1992_a4_solution : ℕ → ℝ :=
fun k ↦ ite (Even k) ((-1) ^ (k / 2) * factorial k) 0