If is odd, and the term is . If is even, and the term is .
There are 8 odd integers on the closed interval [1,15], so there are 8 terms worth 0 each for a total of 0. There are 7 even integers on the same interval, so there are 7 terms worth 2 each for a total of 14. 0 plus 14 is 14.