@matthew_d_green no arithmetic needed -- flip a  11 times and record a 1 or zero, there's your number. 

if you need decimal the conversion is pretty simple - print the powers of two, cover rows for zeroes, add.