Before computers, chance came printed in books: pages of digits with no pattern, to draw samples and run simulations by hand. Here is a page of one, a test of how random you are, and two machines that turn chance into a shape and into π.
Start anywhere, then read the digits in twos (threes for 100 to 999). Keep each number from 1 to N that you have not had; skip the rest. Starting somewhere you did not choose on purpose matters: always starting at the top would give everyone the same sample.
Tippett, 1927. L. H. C. Tippett's Random Sampling Numbers gave 41,600 digits taken from the areas of parishes in census reports, for statisticians who needed samples and could not trust themselves to pick them.
Testing a table. In 1938 Kendall and Babington Smith made 100,000 digits with a spinning disc and asked what random should mean for a finite table. Their tests (are the digits even? the pairs? hands of five, as in poker? the gaps between repeats?) are still how generators are checked.
A million digits. RAND's A Million Random Digits with 100,000 Normal Deviates (1955) came from an electronic roulette wheel; when the tests found a slight bias, the digits were mixed again before printing. It sold for decades, and its reviews are a running joke about a book with no plot.
Your digits get the table makers' tests: is each digit as common as the others, and does a digit follow itself a tenth of the time?
Too few repeats. Asked to be random, people avoid putting a digit next to itself and avoid runs, because they look planned. A fair source repeats the last digit one time in ten; most people manage far fewer. Psychologists have found this again and again.
Too even. People also spread the digits out too fairly. Real chance is lumpy: in 100 fair digits some digit usually comes 15 times and another 5. A chi-square near zero is as suspicious as a large one.
Why tables. This is why the tables were printed: a choice that only feels random lets in the chooser's habits, and a sample chosen by habit is biased in ways no one can correct afterwards.
At each peg a ball goes left or right with even chances. Its bin is the number of times it went right. The amber line is the last ball's path; the red line is what theory expects.
The quincunx. Francis Galton built this board in the 1870s, with lead shot falling through pins, to show how many small chances add up to the bell curve. He called it a quincunx, after the pattern of five on a die face that the pins repeat.
Counting paths. To land in bin k a ball must go right k times out of n, and there are C(n, k) orders to do it in, each with chance 1/2n. That is Pascal's triangle, and the pegs are laid out as one.
The bell. With many rows the heap takes the shape of the normal curve, by the central limit theorem: a sum of many small independent pushes is nearly normal, whatever the pushes are.
A needle no longer than the gap between the lines crosses one with chance 2l / (πd). Count the crossings and solve for π. The picture keeps the last 400 needles; the count keeps them all.
Buffon, 1777. Georges-Louis Leclerc, Comte de Buffon, asked how often a needle dropped on a floor of boards lies across a crack. The answer has π in it because the needle's angle is uniform round a circle.
Slow. The error shrinks only like one over the square root of the number of needles: a hundred times the needles for each extra figure. It is the first Monte Carlo method, and it shows that method's weakness as well as its charm.
Too good. In 1901 Mario Lazzarini reported 3,408 needles giving 355/113, π to six places. With so few needles that is wildly lucky, and the count is just what you would choose to land on that fraction: almost certainly he stopped when he got there.