sum all odd numbers from 1 to n