1 \documentclass{article}
3 \title{Using complexity of short strings to define new statistical tests for PRNGs}
15 \section{Introduction}
17 \section{Algorithmic complexity for short strings}
19 In their paper, they introduced a method to compute the complexity of D(n).
20 With D(4), 5 970 768 960 machines halt. There are 1832 different strings.
22 \section{Property: a PRNG must preserve the distribution of short strings}
24 In this section, we propose to measure the quality of a PRNG by considering that
25 a good PRNG must preserve the distribution of short strings. More precisely, the
26 pseudo-random numbers obtained by a PRNG can form the states of the Rado's
27 original Busy Beaver. Then, machines obtained by such a construction can be
28 executed and if the PRNG is good, machines should generate the same strings with
29 the same distribution than the theoretical Busy Beaver (with all the enumeration
30 of states). In practice, PRNGs will not generate all the strings with exactly
31 the same probabilities. Nevertheless, the distance between the theoretical
32 probabibilities and the obtained probabilities with a PRNG is a good indication
33 of the quality of the PRNG.
35 In the following we report our experiments. Let $S_i$ be the string number $i$
36 obtained by the busy beaver, $S(n)$ is the set of strings of $D(n)$. With $D(4)$
37 there are 1832 strings, so $|S(4)|=1832$. $P_t(S_i)$ is the theoretical
38 probability of the string $S_i$ and $P_{PRNG}(S_i)$ is the probability of the
39 string $S_i$ obtained with the execution of a given PRNG. Let For $D(n)$, the