Liste des Groupes | Revenir à c theory |
Richard Heathfield <rjh@cpax.org.uk> writes:Yes, I have.
[...]Definition: a prime number is an integer >= 2 with no divisors >= 2You've made a mistake in an otherwise valid proof.
except itself.
>
Hypothesis: there is no largest prime number.
>
Proof:
>
Assume that a largest prime number Pn exists.
>
Itemise all the prime numbers from P1(=2) up to Pn :
>
P1 P2 P3 ... Pn
>
Insert x symbols all the way along.
>
P1 x P2 x P3 ... x Pn
>
Add 1.
>
The number thus calculated is not divisible by any prime in our list
(there being a remainder of 1 in each case), so the number calculated
is (a) prime, and (b) larger than Pn. Thus Pn is not the largest
prime. This contradicts the assumption made at the beginning, which
must therefore be false. Proof by contradiction.
The number...which I could have found myself if I'd only thought to look. I could even have done it with short ints. ;-)
(P1 x P2 x P3 ... x Pn) + 1 *either* is prime *or* is composite
and a multiple of some prime number larger than Pn.
For example, (2*3*5*7*11*13)+1 is 30031, which is 59*509.
Les messages affichés proviennent d'usenet.