Left to Solve
Problems / MathOverflow (not formalized)

Least Prime Factor in a sequence of 2n consecutive integers

Open, not yet stated in LeanMathOverflow (not formalized)Number Theorydifficulty55/100

Statement

I was thinking about consecutive integers and I wondered if anyone had done work exploring whether a sequence of consecutive integers (i.e. 101,102,103,...,100+2n) always contains at least one integer with a least prime factor .

I had been thinking about it for some time when I noticed this post: question in prime numbers

Using complete residue systems for # and the Chinese Remainder Theorem, I noticed that it is possible to find a sequence of (2*19) consecutive integers that has only one least prime factor greater than . It is also true of a sequence of (2*31) that you can find a sequence with only one least prime factor greater than .

For any sequence where with the exception of , there are at least two integers where the least prime factor is greater than .

The fact that any sequence of (2*23) integers always has at least such integers while a sequence of (2*19) integers might just have suggested to me that there might be an elementary argument there.

I did a Google search and could find very little on least prime factors. As you can probably tell from this write up, I am an amateur very interested in …

Posed by Larry Freeman · prime-numbers, factorization, integer-sequences

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

Question text by its MathOverflow author (CC BY-SA); see the link. 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/mo-68351.lean

import Mathlib

/-!
# Least Prime Factor in a sequence of 2n consecutive integers

Source: https://mathoverflow.net/questions/68351
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_mo_68351

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

theorem main : sorry := by
  sorry

end OMA.S_mo_68351