The central limit theorem started as a bar trick for 18th-century gamblers. Now scientists rely on it every day.