We got a probabilistic integer factorization algorithm and experimental evidence with large integers given bounds for one factor.
Let $D \ge 2$ be real number and let $p,q$ be primes and $N=pq$. Assume $\log{q} \sim D\log{p}$.
Let $B_1,B_2$ be real numbers such that $B_1 < q < B_2$ and $B_2 - B_1 < C q^\frac{D-1}{D}$ for an absolute constant $C$.
Given $N,D,B_1,B_2$ our algorithm experimentally finds the factor $q$ efficiently with complexity $O(\log N)$.
The algorithm may fail, but according to our tests it fails rarely.
Q1 Is this result known?
Q2 Given $N,D$ what is the best complexity to find $B_1,B_2$, possibly assuming some properties of $q$?
Since there is only one partial answer, me and Stefcho Guninski released a preprint and sagemath source code that may run in a browser
For real $x$ and natural $N$, define $J(x,N)=\sin{\frac{\pi N}{x}}$.
The real zeros of $J$ are $\frac{N}{a}$ for integer $a$.
The integer zeros of $J$ are the divisors of $N$.
For small $x$, the real zeros are very dense, but in some cases we can find interval which contains only one zero, which is integer.
To illustrate, take $N=5*37$ and examine the plot $x \in (1,N)$:
To illustrate a good interval, take $N=5*37$ and examine the plot $x \in (37-\sqrt{37},37+\sqrt{37})$ and observe that it contains only one real zero, which is the integer factor $37$.
For real constant $D \ge 2$ and $N=pq$ with $\log{q} \approx D \log{p}$ and given bounds $B_1 < q < B_2$ and $ 0 < q-B_1,B_2-q < q^{\frac{D-1}{D}}$ we find the factor $q$ in time polynomial in $\log{N}$ using real root finding of the function $J(x,N)=\sin{\frac{\pi N}{x}}$
To find the unique zero, we use mpmath's function |mpmath.findroot(J,B_1,B_2)| Experimentally it finds the zero efficiently using real root
To our surprise, for $p \sim 2^{400},D=4$, generating the primes $p,q$ in $5.6$ seconds and the root finding took only $27$ms.