1.

What will be the sum of odd number 1 to 49

Answer»

A = 1

d = 2

L = 49

=> a + (N-1)d = 49

=> 1 + (n-1) (2) = 49

=> (n-1) (2) = 48

=> n - 1 = 24

=> n = 25

Required sum = n/2 [ a + L]

= 25 / 2 [ 1 + 49]

= 25 × 50 / 2

= 25 × 25

= 625



Discussion

No Comment Found

Related InterviewSolutions