We prove by induction that o(n)=22n−1−2n−1. For n=1, this reads o(1)=21−20=1, which is obviously true - the only such 2-tuple is (1,1). Suppose it is true for n.
If (a1,a2,…,an,b1,b2,…,bn) gives an odd sum, then we can take (an+1,bn+1) to be any of (0,0),(0,1),(1,0) and still get an odd sum for (a1,a2,…,an+1,b1,b2,…,bn+1). On the other hand, if (a1,a2,…,an,b1,b2,…,bn) is even, then we must have an+1=bn+1=1 to get an odd sum. Thus o(n+1)=3o(n)+e(n). But o(n)=22n−1−2n−1 and e(n)=(o(n)+e(n))−o(n)=22n−22n−1+2n−1=22n−1+2n−1. So o(n+1)=4⋅22n−1−2⋅2n−1=22(n+1)−1−2(n+1)−1, which establishes the result for n+1 and hence for all n.
Hence e(n)=22n−o(n)=22n−1+2n−1 and e(n)o(n)=2n+12n−1.