Solving a System of Congruences with A Changing Modulus

  • Context: Graduate 
  • Thread starter Thread starter drosser
  • Start date Start date
  • Tags Tags
    Modulus System
Click For Summary

Discussion Overview

The discussion revolves around solving a system of congruences involving a changing modulus, specifically focusing on the equations A == X mod (L-k) and k^2 == Y mod (L-k). Participants explore the implications of having L-k as a prime number and the challenges in finding a value for k such that X equals Y, while also considering the relationship between A and quadratic residues.

Discussion Character

  • Exploratory
  • Technical explanation
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • One participant expresses difficulty in finding a general solution for the system of congruences and mentions specific examples with values for A and L.
  • Another participant notes the lack of recognizable patterns in quadratic congruences compared to linear ones.
  • A suggestion is made to use a table of quadratic residues of primes to check if A is a quadratic residue, which could help in finding suitable values for k.
  • There is uncertainty expressed about the necessity of L-k being a prime number and the implications of pre-selecting A versus deriving it from k.
  • Participants discuss the relationship between k, k^2, and L-k, indicating a complex interdependence that complicates the problem.

Areas of Agreement / Disagreement

Participants do not reach a consensus on the necessity of L-k being prime or the best approach to solve the congruences. Multiple competing views and suggestions remain present throughout the discussion.

Contextual Notes

Participants mention the challenges posed by the changing modulus and the implications of pre-selecting A, which may affect the solvability of the system. The discussion reflects a variety of assumptions and conditions that are not fully resolved.

drosser
Messages
13
Reaction score
0
I'm working on some basic number theory. I came across an idea and I'm having trouble finding a general solution.

A == X mod (L-k)
k^2 == Y mod (L-k)

It is the equivalent of:
( k^2 - A ) / ( L - k ) = integer

A and L are two different pre-chosen numbers. I know L-k is a prime number, I just don't know which prime number from L-1 to 2. Is there a way to find a value for k such that X=Y?

An example is A=129 L=130.
I used my calculator to find k=99.
A=1613 L=1940 k=333

I also used the quadratic formula to find a lower bound

[ 4L - sqrt ( (4L)^2 - 4( 2(L^2) + A ) ) ] / 2

I have found the greater:

( k^2 – A ) / ( L – k ) + 2k

Becomes, the less accurate the lower bound is.

I have tried to apply solving systems of congruences but the method was for linear equations. And the changing modulus made it even harder.

Also, when you derive an equation from a previously proven equation, do you have to prove the new equation?

I have a copy of Gareth Jones and Mary Jones “Elementary Number Theory” and George Andrews “Number Theory.” Maybe you can point me to something I missed.
 
Physics news on Phys.org
I realize there is an easy algebraic equation for the remainder of the linear congruence, but for the quadratic congruence I don't recognize any pattern other than the standard 2n-1 from the series for calculating the square of a number.
 
drosser said:
I'm working on some basic number theory. I came across an idea and I'm having trouble finding a general solution.

A == X mod (L-k)
k^2 == Y mod (L-k)

It is the equivalent of:
( k^2 - A ) / ( L - k ) = integer

A and L are two different pre-chosen numbers. I know L-k is a prime number, I just don't know which prime number from L-1 to 2. Is there a way to find a value for k such that X=Y?
I am not sure why L-k must be a prime but if that is what you need then OK. If A is not pre-selected the problem is trite. Simply subtract any prime from L to get k and then select A = = k^2 mod L-k. But the other way around, i.e. preselecting A is more of a problem. I suggest getting a table of quadratic residues of primes and simply checking first if A == a quadratic residue. The lower primes are more apt to make A == a residue. Once you find A == a residue, say for prime = 31 as in your first example, you have your value for L-k!
 
ramsey2879 said:
I am not sure why L-k must be a prime but if that is what you need then OK. If A is not pre-selected the problem is trite. Simply subtract any prime from L to get k and then select A = = k^2 mod L-k. But the other way around, i.e. preselecting A is more of a problem. I suggest getting a table of quadratic residues of primes and simply checking first if A == a quadratic residue. The lower primes are more apt to make A == a residue. Once you find A == a residue, say for prime = 31 as in your first example, you have your value for L-k!
Opps I forgot that k relates both k^2 and L-k
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 17 ·
Replies
17
Views
2K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 0 ·
Replies
0
Views
2K
Replies
10
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K