(a) Prove that every positive integer n can be written uniquely in the form n=j=1∑2k+1(−1)j−12mj, where k≥0 and 0≤m1<m2⋯<m2k+1 are integers.
This number k is called weight of n.(b) Find (in closed form) the difference between the number of positive integers at most 22017 with even weight and the number of positive integers at most 22017 with odd weight. algebraRMMAdditive combinatoricsrepresentationRMM 2016