Display program code

hamming.pl : Solves Hamming Problem
Solves the Hamming Problem which is to build the infinite ascending sequence of positive numbers containing no prime factors other than 2, 3 and 5 (cf. http://en.wikipedia.org/wiki/Hamming_problem).

How to use:
The constraint hamming/0 displays the unlimited sequence of Hamming numbers.
As the sequence is unlimited the program does not terminate!

Program: Change the code, then submit!

Console: Enter query or select example from below, then submit and wait for answer!

Select example query: 

WebCHR help - CHR Website - (c) Copyrights Martin Kaeser Uni Ulm 2007