## Elementary Statistics (12th Edition)

$n_1$ is the number of odd digits among the data, $n_1=17$. $n_2$ is the number of even digits among the data, $n_2=13$. The value of $G$ (the test statistic) is the number of repeated values: $G=15$. The critical value, determined by the table: $G_c=10,22$. If $G$ is in the rejection region, we reject the null hypothesis. $10\lt15\lt22.$ Thus we fail to reject the null hypothesis Hence there is not sufficient evidence to reject the claim of randomness.