Simple Math Riddle

Here’s a deceptively simple riddle for you:

Using the numbers 1, 3, 4, 6 exactly once each, and any combination of +, -, *, /, plus parenthesis if you need to, try to arrive at the number: 24.

Give it a try. If you find the solution, I applaud you! (I could’t).

If you don’t (or if like to read recursive algorithms), you can find a solution in R here, where I use the superb data.tree package to do a brute-force random search.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s