Starry interview question

Supply an unsigned integer to represent a certain number on an 8-led binary "display"