Just pick one of the numbers for a, then you only have to solve b,c,d. Either b or d has to be quite large in order to get the 125 for bd/c (assuming a=30). So pick high-ish numbers for them Seeing as the smallest c can get is 34, they have to multiply to at least 4250 - restricting your choice even further. So select b and d, divide the product by 125 and see if it's on your list for c.
Probably not the quickest way, but simple and works... perhaps someone kind with a bit of 1337 5k!11z will knock up a program/script for you if you're likely to be doing it regularly.
__________________
I can't understand why people are frightened of new ideas. I'm frightened of the old ones. -- John Cage (1912 - 1992)
|