Timon Gehr: > If anyone is interested: > http://pastebin.com/2rEdx0RD I suggest you to usually compile your D code with -w, I see some missing overrides. At line 40 it gives me a "Warning: statement is not reachable". Are you able to use it to translate the Haskell version of this task? http://rosettacode.org/wiki/Hamming_numbers#Haskell Bye, bearophile