Skip to main content
added 75 characters in body
Source Link
G. Melfi
  • 423
  • 2
  • 11

EDITED ANSWER. I'm notnow quite sure that this is true for every odd prime $p$. Using the list available on the OEIS (A055507), it appears that when you perform a $\chi^2$ test, for each prime $p=3,5,7,13,17,19,23,29$ and $31$, the finite sequence $\{S(n): n\le10000\}$ is uniformly distributed on $\{0,1,\dots,p-1\}$. The $p$-values are always largely above $.05$. In particular there is a quite strong statistical evidence that there are no congruence classes that appear significantly more often than others.

However, the same analysis for the prime $11$ surprisingly returns as a non$p$-uniform distributionvalue $(p=0.005)$$p=0.005$, but as, H. However his could also be due to the law of small numbersCohen remarked (see comment below), this apparent non-uniformity disappears, when one considers $n\le 10^7$.

enter image description here

I'm not sure that this is true for every odd prime $p$. Using the list available on the OEIS (A055507), it appears that when you perform a $\chi^2$ test, for each prime $p=3,5,7,13,17,19,23,29$ and $31$, the finite sequence $\{S(n): n\le10000\}$ is uniformly distributed on $\{0,1,\dots,p-1\}$. The $p$-values are always largely above $.05$. In particular there is a quite strong statistical evidence that there are no congruence classes that appear significantly more often than others.

However, the same analysis for the prime $11$ returns as a non-uniform distribution $(p=0.005)$. However his could also be due to the law of small numbers.

enter image description here

EDITED ANSWER. I'm now quite sure that this is true for every odd prime $p$. Using the list available on the OEIS (A055507), it appears that when you perform a $\chi^2$ test, for each prime $p=3,5,7,13,17,19,23,29$ and $31$, the finite sequence $\{S(n): n\le10000\}$ is uniformly distributed on $\{0,1,\dots,p-1\}$. The $p$-values are always largely above $.05$. In particular there is a quite strong statistical evidence that there are no congruence classes that appear significantly more often than others.

However, the same analysis for the prime $11$ surprisingly returns a $p$-value $p=0.005$, but as, H. Cohen remarked (see comment below), this apparent non-uniformity disappears, when one considers $n\le 10^7$.

enter image description here

added 62 characters in body
Source Link
G. Melfi
  • 423
  • 2
  • 11

I'm not sure that this is true for every odd prime $p$. Using the list available on the OEIS (A055507), it appears that when you perform a $\chi^2$ test, for each prime $p=3,5,7,13,17,19,23,29$ and $31$, the finite sequence $\{S(n): n\le10000\}$ is uniformly distributed on $\{0,1,\dots,p-1\}$. The $p$-values are always largely above $.05$. In particular there is a quite strong statistical evidence that there are no congruence classes that appear significantly more often than others.

However, the same analysis for the prime $11$ returns as a non-uniform distribution $(p=0.005)$.   However his could also be due to the law of small numbers.

enter image description here

I'm not sure that this is true for every odd prime $p$. Using the list available on the OEIS (A055507), it appears that when you perform a $\chi^2$ test, for each prime $p=3,5,7,13,17,19,23,29$ and $31$, the finite sequence $\{S(n): n\le10000\}$ is uniformly distributed on $\{0,1,\dots,p-1\}$. The $p$-values are always largely above $.05$. In particular there is a quite strong statistical evidence that there are no congruence classes that appear significantly more often than others.

However, the same analysis for the prime $11$ returns as a non-uniform distribution $(p=0.005)$.  enter image description here

I'm not sure that this is true for every odd prime $p$. Using the list available on the OEIS (A055507), it appears that when you perform a $\chi^2$ test, for each prime $p=3,5,7,13,17,19,23,29$ and $31$, the finite sequence $\{S(n): n\le10000\}$ is uniformly distributed on $\{0,1,\dots,p-1\}$. The $p$-values are always largely above $.05$. In particular there is a quite strong statistical evidence that there are no congruence classes that appear significantly more often than others.

However, the same analysis for the prime $11$ returns as a non-uniform distribution $(p=0.005)$. However his could also be due to the law of small numbers.

enter image description here

added 67 characters in body
Source Link
G. Melfi
  • 423
  • 2
  • 11

ThisI'm not sure that this is certainly true, but I have only a statistical "proof" for every odd prime $p$. Using the list available on the OEIS (A055507), it appears that when you perform a $\chi^2$ test, for each prime $p=3,5,7,11,13,17,19,23,29$$p=3,5,7,13,17,19,23,29$ and $31$, the finite sequence $\{S(n): n\le10000\}$ is uniformly distributed on $\{0,1,\dots,p-1\}$. The $p$-values are always largely above $.05$. In particular there is a quite strong statistical evidence that there are no congruence classes that appear significantly more often than others.

However, the same analysis for the prime $11$ returns as a non-uniform distribution $(p=0.005)$. enter image description hereenter image description here

This is certainly true, but I have only a statistical "proof". Using the list available on the OEIS (A055507), it appears that when you perform a $\chi^2$ test, for each prime $p=3,5,7,11,13,17,19,23,29$ and $31$, the finite sequence $\{S(n): n\le10000\}$ is uniformly distributed on $\{0,1,\dots,p-1\}$. The $p$-values are always largely above $.05$. In particular there is a quite strong statistical evidence that there are no congruence classes that appear significantly more often than others. enter image description here

I'm not sure that this is true for every odd prime $p$. Using the list available on the OEIS (A055507), it appears that when you perform a $\chi^2$ test, for each prime $p=3,5,7,13,17,19,23,29$ and $31$, the finite sequence $\{S(n): n\le10000\}$ is uniformly distributed on $\{0,1,\dots,p-1\}$. The $p$-values are always largely above $.05$. In particular there is a quite strong statistical evidence that there are no congruence classes that appear significantly more often than others.

However, the same analysis for the prime $11$ returns as a non-uniform distribution $(p=0.005)$. enter image description here

Source Link
G. Melfi
  • 423
  • 2
  • 11
Loading