MAT102 Lecture 14
- 2
How many numbers less than or 6 are coprime to 6 - So
- a)
- Compute
for
- Compute
- b)
- If
is prime, then - So we know that if a number
is prime, then that means that there aren't any elements less than are co-prime. - We can show the examples from above that are prime.
- We can see that these are prime numbers and their result from
is .
- Solution:
- Clearly every number
satifying is coprime to , so
- Clearly every number
- If
- c)
- If
is prime and , determine . - If
: - Then we have
- So we can have
- This means:
for some .
- Then we have
- If
is prime, then has a factor which is . - How many of these factors do we have? We have
co-prime factors. - So
- Let's see if this works:
- Solution:
and is not coprime. - All multiples of
are not coprime with . - Claim:
is not coprime to for some .
- Suppose
for some . Then and so and are not coprime.
- Suppose
- Suppose that
is not coprime to . This means they share a prime factor. - Let
be a prime factor of both and . - Since
then . or . - If two primes divide each other, they must be the same prime.
- The only prime that divides
is .
- Since
are both prime, then . .
- Suppose that
- So
- So
- If