Find the sum of all natural numbers amongst first one thousand numbers which are neither divisible 2 or by 5
Answers
Answered by
6
998 and 995 once check the answer care full
ashutoshmehra45:
Noooo bro
Answered by
21
1,2,3, ............, 999, 1000.The above list forms an AP with,first term, a = 1 and common difference, d = 1Now, number of terms, n = 1000We know that,Sn = n2[2a + (n−1)d] so,S1000 = 10002[2 + 999(1)] = 500 × 1001 = 500500.The list of numbers from 1 to 1000 divisible by 2 are :2,4, 6, 8, .........1000.The above list forms an AP with first term, a = 2 and common difference, d = 2Now, number of terms in the above AP, n = 500.Sn = n2[2a + (n−1)d] so,S500 = 5002[4 + 499(2)] = 250 × 1002 = 250500.The list of numbers from 1 to 1000 divisible by 5 are :5, 10, ........., 1000.The above list forms an AP with first term, a = 5 and common difference, d = 5Now, number of terms in the above AP, n = 200.Sn = n2[2a + (n−1)d] so,S200 = 2002[10 + 199(5)] = 100 × 1005 = 100500.The list of numbers from 1 to 1000 divisible by 10 are :10, 20, 30, ...........1000.The above list forms an AP with first term, a = 10 and common difference, d = 10Now, number of terms in the above AP, n = 100.Sn = n2[2a + (n−1)d] so,S100 = 1002[20 + 99(10)] = 50 × 1010 = 50500.sum of numbers from 1 to 1000 that are either divisible by 2 or by 5, S' =S500 + S200 − S100= 250500 + 100500 − 50500 = 300500sum of numbers from 1 to 1000 that are neither divisible by 2 nor by 5 =S1000 − S' = 500500 − 300500 = 200000
Similar questions
Accountancy,
7 months ago
Computer Science,
7 months ago
English,
7 months ago
Physics,
1 year ago
Hindi,
1 year ago
Math,
1 year ago