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


in reply to Hamming Sequences and Lazy Lists

See also this implementation I've just made: http://lua-users.org/wiki/HammingNumbersVariant.