- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Find the sum of all natural numbers that are less than 100 and divisible by 4.
To do: The sum of all natural numbers that are less than 100 and divisible by 4
Solution:
The smallest natural number divisible by 4 is 4
The largest number within 100 which is divisible by 4 is 96
Thus, first term, a=4
Common difference is d=8-4=4
We will find the total number , n=?
$a_n=96$
$a_n=a+(n-1)d$
$96=4+(n-1)4$
$96-4=4n-4$
$92+4=4n$
$96=4n$
$n=\frac{96}{4}$
$n=24$
We can directly find n by directly multiplying $\frac{96}{4}$
Now,
$S_n=\frac{n}{2}\times (a+a_n)$
$S_n=\frac{24}{2}\times (4+96)$
$S_n=\frac{24}{2}\times 100$
$S_n= 12\times 100$
So when we do it,we get
$S_n=1200$
- Related Articles
- Find the sum of all natural numbers between 1 and 100, which are divisible by 3.
- Find the sum of all 2-digit natural numbers divisible by 4.
- Find the sum of all 3-digit natural numbers which are divisible by 13.
- Write all the numbers less than 100 which are common multiples of 3 and 4.
- Find the sum of all integers between 100 and 550, which are divisible by 9.
- Find the sum of the integers between 100 and 200 that are divisible by 9
- Find the number of all three digit natural numbers which are divisible by 9.
- Find the sum of all integers between 100 and 550 which are not divisible by 9.
- Find the sum of the integers between 100 and 200 that are not divisible by 9
- Sum of first N natural numbers which are divisible by X or Y
- Find the number of numbers which are divisible by $7$ between $100$ and $1000$.
- Sum of first N natural numbers which are divisible by 2 and 7 in C++
- PHP program to find the sum of first n natural numbers that are divisible by a number ‘x’ or a number ‘y’
- Find the sum of all odd numbers between 100 and 200.
- Find the sum of all 3-digit natural numbers, which are multiples of 11.

Advertisements