find the sum of all natural number less than 1000 and which are neither divisible by 5and by 2
Answers
Answered by
1
Sum of all the numbers upto 1000 – (Sum of all the numbers divisible by 2 upto 1000 + Sum of all the numbers divisible by 5 upto 1000 – Sum of all the numbers which are divisible by both 2 and 5)
= 500500 – (250500 + 100500 – 50500)
= 200000
Similar questions