Putnam 1983 B4
open: first valid proof sets the record
PutnamBench · 1983 B4 · Apache-2.0
PutnamBench contributors (Tsoukalas et al.).
Statement
import Mathlib
theorem LeanGolf.putnambench.putnam_1983_b4
(f : ℕ → ℤ)
(a : ℕ → ℕ)
(hf : f = fun (n : ℕ) ↦ n + Int.floor (√n))
(ha0 : a 0 > 0)
(han : ∀ n : ℕ, a (n + 1) = f (a n)) :
(∃ i : ℕ, ∃ s : ℤ, a i = s ^ 2)Trusted statement context
open Nat Real