Paper record
W1987380455On the Distribution of Quadratic Residues and Nonresidues Modulo a Prime Number
René Peralta
- Year
- 1992
- Venue
- Mathematics of Computation
- References
- 10
- Cited by
- 82
Details and counts from OpenAlex.
Abstract
Let P be a prime number and be distinct integers modulo P. Let x be chosen at random with uniform distribution in , and let . We prove that the joint distribution of the quadratic characters of the ’s deviates from the distribution of independent fair coins by no more than . That is, the probability of matching any particular quadratic character sequence of length t is in the range . We establish the implications of this bound on the number of occurrences of arbitrary patterns of quadratic residues and nonresidues modulo P. We then explore the randomness complexity of finding these patterns in polynomial time. We give (exponentially low) upper bounds for the probability of failure achievable in polynomial time using, as a source of randomness, no more than one random number modulo P.