@squirrel Yeah, I mean, you start with, say, 13, and you do 13 mod 2 for your first bit, subtract the result, divide by 2, then mod by 2 again, that's your second bit, etc. So it needs division too which I hadn't gotten to until I started thinking through the actual steps.