![]() |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Fermat's small theorem de Fermat (condensed): In mathematics, the small theorem of Fermat is a result of the modular arithmetic, which can also demonstrate itself with the tools of the elementary arithmetic.
It expresses itself as follows. If 'a' is a not divisible integer by p such as p is a prime number, then a p-1 -1 is a multiple of p. The corollary of this theorem is that, for every 'a' interger and 'p' prime number, then ap -1 is a multiple of p.
He owes his name to Pierre de Fermat (on 1601 - 1665) who expresses it the first time on October 18th, 1640.
Remember : prime of Mersenne : if no : because it's don't work for 211
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Prime number's guess in corollary of Fermat's small theorem |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Shoud redable as following : if the reminder of 2n-2 / n is 0 <=> if the reminder of 2n-1-1 /n est 0Ensuing of Fermat's small theorem,if a=2; if remainder (= modulo 1) of a n-a/a = 0 then n is prime number (if not n is not prime) It's only a guess because it's necessary to be able to demonstrate it (*),2 n Exceeds the capacities of calculations and calculators... (I'm writing modulo 1 because it's the computer function
, should be
It's very important to see that in this guess only 2n put numbers into 2 well separed groups , primes and non primes (*) Professor Henry Cohen of the university of Bordeaux notes " We can conclude nothing if 2n-1 1 is divisible by n, but it is rather likely in this case that n is prime (Number's history Tallandier Edition 2007) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Comments |
|
Matrice showing this guess (a=2) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Fermat small theorem don's separate prime and not prime as well as wish.:
Samples : a=3 n=6 , 6 is not prime , the 36-3/3 reminder should be <> 0 nb: 3 as 2 is prime...
pour a=5 , n=10
It's seems to be the same for all n/a = 2 ...
For a= 4 it's worse...
Small appended notes:
If we want to know if a number is divisible by other one of head you should:
If it's even divide it by 2 If it's odd substract it : "lui ôter une mesure"as would have written it Fermat....)
Ensue of binary algorithm |
. |
If mod = 0 then n is prime ... if not n is not Important notice
by add one on two sides |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Is 221 dividable by 7? 221-7=214 214/2=107 107-7=100 50/2=27 27-7=20 20/2=10 10/2=5 221 n'est pas divisible par 7 (31*7 reste 4)
|
Is 91 dividable by 7? 91-7=84 84/2=42 42/2=21 21-7=14 14-7=7 . |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
or others |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Patrick Stoltz le 18/10/2009 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||