http://www.perlmonks.org?node_id=972106


in reply to mini-golf: convert integer into list of powers of two

score = 56, although I don't really understand your spec. Why doesn't f(4) = 1,2,4?