lean_workbook_plus_15084
ProvedLet denote the set of all nonnegative integers. Define a recurrent sequence by and the recurrence equation for every positive integer n. Prove that is an integer for every .
Preamble
import Mathlib.Analysis.Complex.Basic
Formal statement
theorem lean_workbook_plus_15084 {a : ℕ → ℚ} (a0 : a 0 = 1) (a1 : a 1 = 1) (a_rec : ∀ n, a (n + 1) * a (n - 1) = a n * (a n + 1)) : ∀ n, a n = ⌊a n⌋ := by sorrySource