Identifying terms of a linear recurrence sequence using a congruence
Statement
Let be a sequence of integers satisfying a linear recurrence with integer coefficients, and for simplicity assume that . For a modulus , the sequence is periodic with some period . Moreover, choosing appropriately, we can get to be as multiplicatively large as we wish. More precisely: Given any integer there exists a modulus such that the corresponding period is a multiple of . (This can be inferred e.g. from M. Ward - The Arithmetical Theory of Linear Recurring Series (1933).)
I am interested in a result that's in a similar spirit, but only takes into accound individual entries of . Namely, given an integer I would like to recognise the residue based only on for some (which will of course depend on ).
Let me be more specific. For a modulus and residue modulo , we can consider the set Let us restrict our attention to values of that appear as for at least one , that is, such that $I_r \neq …
Posed by Jakub Konieczny · nt.number-theory, recurrences
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-435850.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-435850.lean
import Mathlib /-! # Identifying terms of a linear recurrence sequence using a congruence Source: https://mathoverflow.net/questions/435850 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_435850 -- definitions the statement needs (no sorry, no axiom) theorem main : sorry := by sorry end OMA.S_mo_435850