|Ivars Peterson's MathTrek|
May 7, 2001
Indeed, researchers have come up with a novel application of the mesmerizing movements of the lamp's globules. They use them as the starting point for generating a sequence of random numbers. Called lavarand, the random-number generator is the tongue-in-cheek work of Robert G. Mende Jr., Landon Curt Noll, and Sanjeev Sisodiya of Silicon Graphics in Mountain View, Calif.
Random numbers are an immensely valuable commodity, not only for the operation of computer-based slot machines but also for computer simulations and for generating the secret strings of digits required to encode and decode sensitive information in cryptographic systems.
The trouble is that no numerical recipe used by a computer produces truly random numbers. The computer simply follows a set procedure, and restarting the process with the same initial number, or seed value, produces exactly the same sequence of digits.
One way to do better is to vary the seed value randomly. Noll and his colleagues decided that the unpredictably wandering globs in a Lava Lite lamp, operated according to the manufacturer's instructions, are a more convenient source of randomness than, say, the sporadic decays of a radioactive element.
"While any good chaotic source could be used, we favor Lava Lite lamps in part because they were the source of inspiration for lavarand and in part because they are cool," the researchers admit.
A digital camera periodically photographs a set of six Lava Lite lamps, each one generally in a different stage of activity. The camera adds its own electronic noise to the data, and the resulting image is converted into a string of 1s and 0s. That string is then mathematically manipulated according to a scheme known as the National Institute of Standards and Technology's Secure Hash Algorithm, which compresses and scrambles the 921,600 bytes of the original image into a 140-byte packet of digits. This packet then serves as the seed value for a computer-based random-number generator. Each such value starts a chain of mathematical operations that produces a different string of apparently random digits.
At the lavarand Web site (see http://lavarand.sgi.com/), lavarand is the random number generator driving a system for creating haiku. It also serves as a handy source of lottery numbers.
Copyright 2001 by Ivars Peterson
Information about the lavarand random number generator is available at http://lavarand.sgi.com/.
Peterson, I. 1998. The Jungles of Randomness: A Mathematical Safari. New York: Wiley.
______. 1997. Lava lamp randomness. Science News 152(Aug. 9):92.
Additional information about Lava Lite lamps can be found at http://www.lavaworld.com/.
Ivars Peterson is the mathematics/computer writer and online editor at Science News (http://www.sciencenews.org). He is the author of The Mathematical Tourist, Islands of Truth, Newton's Clock, Fatal Defect, and The Jungles of Randomness. He also writes for the children's magazine Muse (http://www.musemag.com) and is working on a book about math and art.
NEW! NEW! NEW!
Math Trek 2: A Mathematical Space Odyssey by Ivars Peterson and Nancy Henderson. For children ages 10 and up. New York: Wiley, 2001. ISBN 0-471-31571-0. $12.95 USA (paper).