Random Number Generation (RNG)
read “Numerical Recipes” on random numbers and chisquared test
Today we discuss how to generate and test random numbers.
What is a random number?
Anyone who considers arithmetical methods of random digits is, of course, in a state of
sin.” John von Neumann (1951)
“Random numbers should not be chosen at random.” Knuth (1986)
Researchers should cite this work as follows:

David M. Ceperley (2009), "Illinois PHYS 466, Lecture 9: Probability tools & Random number generators," http://nanohub.org/resources/6422.
BibTex 
EndNote