Let there be a semiprime $N=p q$ where $p$ and $q$ are prime numbers.
If the value of $N$ is given, is there any way to calculate the value of $(p-q)$. If not exactly then approximately ?
Update : Anyway of calculating the upper bound and lower bound in which $p-q$ will lie ?
Thanks
If $pq$ and $p-q$ are known, then so is $(p+q)^2=(p-q)^2+4pq$, and hence so is $p+q$. Therefore determining $p-q$ is equivalent to determining $p$ and $q$.