48 Section 4: Statistics Functions
How many different four-card hands can be dealt from a deck of 52 cards?
The maximum size of x or y is 9,999,999,999.
Random Number Generator
Pressing ´# (random number) will generate a random number
(part of a uniformly distributed pseudo-random number sequence) in the
range 0 r <1.
*
At initial power-up (including reset of Continuous Memory), the HP-15C
number sequence. Any time you generate a random number, that number
becomes the seed for the next random number. You can initiate a different
random number sequence by storing a new seed for the random number
generator. (Repetition of a random number seed will produce repetition of
the random number sequence.)
O´# will store the X-r < 1) as a new seed
for the random number generator. (A value for r outside this range will be
converted to fit within the range.)
l´# will recall to the display the current random number seed.
*
Passes the spectral test (D. Knuth, The Art of Computer Programming. Vol. 2. Seminumerical Algorithms,
Third Edition, 1998).