Chinese Arithmetic Game

A friend of mine, Vincent, told me that when he was a kid in China, they would play a number game with a deck of cards. You draw four cards, and try to get a result of 24 using only addition, subtraction, multiplication and division on the four numbers drawn.

For Example, if you drew 6, 4, 5, 5 you could solve it with (6*4)+5-5

He couldn't figure out if a solution was possible when given two threes and two eights, so I wrote this brute force javascript to solve the problem.

{ "url": "https:\/\/holtstrom.com\/michael\/", "base": "\/michael", "domain": "holtstrom.com", "loggedin": false, "avatar": "", "render": "nothing", "doTracking": true, "trackingID": "UA-36983794-1", "description": "Solution to a Chinese arithmetic game where you get a result of 24 from four numbers and basic operators.", "tmdbUrl": "http:\/\/www.themoviedb.org\/", "tmdbPoster": "http:\/\/image.tmdb.org\/t\/p\/w342" }