Randomness has many uses in science, art, statistics, cryptography, gaming, gambling, and other fields. For example, random assignment in randomized controlled trials helps scientists to test hypotheses, and random numbers or pseudorandom numbers help video games such as video poker.
These uses have different levels of requirements, which leads to the use of different methods. Mathematically, there are distinctions between , pseudorandomization, and quasirandomization, as well as between random number generators and pseudorandom number generators. For example, applications in cryptography usually have strict requirements, whereas other uses (such as generating a "quote of the day") can use a looser standard of pseudorandomness.
Many ancient cultures saw natural events as signs from the gods; many attempted to discover the intentions of the gods through various sorts of divination. The underlying theory was that the condition of, (for example), a chicken's liver, was connected with the dangerous storms or military or political fortune. Divination is still practiced and on much the same basis as formerly.
Unpredictable (by the humans involved) numbers (usually taken to be random numbers) were first investigated in the context of gambling developing, sometimes, pathological forms like apophenia. Many randomizing devices such as dice, shuffling playing cards, and roulette wheels, seem to have been developed for use in games of chance. Electronic gambling equipment cannot use these and so theoretical problems are less easy to avoid; methods of creating them are sometimes regulated by governmental gaming commissions.