InterviewSolution
Saved Bookmarks
| 1. |
Find sum of first 30 integers divisible by 8 |
|
Answer» Join betternation.xyz This is a site where u can have a lot of friends and fun ? ? ? The number series 8, 16, 24, 32, 40, 48, 56, 64, 72, 80, 88, 96, . . . . , 240.The first term a = 8The common difference d = 8Total number of terms n = 30\xa0step 2 apply the input parameter values in the AP formulaSum = n/2 x (a + Tn)= 30/2 x (8 + 240)= (30 x 248)/ 2= 7440/28 + 16 + 24 + 32 + 40 + 48 + 56 + 64 + 72 + 80 + 88 + 96 + . . . . + 240 = 3720Therefore, 3720 is the sum of first 30 positive integers which are divisible by 8 |
|