You can use the formula for the sum of an arithmetic series to calculate that quickly. (Of course, you can also type the numbers into Excel, and get the sum - but that doesn't scale well - e.g., it won't work well if you are then asked, for instance, to get the sum of the first million even numbers.)
The numbers are 38, 40 and 42.
The sum of the first 40 whole numbers is 780.
The sum of the first 20 even numbers... is 110
2+4+6+8+10........+40=420
The numbers are 25 and 15
The sum of the first 40 even numbers is 1,640.
The numbers are 38, 40 and 42.
The sum of the first 40 whole numbers is 780.
The sum of the first 40 odd numbers is 1,600.
The sum of the first 20 even numbers... is 110
2+4+6+8+10........+40=420
The sum of the numbers 1 to 39 = 39 x 40 ÷ 2 = 780 The sum of the numbers 1 to 60 = 60 x 61 ÷ 2 = 1830 Therefore the sum of the numbers 40 to 60 = 1830 - 780 = 1050
The prime numbers between 40 and 60 are 41, 43, 47, 53 and 59. These sum to 243.
Sum of numbers = 40 Count of numbers = 4 Average = Sum/Count = 40/4 = 10
The sum of the first 40 even positive integers can be equal to 820.
The numbers are 40, 41 and 42.
The sum of two numbers between 20-40 is 58. The difference is 12