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

A077712: a(1) = 1, a(n) = the smallest squarefree number > a(n-1) which contains all the digits of a(n-1).

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

Statement

Conjecture: Terms contain only two types of digits, i.e., 0 and 1. · Beginning with a(3), sequence follows a regular pattern: 10^2+1, 10^2+10, 10^3+1, 10^3+10, etc. until at a(21) the pattern is disrupted by 10^11+1, which is not squarefree (see A086982). 10^12+10 is also absent from the sequence since it is also not squarefree. The pattern resumes after this disruption until the next occurrence of 10^k+1 which is not squarefree, k=21, 33, 39, 55, ... The conjecture that the sequence is composed of terms containing only the digits 0 and 1 is certainly true up to 10^406+1 where both it and 10^407+1 are not squarefree. Indeed beginning with a(3) the terms contain exactly two 1 digits and the rest 0's up to this point. The term following 10^406+10 will introduce a third nonzero digit, perhaps a 1, but the pattern of the sequence changes dramatically at this point. · Term following a(739)=10

Posed by Ray Chandler · 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-a077712.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-a077712.lean

import Mathlib

/-!
# A077712: a(1) = 1, a(n) = the smallest squarefree number > a(n-1) which contains all the digits of a(n-1).

Source: https://oeis.org/A077712
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_a077712

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

theorem main : sorry := by
  sorry

end OMA.S_oeis_a077712