Answer the question
In order to leave comments, you need to log in
Algorithm for dropping a number?
A random number falls out, from 1 to 5. Can I find an algorithm if I know the last couple of numbers?
1 5 1 2 3 3 3 5 2 3 1 5 2 4 5 2 2 5 3 1 2 3 2 1 4 3 4 4 4 3 5 1 3 1 4 2 3 4 3 5 5 3 5 5 1 5 1 2 1 5 2 5 5 5 4 3 2 3 1 3 5 5 4 3 2 2 1 1 3 2 2 3 3 3
Answer the question
In order to leave comments, you need to log in
A random number is drawn, from 1 to 5.
We take numbers not up to 5, but up to 12. We find the algorithm. We're going to collect money from the casino. You are wonderful!
It is possible if deterministic generation algorithms are used, depending on previous states. As an example, we can cite a linear-congruent method (in fact, there are a lot of similar ones). Some analysis will be required to determine the type and restore the states of the generator, but the possibility exists.
But in general, hacking a random generator is considered to predict the next result with a higher probability than the theoretical one. For this, the analysis of the number generator is not needed, it is enough to analyze the sequence. But it is possible only when using weak algorithmic or faulty physical generators.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question