here is the link of the problem but i can't understand the form of numbers
https://www.spoj.pl/problems/EASYPROB/
do u meant that in this binary no.
10001001
the first term (1000) -> the power will be three terms as zeros 2^2+2^1+2^0
and second term (100) -> the power will be two terms as zeros 2^1+2^0
and so on
but here for example
73=2(2(2)+2) +2(2+2(0)) +2(0)
the binary of 73 = 100 100 1
this binary won't help me as i understand