Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

Re^2: Hamming Sequences and Lazy Lists

by Limbic~Region (Chancellor)
on Mar 17, 2005 at 18:03 UTC ( #440463=note: print w/replies, xml ) Need Help??

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

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://440463]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (7)
As of 2018-03-20 19:50 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (259 votes). Check out past polls.