Period Prime Test
- If 1/n has the period n-1 then n is prime(n is a natural number). Of
cf course there exist primes for them the condition don't hold. But if
it hold, n must be prime.
Is this true?
Is this a new primality test?
- --- youareprime <hugoplatzer@...> wrote:
> If 1/n has the period n-1 then n is prime(n is a natural number). Of^ The decimal expansion of
> cf course there exist primes for them the condition don't hold. But ifIt's closely related to well-known primality tests.
> it hold, n must be prime.
> Is this true?
> Is this a new primality test?
Basically it checks the order of 10 modulo N. If the order is N-1, then the
number is definitely prime.
() ASCII ribbon campaign () Hopeless ribbon campaign
/\ against HTML mail /\ against gratuitous bloodshed
[stolen with permission from Daniel B. Cristofani]
Mortgage rates near 39yr lows.
$310k for $999/mo. Calculate new payment!