http://qs1969.pair.com?node_id=482003


in reply to Algorithm for cancelling common factors between two lists of multiplicands

Hi BrowserUK,

I'm not understanding what you mean by cancelling out. Can you explain a bit more thoroughly? I see you've updated the original node, but it's still not clear to me. If an item in b is a factor of an item in a, should both be eliminated? Or if they have a factor in common? Or...?

Also, will the arrays be sorted, as they are in your example?