Given a positive integer, print that many hamming numbers, in order.
Rules:
- Input will be a positive integer \$n \le 1,000,000 \$
- Output should be the first n terms of https://oeis.org/A051037
- Execution time must be < 1 minute
- This is code-golf; shortest code wins
1
s is conformant with your specs. It will also be in order, i.e. not an unordered sequence. :) \$\endgroup\$ – Will Ness Jan 5 '18 at 15:03