Left to Solve
Problems / MathOverflow (not formalized)

How to check that a number probably/likely has a divisor having a specific bit length/in range?

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

Statement

Given a randomly generated where is large thus hard to factor (no small prime composites). How to check that a divisor with a specific bitlengh so within the range 2 to 2n+1−1 likely exists ? (though in my case the bitlength to check for probably existing divisors is which means is bounded by the square root)

I’m interested in prime but finding a composite is Ok too.

for example, if is 386 bits long, could ecm be abused and bounds be defined to have to test ~17,000 curves for ruling out the possibility at 98% of a 193‑bits divisor ? If yes, would this be faster than using Gnfs for factoring the number completely ?

Posed by user2284570 · nt.number-theory, analytic-number-theory, prime-numbers, computational-complexity

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

import Mathlib

/-!
# How to check that a number probably/likely has a divisor having a specific bit length/in range?

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

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

theorem main : sorry := by
  sorry

end OMA.S_mo_467014