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

A087666: Consider recurrence b(0) = n/3, b(k+1) = b(k)*floor(b(k)); a(n) is the least k such that b(k) is an integer, or -1 if no integer i

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

Statement

It is conjectured that an integer is always reached if the initial value n/3 is >= 2. · a(n)=0 iff n == 0 (mod 3), a(n)==1 iff n == 1 or 2 (mod 3^2), a(n)=2 iff n == 14,22,25,26 (mod 3^3). In general a(n)=m iff n == x (mod 3^m) where x pertains to a set of 2^m distinct elements included in {1,2,...,(3^m)-1}. Conjecture: a(6) + a(7) + a(8) + ... + a(n) = 2n + O(sqrt(n)).

Posed by Benoit Cloitre · OEIS

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

import Mathlib

/-!
# A087666: Consider recurrence b(0) = n/3, b(k+1) = b(k)*floor(b(k)); a(n) is the least k such that b(k) is an integer, or -1 if no integer i

Source: https://oeis.org/A087666
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_a087666

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

theorem main : sorry := by
  sorry

end OMA.S_oeis_a087666