Re: effective Method to calculate n-th power



On Wed, 8 Jun 2005, Jyrki Lahtonen wrote:

> > If q is the order of g^x, then the order of g^x^n can be calculated
> > as I hinted in other post. That is different than the value of g^x^n
> > which, knowing the order, can be 'simplified'.
>
> How can you compute the order of g^x^n starting from the
> order of g^x alone??
>
g^x^n = (g^x)^x^(n-1)
o(a^k) = o(a)/(k,o(a))

> E.g. consider the multiplicative group Z_{17}^* of order 16.
> Assume that the other given data is g^x=4 and n=3.
> Now we could have
> A) g=2,x=2, so the answer would be g^x^n=2^8=1 (mod 17),
> an element of order 1, or
> B) g=4,x=1, so the answer would be g^x^n=4^1=4 (mod 17),
> an element of order 4.
>
> Do you now see that we are given insufficient information?
No,Iofternavoideyestrain,bynotreadingequationswithoutspaces.
.



Relevant Pages

  • Re: READ IT AND WEEP YOU POOR BASTARDS
    ... If that´s what you call knowing someone you are definitely without a ... doubt alone. ... There are no penny stock scams, douchebag, so if your premise is wrong, ... Prev by Date: ...
    (sci.energy.hydrogen)
  • More questions on realloc - Thanks
    ... alone, without knowing the size of the memory region pointed to by ptr, is ... Prev by Date: ...
    (comp.lang.c)
  • Re: UK VMS HP contract customers
    ... Simon Clubley wrote: ... > I would be interested in knowing if anyone else had problems, ... You're not alone. ... Prev by Date: ...
    (comp.os.vms)
  • Re: Poorly Bees
    ... >>> He uses it in real life too, so you're not alone in not knowing. ... last Chrimble at the MA you introduced him as AW. ...
    (uk.rec.sheds)
  • Re: wu-ftpd problem with time in the logs
    ... >> if that alone will make the cloud go away. ... Knowing that you are wrong is the zeroth step you need to ...
    (comp.os.linux.misc)