摘要 |
<p><P>PROBLEM TO BE SOLVED: To provide a lottery device and a program drawing lots and hitting in a ratio approximately close to a prescribed lottery hitting probability at leveled timing. <P>SOLUTION: This lottery device is provided with a random number generation part 2 generating a random number, a storage part 3 storing the prescribed lottery hitting probability m and a prescribed trial frequency 2, and a lottery part 4 determining whether or not the random number is hit at a trial probability m/n obtained by dividing the prescribed probability m by the prescribed trial frequency n, when inputting a lottery start signal, repeating the determination by the prescribed trail frequency n, and outputting the lottery hitting signal, when hitting once or more. <P>COPYRIGHT: (C)2004,JPO</p> |