- #1
changeofplans
- 6
- 0
Homework Statement
Suppose that p and q are prime numbers and that n = pq. Use the principle of inclusion-exclusion to find the number of positive integers not exceeding n that are relatively prime to n.
Homework Equations
Inclusion-Exclusion
The Attempt at a Solution
The way I see it, n = pq is contained in a set of all the prime numbers from 1 to pq, plus the multiples that are not prime. So:
n = pq - |pi U qi|
I'm not exactly sure where to go from here, though. Any help is appreciated.