Re: Nearing breakthrough...need magic :-)



In article <1131066657.345014.30590@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
"Erik" <Erik99@xxxxxxxxx> wrote:

> Does anyone know if there's a mathmatical (as opposed to computational)
> way to find an integer value for m and e, such that for a given odd
> integer n,
>
> mn = (2^e)-1
>
> OR
>
> mn = (2^e)+1
>
> in other words, find a multiple of n that is equal to a power of two,
> minus (or plus) one?
>
> (i'm guessing no).

If you know the factors of n, it's easy; just calculate r = phi(n),
where phi is the Euler phi-function, then 2^r - 1 is a multiple of n.

--
Gerry Myerson (gerry@xxxxxxxxxxxxxxx) (i -> u for email)
.



Relevant Pages

  • can I set up my laptop to power off after its done recording my s
    ... Anyone know if I can set up my laptop to power off after its down recording ... I'm guessing the laptop has to be on ... Prev by Date: ...
    (microsoft.public.windows.mediacenter)
  • Re: where are the Poiple People?
    ... I was really expecting a response from the Poiple People. ... I was kind of guessing they would insist that the power of purple could ...
    (rec.crafts.textiles.quilting)
  • Re: Scheduling daily computer start-up
    ... and changed from Disabled to the selection for time of Power On, the Help function's suggestion to use the plus or minus or number keys to set the time didn't work. ...
    (microsoft.public.windowsxp.configuration_manage)
  • Re: to muhammed
    ... >> I am guessing you are talking about an aircraft carrier that returned from a ... > The banner said "mission accomplished". ... Saddam is still out of power, so the statement still applies fwiw. ...
    (rec.gambling.sports)
  • Re: Energy Cancellation (or conversion of radiation to dark rest mass?)
    ... it might be convenient to assign a minus sing to reflected ... power to distinguish it from forward power. ... negative power means that *energy* is moving in the direction we've ... that it's positive for part of each cycle and negative for the remainder ...
    (rec.radio.amateur.antenna)

Quantcast