Find the sum of all the numbers less than and which are neither divisible by nor by .
Step1: Calculation of the sum of all the numbers divisible by up to .
The sum of first natural numbers is given by the formula .
Numbers divisible by up to are .
Sum of all the numbers divisible by up to is given by:
Step2: Calculation of the sum of all the numbers divisible by up to .
Numbers divisible by up to are .
Sum of all the numbers divisible by up to is given by:
Step3: Calculation of the number of terms that are divisible by both and up to .
Numbers divisible by both and will be divisible by .
The numbers up to which are divisible by are .
Clearly, this forms an AP with .
The th term of an A.P. is given by , where is a first term and is a common difference.
Substitute 1000 for , 10 for and 10 for in the formula .
Step4: Calculation of the sum of all the numbers divisible by both and up to .
The sum of first terms of an A.P. series is given by the formula , where is the first term and is the common difference.
Substitute 10 for , 100 for and 10 for in the formula .
Step5: Calculation of the sum of all the numbers up to .
Sum of all the numbers up to is given by:
Step6: Calculation of the sum of all the numbers which are neither divisible by nor by up to .
The sum of all the numbers less than , which are neither divisible by nor by is equal to
Sum of all the numbers up to – (Sum of all the numbers divisible by up to + Sum of all the numbers divisible by up to – Sum of all the numbers up to which are divisible by both and ).
Final Answer: The sum of all the numbers less than , which are neither divisible by nor by is .