Courses
Courses for Kids
Free study material
Offline Centres
More
Store Icon
Store
seo-qna
SearchIcon
banner

The sum of all those prime numbers which are less than 31 is
A.119
B.129
C.132
D.137

Answer
VerifiedVerified
579.6k+ views
Hint: First of all, we will write all the factors of numbers less than 31. The numbers with only two factors are prime numbers. Hence, we will select all the prime numbers less than 31. Next, we will add all the prime numbers from 1 to 30 to get the required result.

Complete step-by-step answer:
We know that the prime numbers are those numbers which have only 2 factors, the factor 1 and the number itself.
We have to find the sum of all the prime numbers less than 31.
First of all, we will write all the prime numbers less than 31.
We shall write the factors of the numbers from 1 to 30.

NumberFactors
11
21,2
31,3
41,2,4
51,5
61,2,3,6
71,7
81,2,4,8
91,3,9
101,2,5,10
111,11
121,2,3,4,6,12
131,13
141,2,7,14
151,3,5,15
161,2,4,8,16
171,17
181,2,3,6,9,18
191,19
201,2,4,5,10,20
211,3,7,21


221,2,11,22
231,23
241,2,3,4,6,8,12,24
251,5,25
261,2,13,26
271,3,9,27
281,2,4,7,14,28
291,29
301,2,3,5,6,10,15,30

Here, the numbers with only two factors are prime numbers.
Hence, the prime numbers less than 31 are 2,3,5,7,11,13,17,19,23,29
We want to find the sum of the prime numbers which are less than 31.
That is, $2 + 3 + 5 + 7 + 11 + 13 + 17 + 19 + 23 + 29 = 129$
Hence, option B is correct.

Note: Factors of a number are those numbers which divide the number completely. The numbers with only two factors are prime numbers. The numbers with more than two factors are known as composite numbers. And 1 is neither a prime nor a composite number.

WhatsApp Banner