Skip to main content

Soluton Manual For Elementary Number Theory, 7th Edition by Kenneth H. Rosen

Page 1

INSTRUCTOR’S SOLUTIONS MANUAL DANIEL R. JORDAN Columbia College Chicago

ELEMENTARY NUMBER THEORY AND I TS A PPLICATIONS SEVENTH EDITION

Kenneth H. Rosen Formerly AT&T Laboratories


Copyright © 2023, 2011, 2005 by Pearson Education, Inc. or its affiliates. All Rights Reserved. Manufactured in the United States of America. This publication is protected by copyright, and permission should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or transmission in any form or by any means, electronic, mechanical, photocopying, recording, or otherwise. For information regarding permissions, request forms, and the appropriate contacts within the Pearson Education Global Rights and Permissions department, please visit www.pearsoned.com/permissions/. Unless otherwise indicated herein, any third-party trademarks, logos, or icons that may appear in this work are the property of their respective owners, and any references to third-party trademarks, logos, icons, or other trade dress are for demonstrative or descriptive purposes only. Such references are not intended to imply any sponsorship, endorsement, authorization, or promotion of Pearson’s products by the owners of such marks, or any relationship between the owner and Pearson Education, Inc., or its affiliates, authors, licensees, or distributors.

PPID: A101703116114


Contents Chapter 1. The Integers 1.1. Numbers, Sequences, and Sums 1.2. Sums and Products 1.3. Mathematical Induction 1.4. The Fibonacci Numbers 1.5. Divisibility

1 1 8 11 15 21

Chapter 2. Integer Representations and Operations 2.1. Representations of Integers 2.2. Computer Operations with Integers 2.3. Complexity of Integer Operations

29 29 35 37

Chapter 3. Greatest Common Divisors 3.1. Greatest Common Divisors and their Properties 3.2. The Euclidean Algorithm 3.3. Linear Diophantine Equations

41 41 45 50

Chapter 4. Prime Numbers 4.1. Prime Numbers 4.2. The Distribution of Primes 4.3. The Fundamental Theorem of Arithmetic 4.4. Factorization Methods and the Fermat Numbers

55 55 59 65 76

Chapter 5. Congruences 5.1. Introduction to Congruences 5.2. Linear Congruences 5.3. The Chinese Remainder Theorem 5.4. Polynomial Congruences 5.5. Systems of Linear Congruences 5.6. Factoring Using the Pollard Rho Method

81 81 88 92 96 99 102

Chapter 6. Applications of Congruences 6.1. Divisibility Tests 6.2. The Perpetual Calendar 6.3. Round-Robin Tournaments 6.4. Hashing Functions 6.5. Check Digits

103 103 109 111 113 114

Chapter 7. Some Special Congruences 7.1. Wilson’s Theorem and Fermat’s Little Theorem 7.2. Pseudoprimes 7.3. Euler’s Theorem

121 121 126 128

Chapter 8. Arithmetic Functions 8.1. The Euler Phi-Function 8.2. The Sum and Number of Divisors 8.3. Perfect Numbers and Mersenne Primes 8.4. Möbius Inversion 8.5. Partitions

133 133 140 146 151 155

Copyright © 2023 Pearson Education, Inc.


Chapter 9. Cryptology 9.1. Character Ciphers 9.2. Block and Stream Ciphers 9.3. Exponentiation Ciphers 9.4. Public Key Cryptography 9.5. Cryptographic Protocols and Applications

165 165 166 172 173 174

Chapter 10. Primitive Roots 10.1. The Order of an Integer and Primitive Roots 10.2. Primitive Roots for Primes 10.3. The Existence of Primitive Roots 10.4. Discrete Logarithms and Index Arithmetic 10.5. Primality Tests Using Orders of Integers and Primitive Roots 10.6. Universal Exponents

177 177 180 183 186 191 193

Chapter 11. Applications of the Order of an Integer 11.1. Pseudorandom Numbers 11.2. The ElGamal Cryptosystem 11.3. An Application to the Splicing of Telephone Cables

197 197 199 200

Chapter 12. Quadratic Residues 12.1. Quadratic Residues and Nonresidues 12.2. The Law of Quadratic Reciprocity 12.3. The Jacobi Symbol 12.4. Euler Pseudoprimes 12.5. Zero-Knowledge Proofs

203 203 210 215 219 221

