View Single Post
Old 2004-11-21, 11:36   #1
shaxper
 
Nov 2004

2·7 Posts
Lightbulb To create a real random number,

let

random number = q * r
where q = an irrational number, r = a rational number

Create q and r via any statistical technique to choose two primes, p1, p2

r = p2
q = pi * p2
where pi = 3.14... out (p1) places

real random number = q * r = pi * p2
shaxper is offline   Reply With Quote