Number of Solutions to d(p) vs F(n) Modulo Prime?

  • Context: Graduate 
  • Thread starter Thread starter flouran
  • Start date Start date
Click For Summary

Discussion Overview

The discussion revolves around the number of solutions, denoted as d(p), to the congruence relation N - n² ≡ 0 (mod p), where p is a prime number and N and n are positive integers with N ≥ n. Participants explore various definitions and implications of d(p) in the context of quadratic residues and polynomial equations.

Discussion Character

  • Exploratory
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • Some participants suggest that for each prime p, there are infinitely many pairs (N, n) that satisfy the congruence relation.
  • Others propose a definition of d(p) as the cardinality of the set of pairs (N, n) such that N ≥ n and N ≡ n² (mod p).
  • A participant introduces a more precise definition of d(p) as the maximum number of solutions over all possible choices for N, indicating that specific values of N may yield fewer solutions than d(p).
  • Concerns are raised about the need for a clear definition of d(p), with suggestions that d(p, N) could be a more useful function to denote the exact number of solutions for fixed N.
  • Some participants question whether the definition of d(p) would change if the function F(n) were defined differently, such as F(n) = n - q, where q is a perfect square.
  • It is noted that if m is allowed to take any integer value, there would be infinitely many solutions for certain definitions of d(p).

Areas of Agreement / Disagreement

Participants express differing views on the definition and implications of d(p), with no consensus reached on a single definition or the nature of the solutions. Multiple competing views remain regarding the nature of solutions and the conditions under which they exist.

Contextual Notes

Participants highlight the importance of precise definitions and the implications of different formulations of the problem. There are unresolved questions about the limits on the values of n and m in certain contexts.

flouran
Messages
64
Reaction score
0
What is the number of solutions d(p) of
N-n^2 \equiv 0 \pmod p

where p is a prime and n and N are positive and N => n?
 
Physics news on Phys.org
I'm not sure what you are really asking, but for each prime p, there are an infinite number of solutions (N,n) satisfying your criteria. Take n = 1, and N= k*p + 1, for k = 1, 2, 3, ...
 
JustSam said:
I'm not sure what you are really asking, but for each prime p, there are an infinite number of solutions (N,n) satisfying your criteria. Take n = 1, and N= k*p + 1, for k = 1, 2, 3, ...
I have a trivial upper bound for d(p). That is, d(p) < p-1 for p\nmid N. I think that suffices for my usages of d(p) for now.
 
Last edited:
I am an idiot.
Hint: quadratic residue
 
I still don't understand what you are asking.
flouran said:
What is the number of solutions d(p) of
N-n^2 \equiv 0 \pmod p

where p is a prime and n and N are positive and N => n?
Let p be a prime number. Define d(p) as the cardinality of

$<br /> \{ (N,n) : N \ge 1, n \ge 1, N \ge n, N \equiv n^2 \pmod p \}<br />

Clearly you intend something different.
 
JustSam said:
I still don't understand what you are asking.

Let p be a prime number. Define d(p) as the cardinality of

$<br /> \{ (N,n) : N \ge 1, n \ge 1, N \ge n, N \equiv n^2 \pmod p \}<br />

Clearly you intend something different.

I can be clearer:
Let F(n) be a polynomial of degree g => 1 with integer coefficients. Let d(p) denote the number of solutions to the congruency F(n) \equiv 0 \pmod p for all primes p (and suppose that d(p) < p for all p). We may take F(n) = N-n^2, where N is an integer greater than (or equal to) n. What is d(p) then in this case?
 
Last edited:
flouran said:
I can be clearer:
Let F(n) be a polynomial of degree g => 1 with integer coefficients. Let d(p) denote the number of solutions to the congruency F(n) \equiv 0 \pmod p for all primes p (and suppose that d(p) < p for all p). We may take F(n) = N-n^2, where N is an integer greater than (or equal to) n. What is d(p) then in this case?
Let p be a prime number. Define d(p) as:

$<br /> \max_{N \ge 1} \left| \{ n \pmod p : N \equiv n^2 \pmod p \} \right|<br />

Then d(2) = 1, d(p) = 2 for odd primes p.
 
JustSam said:
Let p be a prime number. Define d(p) as:

$<br /> \max_{N \ge 1} \left| \{ n \pmod p : N \equiv n^2 \pmod p \} \right|<br />

Then d(2) = 1, d(p) = 2 for odd primes p.

I don't think this is the right solution . Consider p = 3 and N = 2. We know that no square number is congruent to 2 modulo 3. So in this case d(3) = 0
 
srijithju said:
I don't think this is the right solution . Consider p = 3 and N = 2. We know that no square number is congruent to 2 modulo 3. So in this case d(3) = 0
Which is why it is important to have a precise definition of d(p). According to my second version, d(p) is the maximum number of solutions over all possible choices for N, so it makes sense that you can find particular values of N that have fewer than d(p) solutions.

Perhaps "d(p,N) = exact number of solutions" would be a more useful function.
 
  • #10
I think you mean that N is fixed , but

If the question is :
Find all N < p such that n^2 = N ( mod p) for some n ( By some n , I mean that corresponding to each N there will be one n) , then :

d(p) = greatest integer less than square root of p
 
  • #11
JustSam said:
Which is why it is important to have a precise definition of d(p). According to my second version, d(p) is the maximum number of solutions over all possible choices for N, so it makes sense that you can find particular values of N that have fewer than d(p) solutions.

Perhaps "d(p,N) = exact number of solutions" would be a more useful function.

Considering d(p,N) :

take remainder of N divided by p . Let it be r.
Now if r is a perfect square , then d(p.N) will have infinite solutions of the form r + kp
else there is no solution
 
  • #12
Would d(p) be different if it was instead the number of solutions to:
F(n) \equiv 0 \pmod p? Here F(n) = n - q where q = m^2 is a perfect square where m is a natural number.
 
  • #13
Is m fixed or can it take any integer value? Are there any limits on the value of n or m?
 
  • #14
CRGreathouse said:
Is m fixed or can it take any integer value? Are there any limits on the value of n or m?

There are no limits on the value of n or m. Nice to see you on the forums, by the way Charles!
 
  • #15
flouran said:
Would d(p) be different if it was instead the number of solutions to:
F(n) \equiv 0 \pmod p? Here F(n) = n - q where q = m^2 is a perfect square where m is a natural number.

flouran said:
There are no limits on the value of n or m.

So there are, trivially, infinitely many solutions.

flouran said:
Nice to see you on the forums, by the way Charles!

You too.
 

Similar threads

  • · Replies 21 ·
Replies
21
Views
2K
  • · Replies 17 ·
Replies
17
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 17 ·
Replies
17
Views
2K
Replies
48
Views
5K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
Replies
12
Views
4K
Replies
7
Views
2K