number of extra even numbers required
even = x - odd ; NEW_LINE return ( ( odd * odd ) + ( even * even ) + even ) ; NEW_LINE def rangeSum ( N , L , R ) : NEW_LINE return ( sumTillX ( R , N ) - sumTillX ( L - 1 , N ) ) ; NEW_LINE