∑nr=0(−1)rnCr{12r+3r22r+7r23r+15r24r+.... upto m terms}
=n∑r=0(−1)rnCr{12r+3r4r+7r8r+15r16r+..... upto m terms}
=∑nr=0(−1)rnCr{(12)r+(34)r+(78)r+(1516)r+.... upto m terms}
=n∑r=0(−1)rnCr(12)r+n∑r=0(−1)rnCr(34)r+n∑r=0(−1)rnCr(78)r+n∑r=0(−1)rnCr(1516)r
+..... upto m terms
=(1−12)n+(1−34)n+(1−78)n+(1−1516)n+...... upto m terms
=12n+14n+18n+..... upto m terms
=12n(1−(12n)m)1−12n
=2mn−12mn(2n−1)