Left to Solve
Problems / MathOverflow (not formalized)

Behavior of iterates of $3^n$ modulo $2^k$

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

Statement

Let's look at the iterates of modulo , i.e., the cyclic subgroup of generated by . Starting from:

Any value equal or exceeding wraps around. is odd and is even, so they can not be equal. This is also true under modulo . Therefore we do not need to consider the equality case in the following reasonings.

First Time that Exceeds

We can determine the for which exceeds for the first time. It is exceeded when

So is exceeded for the first time when is the nearest integer above , which is

My Question

For in the range , for how many consecutive iterations can stay below ? With as the modulo operator, we can write this question as

Let $n, k \in \mathbb{N}, k \geq 3, n_{exc} …

Posed by Daniel S. · nt.number-theory, cyclic-groups

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

import Mathlib

/-!
# Behavior of iterates of $3^n$ modulo $2^k$

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

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

theorem main : sorry := by
  sorry

end OMA.S_mo_486980