Discrete Mathematics with Applications 4th Edition

Published by Cengage Learning
ISBN 10: 0-49539-132-8
ISBN 13: 978-0-49539-132-6

Chapter 4 - Elementary Number Theory and Methods of Proof - Exercise Set 4.7 - Page 213: 28

Answer

See explanation

Work Step by Step

**Proof:** Suppose, for the sake of contradiction, that there are only finitely many prime numbers. Then there is a largest prime; call it \( p \). Define \[ M = p! + 1. \] Since \( p! \) (the factorial of \( p \)) is divisible by every prime number less than or equal to \( p \), for any prime \( q \) with \( q \le p \) we have \[ q \mid p!. \] Thus, when dividing \( M \) by any prime \( q \le p \), \[ M = p! + 1 \equiv 0 + 1 \equiv 1 \pmod{q}. \] That is, none of the primes \( \le p \) divides \( M \). Now, by the Fundamental Theorem of Arithmetic, every integer \( M > 1 \) has at least one prime divisor. Let \( q \) be any prime divisor of \( M \). Since no prime less than or equal to \( p \) divides \( M \), it must be that \[ q > p. \] This contradicts our assumption that \( p \) is the largest prime. Therefore, there must be infinitely many prime numbers.
Update this answer!

You can help us out by revising, improving and updating this answer.

Update this answer

After you claim an answer you’ll have 24 hours to send in a draft. An editor will review the submission and either publish your submission or provide feedback.