Fermat's ⌈ℓ^2/64⌉-wide search on ℓ-bit semiprimes has critical prime-rank separation √p/(√2 log 2) and limiting miss probability (1 − 2^(−α/2))/(1 − 2^(−1/2)) at relative rank offset α/ℓ
Let p_i be the ith prime and let N=p_i p_(i+k) have ℓ bits. We determine how often Fermat factorization finds the factors by testing the centers of the required parity through ⌈√N⌉+⌈ℓ^2/64⌉. We prove an unconditional transition at rank c_*√(p_i), where c_*=(√2 log 2)^(-1). For 0 ≤ α ≤ 1, put k=⌊c_*(1+α/ℓ)√(p_i)⌋ and choose the starting prime uniformly among those giving an ℓ-bit product. The miss probability is (1-2^(-α/2))/(1-2^(-1/2))+O(ℓ^(-1)). At α=0 it is O_ε(2^(-(4167/28024-ε)ℓ)) for every ε>0. Rounding the scan width shifts the transition by a term depending on -ℓ^2 mod 64. At a specified moving coefficient c_*(1+32d_ℓ/ℓ^2), with d_ℓ=1+((-ℓ^2) mod 64)/64, the miss probability is of order ℓ^(-3). The proof expresses success as an exact count of primes in an interval beginning at p_i. We also estimate the mean number of square tests in the full scan and the cost of restarting it after a missed midpoint prediction when the rank coefficient is specified. For a uniformly chosen pair of distinct primes in (X,2X], the same bit-length search succeeds on a proportion of order (log X)/√X.
Authors
- Idris Ali Shaik (ORCID: https://orcid.org/0009-0009-9699-9712)
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-11-30
- DOI
- https://doi.org/10.5281/zenodo.24682602
- Primary Topic
- Analytic Number Theory Research
- Type
- preprint