Skip to content
m·amathatlas
ExploreAboutOpen problemsCited authorsMy libraryFeedback
Sign in
FRENES
Loading views…Recent views only, across all languages. Vercel history is unavailable for this page. Repeat visits in the same tab are grouped for 30 minutes.
ShareLinkedInXFacebookWhatsApp
← All open problems
Unanswered question

Identifying terms of a linear recurrence sequence using a congruence

Number theory

Imported on November 28, 2026

The forum classified this question as unanswered when collected. This does not certify an open research problem; check the answers and revision history at the source.

Read the question with its definitions and background below. The source provides the full formulation and further discussion; the glossary and Wikipedia links offer additional reading aids.

Problem statement

Let (ni)i=0∞(n_i)_{i=0}^\infty(ni​)i=0∞​ be a sequence of integers satisfying a linear recurrence with integer coefficients, ni+ℓ=∑k=0ℓ−1akni+k, n_{i+\ell} = \sum_{k=0}^{\ell-1} a_k n_{i+k},ni+ℓ​=∑k=0ℓ−1​ak​ni+k​, and for simplicity assume that a0=±1a_0 = \pm 1a0​=±1. For a modulus MMM, the sequence (ni mod M)i=0∞(n_i \bmod{M})_{i=0}^\infty(ni​modM)i=0∞​ is periodic with some period PPP. Moreover, choosing MMM appropriately, we can get PPP to be as multiplicatively large as we wish. More precisely: Given any integer P0≥1P_0 \geq 1P0​≥1 there exists a modulus MMM such that the corresponding period PPP is a multiple of P0P_0P0​. (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 nin_ini​. Namely, given an integer QQQ I would like to recognise the residue i mod Qi \bmod QimodQ based only on ni mod Mn_i \bmod Mni​modM for some MMM (which will of course depend on QQQ).

Let me be more specific. For a modulus MMM and residue rrr modulo MMM, we can consider the set Ir={i≥0 : ni≡r mod M}. I_r = \{ i \geq 0 \ : \ n_i \equiv r \bmod{M} \}.Ir​={i≥0 : ni​≡rmodM}. Let us restrict our attention to values of rrr that appear as ni mod Mn_i \bmod Mni​modM for at least one iii, that is, such that Ir≠∅I_r \neq \emptysetIr​=∅. Clearly, this set is periodic with period (at most) PPP. If we were so lucky that there is only one value of 0≤i<P0 \leq i < P0≤i<P such that ni≡r mod Mn_i \equiv r \bmod Mni​≡rmodM, then the set IrI_rIr​ would simply be a residue class modulo PPP. In general, IrI_rIr​ is a finite union of residue classes modulo PPP, and it is contained in a single residue class modulo Q:=gcd⁡(Ir−Ir)=gcd⁡({i−j : ni≡nj≡r mod M). Q := \gcd(I_r - I_r) = \gcd(\{i-j \ : \ n_i \equiv n_j \equiv r \bmod{M}).Q:=gcd(Ir​−Ir​)=gcd({i−j : ni​≡nj​≡rmodM). Note that QQQ is a divisor of PPP, and of course QQQ depends on MMM and rrr. My question is: given an integer Q0Q_0Q0​, does there always exist MMM and rrr such that QQQ is a multiple of Q0Q_0Q0​?

As an example, the answer is positive if (ni)i=0∞=(Fi)i=0∞(n_i)_{i=0}^\infty = (F_i)_{i=0}^\infty(ni​)i=0∞​=(Fi​)i=0∞​ is the sequence of Fibonacci numbers. It is well-known that for i≥3i \geq 3i≥3 we have Fi∣FjF_i \mid F_jFi​∣Fj​ if and only if i∣ji \mid ji∣j. Consequently, we can take M=FQ0M = F_{Q_0}M=FQ0​​ and r=0r = 0r=0. This example also shows that we need to be careful with the choice of rrr: Since F1=F2=1F_1=F_2=1F1​=F2​=1, picking r=1r = 1r=1 always leads to Q=1Q = 1Q=1.

Statement and context adapted from MathOverflow · Jakub Konieczny

CC BY-SA 4.0 · Formatting adapted; mathematical formulas preserved · Source history

Topics : nt.number-theory · recurrences

Authors listed by the source : Jakub Konieczny

Sources and original status

  • MathOverflow Status in source : unanswered at collection

Last activity on the question : December 4, 2022

Coverage, sources and method

This count measures imported entries, including distinct variants. It is not a count of all open mathematical questions worldwide. One entry may belong to several fields and sources.

This directory is neither exhaustive nor updated in real time. “Reported open” describes the source classification observed at import; imported entries have not each undergone independent mathematical verification. The 32 explained entries were reviewed separately.

Formal Conjectures: only “research open” statements with no reported formal proof are retained; their tag is checked in a pinned repository revision. Variants remain distinct. A “sorry” placeholder is not sufficient to establish open status.

Erdős: solved or independent problems and entries with a Lean solution are excluded, including “open (Lean)”. Exact matches to the main Formal Conjectures statements are merged.

Open Problem Garden: the open index is checked against the solved index; spam, identified clones and some outdated statuses are excluded. Statements and definition context are attributed to their original pages; formulas are preserved and the content remains under the GFDL. Recognized duplicates across sources are merged; this does not resolve every mathematical equivalence.

OEIS: direct extraction of conjectural comments and formulas, one entry per sequence, excluding mentioned resolutions. MathOverflow and Math Stack Exchange: questions classified as unanswered by their API, excluding closed posts and non-research categories. They remain distinct from problems reported open. This is a partial, dated collection; every entry credits its authors and license.

Documented exclusions account for recent announcements and conflicting statuses. A stronger variant or a special case can remain open after a different statement is settled.

Attribution: The Formal Conjectures Authors; teorth/erdosproblems and contributors; Open Problem Garden and contributors. Each source retains its license.

  • Formal Conjectures · 1,924 · Apache-2.0 / CC-BY-4.0
  • Erdős Problems (teorth) · 622 · Apache-2.0
  • Open Problem Garden · 404 · GFDL (source content); only title/category/link metadata imported
  • OEIS · 18,857 · CC BY-SA 4.0
  • MathOverflow · 19,035 · CC BY-SA (version on each entry)
  • Mathematics Stack Exchange · 35 · CC BY-SA (version on each entry)
Report a development or correction
mathatlas

An independent atlas to understand, read, and question research.

The papers present claimed results at different stages of verification.
NewsletterShare feedbackAbout Data and privacy
Created by Sonny Mupfuni