lean_workbook_plus_80870
ProvedProve that the sequence defined recursively by and , , is not periodic.
Preamble
import Mathlib.Analysis.Complex.Basic
Formal statement
theorem lean_workbook_plus_80870 (a : ℕ → ℤ) (a1 : a 0 = 0) (a2 : a 1 = 1) (a_rec : ∀ n, a (4 * n) = 1 - a (n + 1) ∧ a (4 * n + 2) = a (n + 2) ∧ a (2 * n + 1) = a n) : ¬ ∃ n, 0 < n ∧ ∀ k, a k = a (k + n) := by sorry
Source