in reply to Re: Hamming Sequences and Lazy Lists
in thread Hamming Sequences and Lazy Lists

Roy Johnson,
Shouldn't 14 be in the results since it is a multiple of 2?

Cheers - L~R

Replies are listed 'Best First'.
Re^3: Hamming Sequences and Lazy Lists
by Roy Johnson (Monsignor) on Mar 17, 2005 at 18:05 UTC
    No, my understanding is that we only want numbers that factor as 2^X * 3^Y * 5^Z.

    Caution: Contents may have been coded under pressure.
      Roy Johnson,
      You are correct, I am wrong. I was so focused on lazy evaluation that I misunderstood "how do you generate the series of numbers composed of a given list of prime factors, where each can be used an unlimited number of times?" To me, that meant any positive multiple of any factor was valid.

      Cheers - L~R