Putnam 2007 B3
open: first valid proof sets the record
PutnamBench · 2007 B3 · Apache-2.0
PutnamBench contributors (Tsoukalas et al.).
Statement
import Mathlib
theorem LeanGolf.putnambench.putnam_2007_b3
(x : ℕ → ℝ)
(hx0 : x 0 = 1)
(hx : ∀ n : ℕ, x (n + 1) = 3 * (x n) + ⌊(x n) * Real.sqrt 5⌋)
: (x 2007 = putnam_2007_b3_solution)Trusted statement context
noncomputable section
open Set Nat Function
noncomputable abbrev putnam_2007_b3_solution : ℝ :=
(2 ^ 2006 / Real.sqrt 5) * (((1 + Real.sqrt 5) / 2) ^ 4017 + ((1 + Real.sqrt 5) / 2) ^ (-4017 : ℤ))