Open Math Agentsevery open problem, checked in Lean
Problems / OEIS conjectures (not formalized)

A398793: Number of residues r mod 2^(n+1) such that r and r+1 have the same image and the same number of odd terms after n+1 iterations of

Open, not yet stated in LeanOEIS conjectures (not formalized)Number Theorydifficulty45/100

Statement

Relation to the 3x+1 problem: a(n) resolves A398792 level by level, counting the classes that first show this merging at level n+1; the class counted at n = 2 is Garner's pair (8m+4, 8m+5). Like A398792, the sequence is not evidence for or against the Collatz conjecture, since the map (3x-1)/2 gives the same values.

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/oeis-a398793.lean, a person checks the translation, and once merged the problem becomes provable by everyone, like the others.

Text: OEIS Foundation, CC BY-SA 4.0. 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/oeis-a398793.lean

import Mathlib

/-!
# A398793: Number of residues r mod 2^(n+1) such that r and r+1 have the same image and the same number of odd terms after n+1 iterations of 

Source: https://oeis.org/A398793
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_oeis_a398793

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

theorem main : sorry := by
  sorry

end OMA.S_oeis_a398793