Slot Machine Gambling Investigation
- 63Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
- spaceFlip card
- KI knew it
- DI didn't know it
- ←Previous card
- →Next card
What can happen when a neutron hits a uranium-235 nucleus?
A neutron hitting a uranium-235 nucleus can split it, releasing energy and roughly two or three more neutrons.
Or swipe the card
63 cards
What can happen when a neutron hits a uranium-235 nucleus?
A neutron hitting a uranium-235 nucleus can split it, releasing energy and roughly two or three more neutrons.
What condition allows a nuclear fission chain reaction to grow?
If each split causes, on average, more than one additional split, the process becomes a runaway chain reaction.
Why does neutron behavior make a nuclear chain reaction difficult to predict?
The outcome depends on each neutron’s path and interactions—such as whether it causes fission, bounces off a nucleus, or is absorbed. These probabilities vary with factors including neutron speed and the material it passes through.
Why could scientists not calculate every possible neutron path directly?
The number of possible neutron paths across trillions of neutrons was too large to calculate one by one.
What practical idea did Stanislaw Ulam develop while thinking about solitaire?
After struggling to calculate solitaire odds analytically, Ulam proposed playing many games and counting the wins to estimate the probability.
How many possible arrangements does a shuffled 52-card deck have?
A deck of 52 cards has 52! possible arrangements, approximately 8imes1067.
How did Ulam’s sampling idea apply to neutron behavior?
Simulate a sample of neutrons using random numbers to select outcomes according to measured probabilities, then use the simulated results to estimate how the whole chain reaction behaves.
Why might a neutron simulation use different probabilities at successive steps?
After each interaction, a neutron’s speed or direction might change, so the probabilities for its next interaction had to reflect its new situation.
How does a neutron simulation indicate whether a chain reaction will grow or die out?
If the number of neutrons keeps growing, the chain reaction takes off; if more neutrons are lost than produced, it fizzles out.
What role did von Neumann and ENIAC play in the early Monte Carlo simulations?
John von Neumann worked out how ENIAC could follow 100 neutrons and their descendants through thousands of collisions in about five hours. The approach became known as the Monte Carlo method.
What is a seed, and why does it mean a pseudorandom sequence is not truly random?
A pseudorandom sequence is determined by its starting value, or seed; repeating the same seed produces the same sequence.
How does the middle-square method generate its next number?
Square the seed and take the middle digits of the result as the next number. Repeating this process generates the sequence.
What is the first middle-square step when the seed is 2,137 and four-digit outputs are used?
Starting with 2,137, squaring gives 4,566,769; after padding to eight digits, the middle four digits are 5,667.
Why does the middle-square method keep the middle digits rather than the digits at the edges?
The method discards edge digits because they can be more predictable: the last digits depend on the seed’s ending digits, while the first digits can be constrained by the seed’s range.
What four-number loop does the middle-square example eventually enter?
Starting from 2,137, the sequence eventually reaches 4,100, 8,100, 6,100, and then repeats.
What were two common traps in the four-digit middle-square generator?
About two-thirds of four-digit seeds enter the 4,100 loop, and almost one in five reach zero, after which every output is zero.
What happens if every possible four-digit seed is tested in the middle-square method?
Every possible four-digit starting value eventually enters one of just eight traps.
How did researchers reduce the risk of short loops in the first ENIAC simulation?
For the first ENIAC simulation, researchers used eight-digit values, hand-tested the first 2,000 outputs, and programmed the computer to restart from the original seed after those outputs.
How does a linear congruential generator (LCG) produce its next value?
It multiplies the current value by a fixed multiplier, adds a constant, and keeps only the remainder after division by a modulus: x_{n+1}=(a x_n+c)mod m.
What does the “mod” step do in a linear congruential generator?
Modular arithmetic keeps the remainder after division by a modulus, making values wrap around within a limited range.
What sequence is produced by repeatedly multiplying by 3 modulo 7, starting at 1?
Repeatedly multiply the current position by 3 and reduce modulo 7. Starting at 1, the sequence visits 1,3,2,6,4,5 before repeating.
Why does a long LCG sequence not necessarily behave like a good random sequence?
A long sequence can still have structural patterns. Because each value is calculated from the previous one by the same linear rule, successive values are mathematically related.
What was the important weakness of IBM’s RANDU generator despite its long period?
RANDU could produce more than half a billion values before repeating, but its triples of successive outputs fell on 15 parallel planes in three-dimensional space.
Why do triples of successive LCG outputs fall on parallel planes?
Three successive LCG values are linked by a linear equation; in three dimensions, that relation places points on planes, while modular arithmetic creates multiple parallel planes.
How did Java’s LCG improve on RANDU, and what limitation remained?
Some LCGs use better multipliers and much larger moduli. Java’s generator had a sequence longer than 281 trillion steps before repeating, and its planes were so closely packed that outputs looked like a random cloud.
What role did pseudorandom numbers play in Minecraft world generation?
Minecraft’s world-generation algorithm used pseudorandom numbers to determine where resources such as clay and diamonds appeared.
How was a Minecraft chunk described, and how many diamond veins could it contain in the version discussed?
A chunk is a segment 16 blocks wide in the X direction and 16 blocks wide in the Z direction. In the described game version, a chunk could contain at most one diamond-ore vein.
How were Minecraft’s starting values for different resources related?
They shared an underlying world seed and added a different fixed value for each resource. The initial values for diamonds and river clay differed by just 3.
Why could the relationship between Minecraft’s clay and diamond starting values still be exploited?
Java modified those starting values before using them, but in most worlds the difference between the values remained within a few predictable possibilities.
How could a Minecraft player use a clay patch to locate diamonds without knowing the world seed?
A clay patch’s location could reveal information about the related diamond-placement value; the shared unknown part canceled out, so the original world seed was not needed.
How much of Java’s LCG state could be inferred from an integer output, and how many hidden-state possibilities remained?
Java’s LCG maintained a 48-bit internal state but revealed 32 of those bits in an integer output, leaving only 16 hidden bits, or 65,536 possibilities.
How can Java’s LCG’s hidden state be recovered from outputs?
A computer can test all 65,536 possible hidden values against the next output. Once the state is recovered, the generator’s later outputs can be calculated.
How did Minecraft address the described ore-generation exploit?
In the exploit described, Minecraft changed the ore generator to a different generator that did not have the flaw being used; the change was reported around version 1.18.
How does the Mersenne Twister generate groups of outputs?
It fills a table of 624 numbers, transforms the table in a step called a twist, and outputs transformed values from the new table before twisting again.
Why did the Mersenne Twister’s enormous period not guarantee that it was unpredictable?
Its period is enormous—more than 6,000 digits in length—but its outputs still follow fixed mathematical rules that can potentially be studied and exploited.
How did the slot-machine team use knowledge of the Mersenne Twister?
Alex’s team reverse-engineered the software in their own machines, compared casino spin videos with their machines, and used the generator’s rules to estimate when a winning result was likely.
Why did timing matter when exploiting the slot machines?
The generator kept running while the machine was idle, and the result depended on the number selected when the player pressed spin.
How did the gamblers’ phone app help them press spin at the right moment?
The app made the player’s phone vibrate roughly a quarter of a second before the needed press, compensating for human reaction time.
How effective was the slot-machine timing exploit, according to the account?
It did not guarantee a win on every spin, but a four-person team reportedly took more than $250{,}000 in a week.
How does an encryption-based pseudorandom generator make its outputs hard to predict?
A cryptographically secure pseudorandom generator encrypts inputs using a secret key, making outputs practically impossible to use to recover the key or predict later outputs.
What role does the secret key play in a cryptographic pseudorandom generator?
The key plays the role of a seed: it is the random starting secret that determines the sequence of outputs.
How many bits are in a common cryptographic key, and why is guessing it impractical?
A common key length is 128 bits, corresponding to more than 300 trillion trillion trillion possible keys.
Why does an encryption algorithm still need a source of randomness?
The generator cannot create unpredictability from nothing; it needs an unpredictable random seed to start.
What physical sources of random seeds are described?
Hardware generators can measure tiny fluctuations in electrical signals. Cloudflare has also used a wall of lava lamps to generate random seeds.
Why is a coin toss not necessarily fundamentally random?
A coin follows classical mechanics. If its initial conditions and flip are controlled precisely, its landing can in principle be predicted.
What is Laplace’s imagined intelligence, and what could it do?
Laplace imagined an intelligence that knew the position and motion of every particle and could use classical mechanics to calculate everything that would happen.
What definition of randomness is used in the discussion of quantum randomness?
Randomness is something that nobody—and no physical system in the universe—could have predicted in advance.
How are photon pairs produced in the described quantum experiment?
The experiment begins with intense laser pulses that interact with a crystal; occasionally, a photon produces a pair of daughter photons.
What polarization superposition can the photon pairs occupy?
The pair can be produced with both photons horizontally polarized or both vertically polarized, with no way to distinguish the alternatives; the pair is in a superposition of both possibilities.
What does it mean for the photons in the experiment to be entangled?
The two photons share a quantum state, so their measurement results are correlated even when they are far apart.
How are the entangled photons measured in the experiment?
Each photon is sent to a separate measurement station; the stations are 110 meters apart, and measurement settings are chosen at random shortly before the photons arrive.
How are detector outcomes encoded as bits?
Each station records a detection as 1 and no detection as 0.
What does a violation of Bell’s inequality show in the described experiment?
If photons carried predetermined answers for every possible measurement, their correlations could not exceed a mathematical limit. The observed correlations exceed it, violating Bell’s inequality.
What does a Bell-test violation imply about locally predetermined outcomes?
Given independent measurement choices and no communication between stations during measurement, the results cannot be explained by locally predetermined outcomes.
What is the Freedom of Choice loophole in a Bell test?
The Freedom of Choice loophole is the possibility that particles’ results were correlated in advance with the measurement settings, like a student who knows quiz questions beforehand.
How did the quasar experiment push back the possible timing of hidden coordination?
Researchers used photons from distant quasars on opposite sides of the sky to choose measurement settings. The light had traveled for billions of years from regions unable to communicate with each other since nearly the Big Bang.
Did using distant quasars completely eliminate the Freedom of Choice loophole?
It did not eliminate the loophole entirely; it pushed the possibility of hidden coordination much further back in time.
What security measures and assumptions are needed to interpret the Bell-test results?
The measurement-setting generators must be physically protected from outside interference. The result also relies on assumptions including no faster-than-light signaling, accurate timing and distances, and faithful, secure recording.
Why can’t the raw detector measurements be used directly as a balanced random bit sequence?
The Bell test estimates how much unpredictability is present, but raw measurements may contain many more zeros than ones and are not necessarily evenly balanced or independent.
How does the two-flip von Neumann procedure remove bias from coin tosses?
For an independent coin with a constant bias, assign heads-tails to 0, tails-heads to 1, and discard matching pairs. The two retained outcomes are equally likely.
How many unpredictable bits were certified in the raw measurements, and how many remained after extraction?
The Bell test certified at least 820 bits of unpredictability in the raw measurements; randomness extraction concentrated it into 512 bits.
How does the described randomness-extraction technique use the measurements?
Each measurement contributes to every extracted bit, combining the certified unpredictability into a shorter sequence.
What makes the experiment’s extracted numbers different from ordinary pseudorandom outputs?
If the experiment’s assumptions hold, the unpredictability of the extracted numbers can be certified rather than merely inferred from outputs that look random.

Ask anything
We've read this whole study set, so questions about it get the best answers.