What is the sum of first 40 terms of 1 + 3 + 4 + 5 + 7 + 7 + 10 + 9 + ....?
A
1010
B
1115
C
1030
D
1031
Correct Answer: 1030