Finding a prime in range with the largest minimal non quadratic residue

24 Views Asked by At

Given k, I'm trying to find the k-bit prime that has the largest minimal non-quadratic residue.

I was wondering if there's any construction like that. Perhaps some use of the CRT?