In a children's math book I found the following example:
There are $2$ numbers: $242, 961$.
You can use these numbers as many times as you want, and you can use any arithmetical operator between them. E.g.: $242+242*961-961$
The result must be $562$.
One should determine the how these numbers can be used with any arithmetical operator to give the result. Which is the best way to solve it?
I tried it with Wolfram but didn't know how to supply these values to it. Is there a regular way to solve these types of tasks?
Do you have any hint?