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

A173419: Length of shortest computation yielding n using addition, subtraction and multiplication (starting from 1).

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

Statement

Conjecture: if n is prime then a(n) >= a(n-1). The conjecture is true for n < 1800. · The conjecture of Dmitry Kamenetsky above holds for every prime p < 3359, but fails at p = 3359, where a(3359) = 7 < 8 = a(3358); a shortest computation for 3359 = 15^3 - 16 is 1, 2, 4, 16, 15, 225, 3375, 3359. There are exactly four counterexamples below 5000: p = 3359; p = 3623 = 29*125 - 2, with a(3623) = 8 < 9 = a(3622), via 1, 2, 4, 5, 25, 125, 29, 3625, 3623; p = 4909 = 17^3 - 4, with a(4909) = 7 < 8 = a(4908), via 1, 2, 4, 16, 17, 289, 4913, 4909; and p = 4943 = 17*291 - 4, with a(4943) = 8 < 9 = a(4942), via 1, 2, 4, 16, 17, 289, 291, 4947, 4943. In each case the prime lies at short additive distance from a product of cheaply reachable numbers. Verified by exhaustive breadth-first enumeration of all computations of length <= 8 with no bound on intermediate values, extended to length 9 for the ni

Posed by Dmitry Kamenetsky, Rosario Patanè · OEIS nice

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

import Mathlib

/-!
# A173419: Length of shortest computation yielding n using addition, subtraction and multiplication (starting from 1).

Source: https://oeis.org/A173419
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_a173419

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

theorem main : sorry := by
  sorry

end OMA.S_oeis_a173419