International
The Morning Science

What science found today

‹
 

Watch · Physics, engineering and experiments

The World Depends on Random Numbers That Aren't Really Random

The Brief

  • Covers why slot machines, solitaire shuffles and Monte Carlo methods rely on random numbers, and how pseudo-random generators can be predictable.
  • Describes how Java's random number generator became predictable and how the Mersenne Twister was cracked.
  • Explains cryptographic generators, including Cloudflare's use of lava lamps as a randomness source.
  • Discusses quantum entanglement and Bell tests as a route to true randomness, and a quantum random number generator that uses quasar light to choose measurements.

Why watch · It explains how computers produce random numbers, why some are predictable, and what physics offers as a source of genuine randomness.

  • Random number generators
  • Quantum randomness
  • Mersenne Twister
  • Bell tests

Summarised by Claude from the video’s title and description – no transcript was available, so check the video for the details.

Show the full video description ›

Is anything random? Sponsored by Hostinger. Go to https://hostinger.com/veritasium and use code VERITASIUM for an additional 10% off. For more on Bell tests, watch our video - https://www.youtube.com/watch?v=NIk_0AW5hFU You can also check out Matthew Bolan’s video on the maths behind his Minecraft exploit here - https://www.youtube.com/watch?v=5Icj5TNmBUI To see the random numbers produced by the quantum experiment in this video, go to https://ve42.co/CURBy Last year, we launched Elements of Truth on Kickstarter. We’re now in the final stages of production, and Kickstarter rewards are shipping soon. If you missed the campaign, you can now pre-order the retail edition through our new website here - https://ve42.co/YTDEcl If you backed us on Kickstarter, don’t worry, your game will ship before any pre-orders are fulfilled. If you’re looking for a molecular modelling kit, try Snatoms, a kit I invented where the atoms snap together magnetically - https://ve42.co/SnatomsV Sign up for the Veritasium newsletter for weekly science updates - https://ve42.co/Newsletter Join our Patreon for early access to work-in-progress videos and behind-the-scenes extras https://ve42.co/VePatreon 3D graph made with Desmos (https://www.desmos.com), licensed CC BY-SA 4.0 - https://creativecommons.org/licenses/by-sa/4.0/ Not an official Minecraft video. Not approved by or associated with Mojang or Microsoft. ▀▀▀ 00:00 The Slot Machine Hack That Was Stumping Casinos 01:49 Solitaire and Nuclear Fission 05:43 The Monte Carlo Method 10:04 Finding Minecraft Diamonds With Math 13:38 Linear Congruential Generators 15:39 Why Java's Random Numbers Are Predictable 19:58 How Russian Hackers Cracked the Mersenne Twister 23:27 Cryptographic RNGs and Cloudflare's Lava Lamps 27:33 Quantum Entanglement and True Randomness 32:05 Using Quasars to Choose Quantum Measurements ▀▀▀ Special thanks to the experts and collaborators who made this video possible: Krister Shalm, for so generously sharing his time and expertise throughout the making of this video, and for all his help in explaining the science behind the quantum random number generator. Our thanks also goes to Rebecca Jacobson and the rest of the NIST team for showing us their random number generator and reviewing our explanation of it. David Kaiser, for his invaluable guidance on the physics of Bell tests, and for generously giving his time to help us get the science right. Matthew Bolan for showing us his Minecraft explo