Uniform-distribution conjecture for the random variable X_l(m,N)

About 8 years old · traced to

Let N≥3N\ge 3, and let ll and mm be positive integers such that 1≤l≤N1\le l\le N, 2≤m≤N−12\le m\le N-1, and both ll and mm are relatively prime to NN. Let Xl(m,N)X_l(m,N) be the random variable from Definition 1.21.2. Uniform-distribution conjecture. The random variable Xl(m,N)X_l(m,N) is uniformly distributed if and only if NN is a prime number. The conjecture is motivated by computations and heuristic arguments: the prime case is established in the preceding discussion, while examples for small composite values of NN suggest that primality is also necessary.

References

Primary source

Romeo Meštrović, “On some discrete random variables arising from recent study on statistical analysis of compressive sensing”, arXiv:1803.02260 (2018).

Progress summary

Refreshed
Claimed solved

A reader-written argument claims the conjecture is false for every odd composite size, but no independent verification was found.

The conjecture, appearing in Meštrović’s 2018 work, says that uniformity occurs exactly when NN is prime. The prime case is established there; the composite case was presented as conjectural.

Known results

  • Meštrović, 2018: the prime case is established, while the paper records supporting computations and related structural results for Xl(m,N)X_l(m,N).
  • For l≠0l\ne0, the expected value of Xl(m,N)X_l(m,N) is 00, with an explicit variance formula; these results do not settle the conjecture.

Posted attempt

A reader-written argument claims a complete counterexample: for every odd N≥3N\ge3 and every ll coprime to NN, the pair-sum variable Xl(2,N)X_l(2,N) is uniform because distinct unordered pairs of NNth roots of unity have distinct sums. Thus N=9N=9, l=1l=1, m=2m=2 would refute necessity of primality. The argument has not been independently verified.

Current status (as of August 2026): The prime case is settled, while the conjectured failure of uniformity for composite NN is challenged by an unverified counterexample claim and is not mathematically resolved.

Sources

Solutions 1

CounterexampleThis solution needs a summarySee full solutionHide full solution

In fact, for every odd integer N≥3N\ge3 and every ℓ\ell coprime to NN, the random variable Xℓ(2,N)X_\ell(2,N) is uniformly distributed, regardless of whether NN is prime.

Put

ζ=exp⁡(−2πiℓN).\zeta=\exp\left(-\frac{2\pi i\ell}{N}\right).

Since gcd⁡(ℓ,N)=1\gcd(\ell,N)=1, its powers are precisely the NN distinct NN-th roots of unity. The variable Xℓ(2,N)X_\ell(2,N) chooses one of the

(N2)\binom N2

unordered pairs of distinct roots with equal probability.

No such pair has sum zero: otherwise its elements would be antipodal, which is impossible when NN is odd. Now let z,wz,w be any two unit-modulus roots with

s=z+w≠0.s=z+w\ne0.

Because z‾=1/z\overline z=1/z and w‾=1/w\overline w=1/w,

s‾=1z+1w=szw.\overline s = \frac1z+\frac1w = \frac{s}{zw}.

Consequently,

zw=ss‾.zw=\frac{s}{\overline s}.

Thus the unordered pair {z,w}\{z,w\} is uniquely determined by its sum: its members are exactly the two roots of

T2−sT+ss‾=0.T^2-sT+\frac{s}{\overline s}=0.

Therefore all (N2)\binom N2 pair sums are distinct, and each occurs with probability

1(N2).\frac1{\binom N2}.

Taking

N=9,ℓ=1,m=2N=9,\qquad \ell=1,\qquad m=2

gives 3636 equally probable values although NN is composite. All stated hypotheses hold:

2≤m≤N−1,gcd⁡(ℓ,N)=gcd⁡(m,N)=1.2\le m\le N-1,\qquad \gcd(\ell,N)=\gcd(m,N)=1.

More generally, every odd composite NN provides a counterexample.

The source's Proposition 2.1 already establishes uniformity at the allowed endpoint m=N−1m=N-1 for every NN. The interior family m=2m=2 above shows that excluding this endpoint would still not repair the conjecture.