As far as whether it is 2^(N-1) or (2^N) - 1:
since there are no parentheses, I would assume that the usual order of operations applies. Since exponentiation is 'stronger' than subtraction, then I assume it to be: (2^N) - 1
|
Posted by Larry
on 2004-12-12 08:20:22 |