Re: FLTMA: A little group theory
- From: "The Dougster" <DGoncz@xxxxxxx>
- Date: 18 Oct 2006 20:52:17 -0700
Chip Eastham wrote:
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.
I am investigating this.
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.
-1 mod z = z-1 is always coprime to z so this element always exists in
the group, and by theorem 4.16 in Fraleigh, every "linear" equation
ax=b and ya=b in an arbitrary group G has unique solutions x and y in
G, but this equation with w = z/y is w*w = -1 which is not a linear
equation, or w*(w*w) = -1 but I do see that there is some way this
equation w^n = -1 mod z might have no solution. I have to think about
this, but I have already programmed it.
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*.
Um, in a post elsewhere in sci.math, I think we determined that if
(x/y)^n = 1 mod z then (x/y)^m = -1 mod z, where m divides n. Or
something like that. So if n is prime, we have no solution for m. Maybe
that's the deal.
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.
That follows from 2 prime, I think, if the above was valid.
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.
I will investigate.
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)
Something very close to that, if m divides n, which I think I've seen
in tests.
Doug
.
- Follow-Ups:
- Re: FLTMA: A little group theory
- From: Chip Eastham
- Re: FLTMA: A little group theory
- From: Chip Eastham
- Re: FLTMA: A little group theory
- References:
- 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
- Re: FLTMA: A little group theory
- From: Chip Eastham
- Re: FLTMA: A little group theory
- Prev by Date: Re: An uncountable countable set
- Next by Date: accumulation points,
- Previous by thread: Re: FLTMA: A little group theory
- Next by thread: Re: FLTMA: A little group theory
- Index(es):
Relevant Pages
|