[map{sprintf"%0$_[0]b",$_^$_/2}0..2**$_[0]-1]