Eventually periodic sequences on ℕ #
A sequence a : ℕ → α with a (n + p) = a n for all n ≥ N is periodic of period p beyond
the preperiod N. This file reduces its values beyond N to the window [N, N + p), the
eventually periodic variant of Mathlib's Function.Periodic.map_mod_nat.
Main results #
TauCeti.Nat.apply_eq_apply_add_sub_mod: beyond the preperiodN, the value atnis the value atN + (n - N) % p.