Putnam 2023 A2
open: first valid proof sets the record
PutnamBench · 2023 A2 · Apache-2.0
PutnamBench contributors (Tsoukalas et al.).
Statement
import Mathlib
theorem LeanGolf.putnambench.putnam_2023_a2
(n : ℕ)
(hn : n > 0 ∧ Even n)
(p : Polynomial ℝ)
(hp : Polynomial.Monic p ∧ p.degree = 2*n)
(S : Set ℝ)
(hS : S = {x : ℝ | ∃ k : ℤ, x = k ∧ 1 ≤ |k| ∧ |k| ≤ n})
(hpinv : ∀ k ∈ S, p.eval (1/k) = k^2)
: {x : ℝ | x ≠ 0 ∧ p.eval (1/x) = x^2} \ S = putnam_2023_a2_solution nTrusted statement context
noncomputable section
open Nat
abbrev putnam_2023_a2_solution : ℕ → Set ℝ :=
fun n => {(1 : ℝ)/(factorial n), -(1 : ℝ)/(factorial n)}