How many positive integers less than 2007 are relatively prime to 1001?
Hello, Dragon!
How many positive integers less than 2007 are relatively prime to 1001?
There are 2006 positive integers less than 2007.
How many of these have a common factor with 1001?
We find that: .
There are: . with a factor of 7.
There are: . with a factor of 11.
There are: . with a factor of 13.
There are: . with a factor of 7 and 11.
There are: . with a factor of 7 and 13.
There are: . with a factor 11 and 13.
There are: . with a factor of 7, 11 and 13.
Formula:
Hence: .
There are 562 integers which have factors of 7, 11, and/or 13.
Therefore, there are: . integers relatively prime to 1001.