SOLUTION: find the sum of all natural numbers between 1 and 100 which are not exactly divisible by 2 or 3?

Algebra.Com
Question 739966: find the sum of all natural numbers between 1 and 100 which are not exactly divisible by 2 or 3?
Answer by KMST(5328)   (Show Source): You can put this solution on YOUR website!
We can find that sum if we find the sum for all the natural numbers between i and 100, and for the sums for those numbers that are not supposed to be counted.

The sum of all integers from to is


The sum of all natural numbers between 1 and 100 is
The sum of all natural numbers between 1 and 100 that are exactly divisible by 2 is


The sum of all natural numbers between 1 and 100 that are exactly divisible by 3 is


All numbers that are exactly divisible by 2 and 3 are divisible by 6, and all numbers exactly divisible by 6 are divisible by 2 and 3.
The sum of all natural numbers between 1 and 100 that are exactly divisible by 2 and 3 is the sum of all natural numbers between 1 and 100 that are exactly divisible by 6, which can be calculated as


To find the sum we want, we start with the sum of all the natural numbers from 1 to 100;
we subtract the sum of those that are exactly divisible by 2;
we subtract the sum of those that are exactly divisible by 3,
and since in the previous subtractions we subtracted the numbers divisible bt 6 twice,
we add the sum of natural numbers between 1 and 100 that are exactly divisible by 6.


or if you prefer, you can calculate it as

RELATED QUESTIONS

Find the sum of all natural numbers less than 100 that are not divisible by... (answered by ikleyn)
Find the sum of all-natural numbers from 100 to 300: i) Which are exactly divisible by... (answered by math_helper,greenestamps)
Find the sum of all natural numbers from 1 to 300 which are divisible by 3 (answered by Alan3354)
Calculate the sum of all natural numbers from 100 to 200 both inclusive which are not... (answered by AnlytcPhil)
1. The sum of 4 integers is 24 and their product is 945. What are those integers? 2.... (answered by CPhill,greenestamps)
a,b,c are three natural numbers in ascending order lying between 30 and 40 . Given (a+b), (answered by ikleyn,greenestamps)
Find the sum of all 4 digit natural numbers of the form 4AB8 which are divisible by... (answered by Edwin McCravy)
find the sum of all the numbers between 200 and 600 which are divisible by... (answered by Theo,MathTherapy,math_helper)
How many numbers between 100 and 1000 are Not divisible by 2 Not divisible by 3 Not... (answered by ikleyn)