SOLUTION: If the greatest common divisor of two integers is 1, then we say those two integers are relatively prime to each other, how many even integers which are between 1 and 1000 (includi

Algebra.Com
Question 1160025: If the greatest common divisor of two integers is 1, then we say those two integers are relatively prime to each other, how many even integers which are between 1 and 1000 (including 1 and 1000) and relatively prime to 105?
Answer by Edwin McCravy(20054)   (Show Source): You can put this solution on YOUR website!
Since 105 written as a product of primes is 3∙5∙7, we want to subtract from the
1000 integers between 1 and 1000 (including 1 and 1000), all the multiples of
3,5, or 7, for that would remove all integers which have a common divisor with
105 other than 1.

Since the multiples of these three primes overlap, we must use the "sieve"
formula (the method of inclusion and exclusion):



To find the number of multiples of an integer between 1 and 1000 (including 1
and 1000), we divide 1000 by that integer and take only the whole part:

1000/3 = 333.3∙∙∙       so N(multiples of 3)         = 333
1000/5 = 200            so N(multiples of 5)         = 200
1000/7 = 142.8∙∙∙       so N(multiples of 7)         = 142
1000/(3×5) = 66.6∙∙∙    so N(multiples of 3×5=15)    = 66
1000/(3×7) = 47.6∙∙∙    so N(multiples of 3×7=21)    = 47
1000/(5×7) = 28.5∙∙∙    so N(multiples of 5×7=35)    = 28
1000/(3×5×7) = 9.5∙∙∙   so N(multiples of 3×5×7=105) = 9  

Substituting in the "sieve" formula:

(333+200+142)-(66+47+28)+(9) = 675-141+9 = 543

That's the number of multiples of 3,5 or 7

We subtract from the 1000 integers between 1 and 1000 (including 1 and 1000)

and get

1000 - 543 = 457  <---answer

Edwin

RELATED QUESTIONS

Two positive integers are relatively prime if they have no common factor other than 1.... (answered by math_helper)
Two positive integers M and N are defined to be relatively prime if GCF(M, N) = 1.... (answered by consc198,math_iz_hard)
IF p and q are two relatively prime positive integers such that p+q=10, p (answered by MistyHoneycutt)
What is the greatest possible common divisor of two different positive integers which are (answered by CubeyThePenguin)
There are 1859 balls inside an urn that are numbered individually from 1 to 1859. A ball... (answered by ikleyn)
if 3 is the greatest common divisor of positive integers r and s, what is the greatest... (answered by khwang)
Five times the greatest of three consecutive even integers is equal to twice the sum of... (answered by elima)
find the number of integers smaller than and are relatively prime to... (answered by Edwin McCravy)
If a and b are positive integers with a greatest common divisor of 3, and a/b=0.4, what... (answered by rajagopalan)