Decimal to binary by powers of 2