Arithmetic Sequenceshard
0:00.0

In an arithmetic sequence, the sum of terms from ama_m to ana_n (inclusive) is given by S=(nm+1)(am+an)2S = \frac{(n-m+1)(a_m + a_n)}{2}. If a5=12a_5 = 12 and a12=33a_{12} = 33, what is the sum of the terms from a5a_5 to a12a_{12}?