178k views
2 votes
The sum of all positive integers less than 400 which are divisible by 5.

User Mani Ratna
by
7.1k points

2 Answers

6 votes

Answer: 8000

Explanation:

5+15+25+35+....395

=5(1+3+5+7+...+79)

=5*40^2

=8000

User Dimas Pante
by
6.7k points
4 votes

Answer:

sum = 15800

Explanation:

The sum of all positive integers less than 400 which are divisible by 5. The last number divisible by 5 that is less than 400 is 395.

Arithmetic progression can be used to solve this. We will first find the number of term that can give us 395 since that is the last term that is less than 400 and can divide 5.

first term = 5

difference = 5

n = number of terms

nth term = a + (n - 1)d

395 = 5 + (n - 1)5

395 = 5 + 5n - 5

395 = 5n

n = 395/5

n = 79

The sum of this term can be computed as

sum = n/2(a + l)

a = first term

l = last term

sum = 79/2 (5 + 395)

sum = 79/2 × 400

sum = 31600/2

sum = 15800

User Vstm
by
7.3k points