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

A dynamic with the modulo operation : Long-time behavior

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

The ♥ operation :

Let a,b∈N2a,b \in \mathbb{N}^2 a,b∈N2. We define the operation ♥ by :

a♥b:=ab  mod(a+b)a♥b := ab ~~ mod(a+b) a♥b:=ab  mod(a+b)

By convention , we define 0♥0=00♥0 = 00♥0=0.

This defines an operation which is obviously commmutative but non-associative which doesn't have an identity element so this operation doesn't have a lot good properties.

One "nice" property though is that gcd(a,b)∣a♥b gcd(a,b) | a♥bgcd(a,b)∣a♥b. When we iterate the ♥ operation , one know that the gcd will never shrink.

Iteration of the ♥ operation :

What interests me particularly is the behaviour of ♥ when we iterate it. Let (un)n∈N(u_n)_{n\in \mathbb{N}}(un​)n∈N​ defined by two initial conditions u0u_0u0​ and u1u_1u1​ and un+1=un♥un−1u_{n+1} = u_{n}♥u_{n-1}un+1​=un​♥un−1​.

The first question that came to my mind is : What happens in the long run ?

By definition , 000 gives a periodic behavior of period 1. But one can readily see that for every odd n∈Nn \in \mathbb{N}n∈N, n♥n = n. This gives an infinite family of what i call 1-cycles. Marvelous.

Nevertheless, one can play at the game a bit longer and see that 5♥7 =11, 7♥11 = 5 and 11♥5 = 7 so that (5,7,11) is a 3-cycle.

In fact , one can show the following result :

A result on 3-cycles :

Let (a,b,c)∈N3(a,b,c) \in \mathbb{N}^3(a,b,c)∈N3 such that gcd(a,b,c)=1gcd(a,b,c) = 1gcd(a,b,c)=1 and 0≤a≤b+c−10 \le a\le b+c-10≤a≤b+c−1 , 0≤b≤a+c−10 \le b\le a+c-10≤b≤a+c−1 and 0≤c≤a+b−10 \le c\le a+b-10≤c≤a+b−1 . Then there exists 1≤λ0≤lcm(a+b,b+c,a+c)1 \le \lambda_0 \le lcm(a+b,b+c,a+c)1≤λ0​≤lcm(a+b,b+c,a+c) such that for every λ≡λ0mod(lcm(a+b,b+c,a+c))\lambda\equiv \lambda_0 mod(lcm(a+b,b+c,a+c))λ≡λ0​mod(lcm(a+b,b+c,a+c)) , (λa,λb,λc)(\lambda a , \lambda b , \lambda c )(λa,λb,λc) is a 3 cycle. In fact, one can see that all 3-cycles are of that form.

This result can be easily proven by the Chinese Remainder Theorem.

Those 3-cycles motivate to search for cycles of different periods. 2-cycles are obviously impossible since ♥ is commutative.

But except for 2, there seems (numerically) to exist cycles of all possible lengths. The bigger the period N is , the less frequent N-cycles seems to be.(This rarefaction is curiously not monotonous : 8-cycles are seemingly significantly rarer than 6-cycles for instance.)

As for 3-cycles, once we get one N-cycle, we have an infinite family ( modulo the lcm of all moduli : (a+b),(b+c),(c+d) ... ). Nevertheless, starting from 4-cycles, i can't find any nice classification of N-cycles as for 3-cycles.

For the terminology, the primitive basis of a cycle is the cycle itself divided by the gcd of all terms of the cycle.

Conjectures :

From that , I can formulate two conjectures on numerical search and a heuristic argument that i shall explain after that :

Conjecture N°1 : Let N∈N∗∖{2}N \in \mathbb{N}^*\setminus \{2\} N∈N∗∖{2}. Then there exists an infinite number of primitive bases of length N.

Conjecture N°2 : Every sequence uuu following the rule un+1=un♥un−1u_{n+1} = u_{n}♥u_{n-1}un+1​=un​♥un−1​ becomes eventually periodic.

Of course , we could go further and ask about the density of N-cycles depending on N or the expected value of steps before a sequence becomes periodic but those questions would be in my opinion very hard to tackle.

Heuristic : Let a,b∈N2a,b \in \mathbb{N}^2 a,b∈N2. The result of a♥ba♥ba♥b belongs to the interval [0,a+b-1]. If we consider the result as random , the expected value of a♥b is roughly a+b2\frac{a+b}{2}2a+b​. So there is an averaging effect.

Overall if we repeat this process , one expects the sequence to stay at the same scale. Of course there can be an accident and the sequence can drop sharply but it can never grow sharply.

That's why , i don't expect any sequence to grow out of bound but rather to ultimately become periodic.

I considered this problem a few years ago but the lack of good properties of ♥ makes any proof or any idea of proofs difficult to envision.

I don't know if there is any piece of literature on this problem or something similar.

Thanks to the reader and the helper.

Statement and context adapted from MathOverflow · Lune Mauve

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

A few useful definitions

Density of an integer set
Look at the proportion of its elements among 1, …, N as N grows. “Almost all” integers usually means that the exceptions have density zero.

Topics : nt.number-theory · congruences

Authors listed by the source : Lune Mauve

Sources and original status

  • MathOverflow Status in source : unanswered at collection

Last activity on the question : July 25, 2026

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