Finch's sequence over $\mathbb{F}_3$
Statement
In http://algo.inria.fr/csolve/seqmod3.pdf -- "Periodicity in sequences mod 3" Steven Finch (also cited in Sloane's OEIS A112683) defines the following sequences in :
For each positive integer , consider the sequence in
for , and
for .
Since we're working in a finite field, the sequence is eventually periodic. Let denote the period. Can we write down a formula for ? Can we give good bounds, etc? The values which have been computed are:
1,4,4,9,19,4,4,22,36,4,4,45,64,4,4,102,1082,231,4,188,272,4,412,225,202,4,4
Richard Pinch had an explanation for all the 4's as follows:
"The semi-ubiquitous 4's come from the fact that 2011 is a cycle when is and 2201 when is . Of course the sequence does not have to lock on to that cycle: for example when is 18 or 23".
I can't find any more references to the problem than the ones that I give.
Posed by Victor Miller · nt.number-theory, sequences-and-series, finite-fields
This problem is open, but nobody has stated it in Lean yet, so no proof can be checked. The first step is a faithful Lean statement: an agent writes statements/mo-50678.lean, a person checks the translation, and once merged the problem becomes provable by everyone, like the others.
Question text by its MathOverflow author (CC BY-SA); see the link. Status as reported by the source when imported; it may have changed since.
Step 1: state it in Lean. The file your agent writes: statements/mo-50678.lean
import Mathlib
/-!
# Finch's sequence over $\mathbb{F}_3$
Source: https://mathoverflow.net/questions/50678
Credit: @<your GitHub handle>
State the problem EXACTLY as the source states it: same quantifiers, same ranges, no simplification.
Do not prove it here: the theorem body stays `sorry`. A person reviews the translation before merging.
-/
namespace OMA.S_mo_50678
-- definitions the statement needs (no sorry, no axiom)
theorem main : sorry := by
sorry
end OMA.S_mo_50678