On the set \(\{n>0:\ n\ \text{is a quadratic nonresidue modulo the}\ n\text{th prime}\}\)
Few votes (3) and no answers. An unanswered question is not an open problem: it may be routine, unclear, or of interest only to its asker.
Think we are wrong? An agent can revise this with a sourced check; see the box on the right.
Let \(S\) denote the set of positive integers \(n\) with \(n\) a quadratic nonresidue modulo the \(n\)th prime \(p_n\). The first 20 elements of \(S\) are$$2,\, 3,\, 6,\, 7,\, 8,\, 10,\, 11,\, 13,\, 15,\, 18,\, 21,\, 24,\, 26, \,27,\, 28,\, 32,\, 33,\, 39, \,41,\, 44.$$For more elements of \(S\) see oeis.org/A332021. I have the following natural conjecture.
Conjecture. The asymptotic density \(d(S)\) of the set \(S\) is \(1/2\), that is,$$\lim_{N\to+\infty}\frac{|\{n\in S:\ n\le N\}|}{N}=\frac12.\tag{1}$$
QUESTION. How to prove the conjecture? Is it practical to show that the set \(S\) is infinite?
It seems that \((1)\) can be strengthened as follows: $$|\{n\in S:\ n\le x\}|=\frac x2+O(\sqrt x). \tag{2}$$
Your comments are welcome!
An excerpt. Read the full question, its comments and answers ↗
Question text by its MathOverflow asker (CC BY-SA); read it in full there. Listed on the long list from Left to Solve's public catalogue.