Hello yshridhar

Welcome to Math Help Forum! , so there are integers from to that are divisible by .

In the same way, you can find the number of integers that are divisible by .

Add this number to . Then you will need to subtract the number of integers that are divisible by , because they will have been counted twice. (Note that , so and have no common factors.)

Can you complete this now?

Grandad