in reply to Re: mini-golf: convert integer into list of powers of twoin thread mini-golf: convert integer into list of powers of two
f(7) is (1,2,4) because 7 is 1+2+4.