135_9_-_Solutions

135_9_-_Solutions - Assignment 9 Solutions 1. (a) Given n =...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
1. (a) Given n = pq , p > q , and φ ( n ) = ( p - 1)( q - 1) prove that p + q = n - φ ( n ) + 1 and p - q = p ( p + q ) 2 - 4 n. Solution: For the first part, n - φ ( n ) + 1 = pq - ( p - 1)( q - 1) + 1 = pq - ( pq - p - q + 1) + 1 = p + q. And for the second part, ( p + q ) 2 - 4 n = p 2 + 2 pq + q 2 - 4 pq = p 2 - 2 pq + q 2 = ( p - q ) 2 . Since ( p - q ) > 0 , we have p ( p + q ) 2 - 4 n = p - q . (b) The integer n = 71531 is the product of two primes p and q , and the Euler phi function φ ( n ) = ( p - 1)( q - 1) = 70992. Determine the prime factors p and q . Solution: We have n = pq = 71531 φ ( n ) = ( p - 1)( q - 1) = 70992 Since ( p - 1)( q - 1) = pq - ( p + q ) + 1 , we have 70992 = 71531 - ( p + q ) + 1 . Thus, p + q = 540 , pq = 71531 . Substituting p = 540 - q gives q 2 - 540 q + 71531 = 0 and thus q = 270 - p 270 2 - 71531 = 270 - 37 = 233 and p = 307. Check: (233)(307) = 71531 and (232)(306) = 70992. 1
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 07/24/2011 for the course MATH 135 taught by Professor Andrewchilds during the Winter '08 term at Waterloo.

Page1 / 4

135_9_-_Solutions - Assignment 9 Solutions 1. (a) Given n =...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online