lean_workbook_plus_62474
ProvedComputing the first few terms of the sequence, you will get . Again, and so on. So, the sequence keeps on repeating itself. As , so
Preamble
import Mathlib.Analysis.Complex.Basic
Formal statement
theorem lean_workbook_plus_62474 (x : ℕ → ℕ) (h₀ : x 0 = 1) (h₁ : x 1 = 2) (h₂ : x 2 = 3) (h₃ : x 3 = 2) (h₄ : x 4 = 1) (h₅ : ∀ n, x (n + 5) = x n) : x 2014 = 1 := by sorry
Source