Take the 2-minute tour ×
MathOverflow is a question and answer site for professional mathematicians. It's 100% free, no registration required.

I feel that the following problem should be known, but I'm not sure where to look for it.

Fix a real constant $\frac{1}{2} \ge \epsilon > 0$. For varying primes $p$, Let $A_p$ denote the set of residue classes coming from the first $\lfloor p \epsilon \rfloor$ integers. Let $B_p$ denote the squares (modulo $p$) of the elements of $A_p$. Then one might ask whether $$\lim_{p \rightarrow \infty} \frac{|A_p \cap B_p|}{|A_p|} =^{?} \epsilon.$$ It's true for $\epsilon = \frac{1}{2}$, but that's a degenerate case where $B_p$ can essentially be replaced by $\mathbf{F}^{\times 2}_p$, in which case the answer follows from any non-trivial upper bound on character sums (say the Polya-Vinagradov inequality). Is it true more generally?

share|improve this question
This would follow if you knew $\sum_{0<x<p\epsilon}e(ax^2/p)=o(p)$ for $1\leq a \leq p-1$, right? Or am I missing something? If this is right, can't you just complete the sum? –  David Hansen Feb 10 '11 at 1:59
add comment

2 Answers

up vote 7 down vote accepted

This is a variant of a common theme. It should follow from more or less standard exponential sums estimates. The general buzzword is Erdos-Turan inequality. The answer should be yes and it might follow from the results of:

A. Granville, I. E. Shparlinski and A. Zaharescu, On the distribution of rational functions along a curve over $\mathbb{F}_p$ and residue races, J. Number Theory, 112 (2005), 216--237.

or C. Cobeli and A. Zaharescu, On the distribution of the $\mathbb{F}_p$-points on an affine curve in $r$ dimensions, Acta Arithmetica 99 (2001), 321--329.

Or perhaps even earlier papers.

share|improve this answer
@Scribe: Don't worry about bounties, save your points for when you need them. You can accept the answer, if you want. –  Felipe Voloch Feb 11 '11 at 2:02
@Scribe: What have you done with the points? –  Felipe Voloch Feb 12 '11 at 8:22
add comment

Based on a couple of experiments it seems very likely. There is a slight bias to be over $\epsilon$, maybe because the squares of the residues up to $\sqrt{\frac{p}{\epsilon}}$ are in the intersection and the later squares are pretty randomly scattered around. In the limit that effect goes to 0.

share|improve this answer
add comment

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.