# [MATL], <s>12</s> 11 bytes -1 byte thanks to the master himself:) 60:B"@fQ6eq Explanation: 60: % create a vector [1,2,3,...,60] B % convert to binary matrix (each row corresponds to one number) " % loop over the columns and execute following commands: @f % "find" all the nonzero entries and list their indices Q % increment everything 6e % reshape and pad with a zero at the end q % decrement (reverts the increment and makes a -1 out of the zero % close loop (]) implicitly % display the entries implicitly [Try it online!][TIO-jv2cowmt] [MATL]: https://github.com/lmendo/MATL [TIO-jv2cowmt]: https://tio.run/##y00syfn/38zAyknJIS3QLLXw/38A "MATL – Try It Online"