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

Here is a Perl 6 solution, not golfed very hard:

say (67.base(2).flip.comb Z* 2 X**^Inf).grep: {$_}