quote:Original post by vaneger
actually i goofed i dont need numbers that multiply to get a producti need numbers that add to get a number how can i find that? such as 2 + 5 = 7 or 3 + 4 = 7 etc
Assuming that you are dealing with integers: start with the number, subtract one. The result and 1 is one set.
Then subtract 2, the result and 2 is another set. And so on and so forth.
BTW.
I dont't think the OP asked for prime factors anyways.
[edited by - yspotua on April 3, 2004 8:52:19 PM]