the sum of first n consecutive odd integers is n ^ 2 . what is the sum of all odd integers between 9 and 39 inclusive .
n0 = 2.0
n1 = 9.0
n2 = 39.0
t0 = n2 + 1.0
t1 = n1 - n0
t2 = t1 + 1.0
t3 = t0 / n0
t4 = t2 / n0
t5 = t3**min(n0, 5)
t6 = t4**min(n0, 5)
answer = t5 - t6
print(answer)