Is there a method to construct very big numbers in a given interval, with rectangular distribution, by selecting prime factors randomly?
I want to study factorizations of the kind $a=b\cdot c$, where $b$ is the biggest possible factor which can be written as a sum of two squares.
I finally found Bach's algorithm about generation of pre-factored uniformly distributed random numbers:
http://www.cs.cmu.edu/afs/cs.cmu.edu/academic/class/15750-s02/www/dartboard.pdf