[Math] Relative primes

prime numbers

What is the number of integers between 1 and 60 that are relatively prime to 60? I know that the answer is 16, but how do I go about finding the relative primes using a quick process?

Best Answer

You can use the Euler's totient, see http://en.wikipedia.org/wiki/Euler%27s_totient_function for how it works. By the way, the answer is 16, not 15 (if you include 1).

If moreover you want to know who are those numbers, I guess you should list all the primes between 1 and 60 that does not appear in the factorisation of 60 ; then all the numbers you are looking for are made from those primes.

Related Question