Quadratic Nonresidue Suppose $r$ integers $n_1, \ldots, n_r$ are given such that $0<|n_i|<N$ for $1 \leq i \leq r$ and for a natural number $N.$ Is it possible to find a prime number $p$ such that all numbers $n_1, \ldots, n_r$ are quadratic nonresidue mode $p$? Can we say $p < N^6?$ 
I think the answer to my first question is yes, but I don't know how to give an upper bound for $p$? 
 A: I don't think this is true in general, for instance, if there exists $1\leq i <j<k<r$ such that $n_in_j = n_k$, then $(n_i/p)=(n_j/p)=-1\implies (n_k/p)=1$ (where $(a/p)$ is the Legendre symbol). Moreover, if $n_i$ is a perfect square, then trivially you have that for every prime $p$, $n_i$ is a quadratic residue. So, you must have the assumption that, for each $n_i$, there is a prime $p\mid n_i$, such that $p$ appears with an odd exponent in decomposition of $n_i$.
However, if you assume that, say, $(n_i,n_j)=1$ for every $i \neq j$, then yes, you can construct such a prime. Here is one way. For each $n_1,\dots,n_r$, let us consider the sets $P_1,P_2,\dots,P_r$ where $P_i$ is the set of prime divisors of $i $, that appear with an odd exponent (assumed to be non-empty). Now, select primes $p_j\in P_j$ for every $j$, let $\mathcal{P}=\{p_1,\dots,p_r\}$, and let $\mathcal{Q}=\bigcup_{k=1}^r P_k \setminus \mathcal{P}$. 
We will construct a prime $q$ such that $q$ is a quadratic residue modulo $p$ for every $p\in\mathcal{P}$, and $q$ is quadratic non-residue, modulo every $p\in \bigcup_{k=1}^r P_k \setminus \mathcal{P}$, using the law of quadratic reciprocity. Take $q\equiv 1\pmod{8}$, and thus, $(-1)^{(p-1)/2 \cdot (q-1)/2}=1$. Now, take $q\equiv n_p\pmod{p}$, where $n_p$ is a quadratic residue, modulo $p$ for every $p\in\bigcup_{k=1}^r P_k \setminus \mathcal{P}$; and take $q\equiv n_p'\pmod{p}$, for every $p\in \mathcal{P}$, where $n_p'$ is a quadratic non-residue. Clearly, such a $q$ exists (from Chinese remainder theorem), and satisfies your claim.
