In this case, we have a1 = 1, d = 2 and n = 1000.

So, using the formula

math expression

the sum 1 + 3 + 5 + … for 1000 steps is given by:

math expression