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

A225868: Numbers m for which max{2 <= k <= (m-2)/2} Sum{d>1, d|m+k, k|m+d} 1 = 3.

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

Statement

Terms >= 53 are primes p such that p+2 is either prime or semiprime or, relatively rarely, the cube of a prime. However, according to calculations by Peter J. C. Moses, up to 4.2*10^13 there are no numbers p in the sequence for which p+2 is cube of a prime. One can prove that if such a prime p exists, then it is necessary (but not sufficient) for all numbers of the quadruple {r, 2*r - 1, 4*r^2 - 6*r + 3, (2*r - 1)^3 - 2} to be primes, where r == 19 (mod 30) is defined by the equality (2r-1)^3 - 2 = p. The first 3 suitable values of r are 229, 3109, and 17449. But the corresponding p's are not in the sequence. We conjecture that all primes of the sequence are Chen primes, that is, all of them are in A109611.

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

import Mathlib

/-!
# A225868: Numbers m for which max{2 <= k <= (m-2)/2} Sum{d>1, d|m+k, k|m+d} 1 = 3.

Source: https://oeis.org/A225868
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_a225868

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

theorem main : sorry := by
  sorry

end OMA.S_oeis_a225868