Chapter 13. Decimal Fractions and Continued Fractions 13.1. Decimal Fractions 13.2. Finite Continued Fractions 13.3. Infinite Continued Fractions 13.4. Periodic Continued Fractions 13.5. Factoring Using Continued Fractions

223 223 228 232 235 239

Chapter 14. Nonlinear Diophantine Equations and Elliptic Curves 14.1. Pythagorean Triples 14.2. Fermat’s Last Theorem 14.3. Sums of Squares 14.4. Pell’s Equation 14.5. Congruent Numbers and Elliptic Curves 14.6. Elliptic Curves Modulo Primes 14.7. Applications of Elliptic Curves

241 241 244 248 251 252 259 265

Chapter 15. The Gaussian Integers 15.1. Gaussian Integers and Gaussian Primes 15.2. Greatest Common Divisors and Unique Factorization 15.3. Gaussian Integers and Sums of Squares

269 269 276 287

Appendix A.

Axioms for the Set of Integers

291

Appendix B.

Binomial Coefficients

293

Copyright © 2023 Pearson Education, Inc.


CHAPTER 1

The Integers 1.1. Numbers, Sequences, and Sums 1.1.1. a.

The set of integers greater than 3 is well-ordered. Every subset of this set is also a subset of the set of positive integers, and hence must have a least element.

b.

The set of even positive integers is well-ordered. Every subset of this set is also a subset of the set of positive integers, and hence must have a least element.

c.

The set of positive rational numbers is not well-ordered. This set does not have a least element. If a/b were the least positive rational number then a/(b + a) would be a smaller positive rational number, which is a contradiction.

d.

The set of positive rational numbers of the form a/2 is well-ordered. Consider a subset of numbers of this form. The set of numerators of the numbers in this subset is a subset of the set of positive integers, so it must have a least element b. Then b/2 is the least element of the subset.

e.

The set of nonnegative rational numbers is not well-ordered. The set of positive rational numbers is a subset with no least element, as shown in part (c).

1.1.2.

Let S be the set of all positive integers of the form a − bk. S is not empty since a − b(−1) = a + b is a positive integer. Then the well-ordering principle implies that S has a least element, which is the number we’re looking for.

1.1.3.

Suppose that x and y are rational numbers. Then x = a/b and y = c/d, where a, b, c, and d are integers with b ̸= 0 and d ̸= 0. Then xy = (a/b) · (c/d) = ac/bd and x + y = a/b + c/d = (ad + bc)/bd where bd ̸= 0. Since both x + y and xy are ratios of integers, they are both rational.

1.1.4. a.

1.1.5.

1.1.6.

Suppose that x is rational and y is irrational. Then there exist integers a and b such that x = ab where a and b are integers with b ̸= 0. Suppose that x + y is rational. Then there exist integers c and d with d ̸= 0 such that x + y = dc . This implies that y = (x + y) − x = (a/b) − (c/d) = (ad − bc)/bd, which means that y is rational, a contradiction. Hence x + y is irrational. √

√ 2 + (− 2) = 0.

b.

This is false. A counterexample is given by

c.

This is false. A counterexample is given by 0 ·

d.

This is false. A counterexample is given by

√

√

2·

2 = 0. √

2 = 2.

√ √ Suppose that 3 were√ rational. Then √ there would exist positive integers a and b with √ 3 = a/b. Consequently, the set S = {k 3 | k and k 3 are positive integers} √ is nonempty since 3. Therefore, by √ a=b √ √ the well-ordering property, S has a smallest element, say s = t 3. We have s 3 − s = s 3 − t 3 = (s − √ √ √ √ t) 3. Since s 3 = 3t√and s are both integers, s 3 − s = (s − t) 3 must also be an integer. Furthermore, √ √ √ √ √ it is positive, since s 3 − s = s( 3 − 1) and 3 > 1. It is less than s since s = t 3, s √3 = 3t, and 3 < 3. This contradicts the choice of s as the smallest positive integer in S. It follows that 3 is irrational. Let S be a set of negative integers. Then the set T = {−s : s ∈ S} is a set of positive integers. By the well-ordering principle, T has a least element t0 . We prove that −t0 is a greatest element of S. First note 1


Turn static files into dynamic content formats.

Create a flipbook
Soluton Manual For Elementary Number Theory, 7th Edition by Kenneth H. Rosen by AnswerDone - Issuu