Re: FLTMA: A little group theory
- From: "Chip Eastham" <hardmath@xxxxxxxxx>
- Date: 18 Oct 2006 08:02:39 -0700
The Dougster wrote:
There is a probem with FLTMA1.exe, at
ftp://users.aol.com/DGoncz/Education/NVCC.
I compute a quotient, then take the power. It doesn't work out.
I call the quotients qxiyz for quotient of x divided by y mod z,
qyixz similarly, and so qzixy and qxiyx. I call the inverse y mod z
iyz, and so
ixz, ixy, and iyx.
I find (x * iyz)^n mod z =/= qxiyz^n mod z
I was confused about how Chip Eastham got to (x/y)^n == -1 mod z but it
seemed right, and I think I understand it now, but working out y * iyz
= 1 mod z to solve for iyz, and computing qxiyz = (x * iyz) mod z
before looking at the powers qxiyz^n mod z just doesn't seem to work.
Have I made one too many substitutions and lost the validity of the
modular arithmetic?
Most likely it's a typo but I am not seeing it.
A couple of points. First, for some values of x,y,z there
will not be a solution for (x/y)^n = -1 mod z, so your code
will have to report these failures "nicely". This contrasts
with congruences (z/y)^n = 1 mod x and (z/x)^n = 1 mod y
which are always solvable, resp. by some divisors of
phi(x) and phi(y). Ie. elements of a multiplicative group
must have an order.
What I noted about cases when (x/y)^n = -1 mod z does
have a solution is that then n is half the order of (x/y) in
Z/zZ*.
The converse is not true, though. Consider the residue
in Z/15Z. The order of residue 4 is 2, but clearly half that
order does not give a power of 4 equal to -1 in Z/15Z.
In fact you can run through all possible powers of 4 in
Z/15Z without getting to -1.
So my recommendation for solving (x/y)^n = -1 mod z
is to compute the order of (x/y) in Z/zZ* just as you
would for the other two congruences. If this order is
not even, you are done in that there is no solution.
If the order is even, you must verify whether or not
half the order gives (x/y)^n = -1 mod z.
Finally we have three simultaneous congruences
for the exponents n (assuming the third condition
here can be satisfied at all):
n is a multiple of the order of (z/y) in Z/xZ*
n is a multiple of the order of (z/x) in Z/yZ*
n is an odd multiple of half the order of (x/y)
in Z/zZ* (if a solution exists)
regards, chip
.
- Follow-Ups:
- Re: FLTMA: A little group theory
- From: The Dougster
- Re: FLTMA: A little group theory
- References:
- FLTMA: A little group theory
- From: The Dougster
- Re: FLTMA: A little group theory
- From: The Dougster
- Re: FLTMA: A little group theory
- From: The Dougster
- Re: FLTMA: A little group theory
- From: Chip Eastham
- Re: FLTMA: A little group theory
- From: The Dougster
- Re: FLTMA: A little group theory
- From: Chip Eastham
- Re: FLTMA: A little group theory
- From: The Dougster
- Re: FLTMA: A little group theory
- From: Chip Eastham
- Re: FLTMA: A little group theory
- From: The Dougster
- Re: FLTMA: A little group theory
- From: The Dougster
- Re: FLTMA: A little group theory
- From: The Dougster
- Re: FLTMA: A little group theory
- From: The Dougster
- Re: FLTMA: A little group theory
- From: Chip Eastham
- Re: FLTMA: A little group theory
- From: The Dougster
- Re: FLTMA: A little group theory
- From: The Dougster
- FLTMA: A little group theory
- Prev by Date: Re: Cantor Confusion
- Next by Date: Re: representing ideal as an intersection of prime ideals
- Previous by thread: Re: FLTMA: A little group theory
- Next by thread: Re: FLTMA: A little group theory
- Index(es):
Relevant Pages
|