Left to Solve
Problems / MathOverflow (not formalized)

Generating random smooth numbers (or, "What do random smooth numbers look like?")

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

Statement

What is a good method for generating random b-bit, S-smooth numbers?

For S large and b not too large, it may be feasible to generate random numbers and test if they are smooth enough. If S is too small, the S-smooth numbers are too sparse; if b is too large, deciding if a number is S-smooth is too difficult.

When the above is infeasible (say, b = 10 000, S = ) it seems that generating smooth numbers requires understanding their properties. Consider generating random semiprimes near n: take s = 1/2 + 1/3 + 1/5 + ... + , then choose a prime with probability and finally choose a random prime near , yielding as the semiprime.

Is there a similar procedure for smooth numbers?

Alternate, non-algorithmic approach

A random integer* has about prime factors between and (in a Poisson sense). What can be said about the distribution of prime factors of an S-smooth integer instead, with ? (Presumably, unlike in the first case, matters.)

Similarly, for small primes p, what is the distribution of the p-adic valuation of random S-smooth b-bit numbers?

* "Random integer" is, of course, meaningless. But in …

Posed by Charles · nt.number-theory, prime-numbers

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

import Mathlib

/-!
# Generating random smooth numbers (or, "What do random smooth numbers look like?")

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

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

theorem main : sorry := by
  sorry

end OMA.S_mo_40439