amanvermagmat
Lets see what 1000 is made up of (prime factorisation).
1000 = 2^3 * 5^3.. so it is made up of three 2's and three 5's.. more important it is made up of 2 and 5.
This means from 1 to 1000, all those integers which have either 2 or 5 (or both) in their prime factorisation, will NOT be relatively prime with 1000. Or, those integers which are divisible by either 2 or 5 (or both) will NOT be relatively prime with 1000, rest all WILL BE relatively prime with 1000.
So now our task is to find those integers which are NOT relatively prime with 1000, or all those integers (From 1 to 1000) which are divisible by either 2 or 5 or both.
Now, from 1 to 1000, number of integers divisible by 2 = 500... list 1
Also, from 1 to 1000, number of integers divisible by 5 = 200... list 2
And, from 1 to 1000, integers divisible by both 2 and 5 = 100 (these are those which are divisible by 10)
Now, these last 100 integers are present in list 1 as well as list 2. So, in total, all the integers divisible by either 2 or 5 or both =
list 1 + list 2 - 100 (since these 100 are repeated in both lists)
= 500 + 200 - 100 = 600.
So, these 600 are NOT relatively prime with 1000.
Those which ARE relatively prime with 1000 = 1000-600 = 400
So the required probability = (no of favorable outcomes)/(total possible outcomes) = 400/1000 = 2/5
Hence D answer
I'm honestly surprised as to why this reply does not have more "Kudos". It is clearer and more detailed than the other explanations provided for this question.
You have my thanks, my dear individual.