The number of terms in the expansion of (x + a)n + (x-a)n are (n+2)/2 if n is even, or (n+1)/2 if n is odd.