Cool goIITian
Find the number of numbers congruent to 1 mod 7. there are 143 such numbers as 1000/7 is 142.8666. so ans is 143/1000. BECAUSE 1 is also 1 mod 7.