Finding Solutions for x12+x22=1 on Finite Fields Zp using Prime Number Algorithm

  • Context: Graduate 
  • Thread starter Thread starter khotsofalang
  • Start date Start date
  • Tags Tags
    Algorithm Prime
Click For Summary

Discussion Overview

The discussion revolves around finding solutions to the equation x12 + x22 = 1 within the finite field Zp, where p is a prime number. Participants explore potential algorithms for identifying all possible pairs (x1, x2) that satisfy this equation, as well as the complexity of such algorithms.

Discussion Character

  • Exploratory
  • Mathematical reasoning
  • Homework-related

Main Points Raised

  • One participant inquires about an algorithm that can provide all solutions (x1, x2) in Zp*Zp and the total number of such solutions, expressing a need for clarity on the complexity of the solution.
  • Another participant suggests a brute-force approach that would involve checking all possibilities, estimating the complexity at O(p^2 log^2 p).
  • A subsequent post emphasizes the need for a more efficient method to solve the equation.
  • One participant mentions the possibility of finding two quadratic residues that sum to 1, noting that this may be simpler for primes that are congruent to 1 modulo 4, and describes a specific approach involving contiguous quadratic residues.

Areas of Agreement / Disagreement

There is no consensus on a specific algorithm or method for solving the equation. Multiple approaches are suggested, and the discussion remains open regarding the best way to find solutions.

Contextual Notes

The discussion does not resolve the assumptions regarding the properties of quadratic residues or the implications of the prime number condition on the solutions.

khotsofalang
Messages
21
Reaction score
0
i am sorry guys, the last time i posted this problem it was completely different but this time if we
Let x12+x22=1 be a unit circle upon a finite field Zp where p is prime. Is there any algorithm which can give all the possible solutions (x1,x2) an element of Zp*Zp as well as the total number of such solutions? If exists, what is the complexity of it?
 
Physics news on Phys.org
You could check all possibilities. That takes something like O(p^2 log^2 p).

Now you just need a *good* way to solve it.
 
all right, but what i actually need is that good way of solving it
 
i need a solution to such an equation for stregthening my extended essay,anibody with a gud way of solving it?
 
If I understood correctly, you are looking for two quadratic residues that add up to 1. It may be easier for primes congruent to 1 modulo 4, because quadratic residues for those primes are 'symmetric': r is a quadratic residue iif p-r is. In this case you just look for contiguous quadratic residues on the lower half, from 2 to (p-1)/2: if r and r+1 are quadratic residues, then p-r also is, and (p-r)+(r+1) add to 1. My 2 cents.
 

Similar threads

  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 13 ·
Replies
13
Views
5K
  • · Replies 2 ·
Replies
2
Views
7K
  • · Replies 0 ·
Replies
0
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 17 ·
Replies
17
Views
7K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 6 ·
Replies
6
Views
6K
  • · Replies 33 ·
2
Replies
33
Views
11K