http://www.perlmonks.org?node_id=211725


in reply to Solving math equations

Well if X or Y cannot equal one what would happen if X * Y = 3? Or if X * Y = prime number. Are you trying to write a function that return non-prime numbers? How will you check for primes? So are you writting a function that will calucate prime numbers? I guess I don't understand your question.

Replies are listed 'Best First'.
Re: Solving math equations
by FireBird34 (Pilgrim) on Nov 10, 2002 at 05:26 UTC
    Thanks BrowserUk -- I've about had it for tonight, so I'll try my hand at this again in the morning. If for some reason I still can't get it, I'll post back. However, with what is posted, I should have it. Thanks again.

    Also, rbc -- don't worry about it now. BrowserUk answered the part that had me stumped.