In (1 + x) ^ n, the sum of all odd binomial coefficients is 1024. What is the binomial coefficient of the middle term?

In (1 + x) ^ n, the sum of all odd binomial coefficients is 1024. What is the binomial coefficient of the middle term?

The sum of all odd binomial coefficients is 1024
That is, 2 ^ n = 1024, the solution is n = 10
So the middle item is item 6
T(k+1)=C(10,k)·1^(n-k)·x^k
Item 6 K is 5
The binomial coefficient is C (10,5) = 252