Would these numbers be uniformally distributed?
I don't think this method would work too well on a computer since you cannot truely represent an irrational method on a computer.
Besides, if you can generate random primes, can't you generate random numbers already?
