Re: A question about Probable Primes



Marc Bogaerts <mar_c.bo_gaerts@xxxxxxxxxxx> writes:
> If I recall correctly a probable prime is a number n that satisfies
> a^n=a mod n, and this for a limited series of values of a.
>
> In fact this only means that a set of numbers < n have multiplicative
> order that is a divisor of (n-1);
>
> This is clearly not enough to prove that it is a prime number (does
> anybody have some examples of a non prime satisfing this equation for
> a non negligable set of a's?).

Carmichael numbers satisfy all Fermat PRP tests. (By definition.)

Strong PRP tests have more interesting failure cases.
For small sets, Jaeschke.
For large sets, Arnault.
Both of the above have been improved upon by later computations.

> On the other hand, the multiplicative group of the residues mod n
> forms a cyclic group of order phi(n), if one could could explicitely
> find a number a that is a generator of this group, would that prove n
> to be a prime?
>
> Example n=78965412325879886541233547894322017892532463949
>
> n-1 factors as 2, 2, 3, 53, 38431, 69661, 90731, 106273, 7320461,
> 657039278116952161
>
> Take a=2, then for all the divisors d of (n-1) I calculate a^d and
> this is only ==1 when d=(n-1), so I conclude n is a prime number, is
> this correct?

Yup. You've shown n-1|phi(n), and you already know phi(n)<=n-1.

Phil
--
What is it: is man only a blunder of God, or God only a blunder of man?
-- Friedrich Nietzsche (1844-1900), The Twilight of the Gods
.



Relevant Pages

  • Re: why this assembly language is not good?
    ... Linux - for cross-compiling mobile phone stuff ... WinXP - for reading PDFs and reading mail ... is man only a blunder of God, or God only a blunder of man? ...
    (alt.lang.asm)
  • Re: Music Quiz
    ... > I have had a Christmas quiz at work, the one with the most answers wins ... Scottish valley, Scottish Clan ... is man only a blunder of God, or God only a blunder of man? ...
    (rec.puzzles)
  • Re: Can you prove 10101 isnt prime in any base?
    ... Just view the representation as a polynomial evaluated at its ... you want to be canonicalising quite frequently in ... is man only a blunder of God, or God only a blunder of man? ...
    (rec.puzzles)
  • Re: The Max speaketh again..
    ... > then spending money on the same technology only to leave all the teams ... That way they have an incentive to innovate each and every year. ... is man only a blunder of God, or God only a blunder of man? ...
    (rec.autos.sport.f1)
  • Re: If you found a way of factoring large numbers fast...
    ... large number fast, or to do a discrete log fast, what would you do? ... In the meantime, put on a batch of berry wine, or something. ... is man only a blunder of God, or God only a blunder of man? ...
    (sci.crypt)