Left to Solve
Problems / MathOverflow (not formalized)

A dynamic with the modulo operation : Long-time behavior

Open, not yet stated in LeanMathOverflow (not formalized)Number Theorydifficulty55/100

Statement

The ♥ operation :

Let . We define the operation ♥ by :

By convention , we define .

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 . 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 defined by two initial conditions and and .

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

By definition , gives a periodic behavior of period 1. But one can readily see that for every odd , 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 such that …

Posed by Lune Mauve · nt.number-theory, congruences

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-513069.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-513069.lean

import Mathlib

/-!
# A dynamic with the modulo operation : Long-time behavior

Source: https://mathoverflow.net/questions/513069
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_513069

-- definitions the statement needs (no sorry, no axiom)

theorem main : sorry := by
  sorry

end OMA.S_mo_513069