Solver for «3 3 8 8 ⇒ 24» type puzzles
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Puzzle24
.gitignore
DESIGN
Expr.pm
NOTES
Puzzle24.pm
README.mkdn
Solution.pm
expr.t
solve-all.pl
solve.pl
unit.t

README.mkdn

Recognizing when two arithmetic expressions are essentially the same Code for solving “24” puzzles. For example:

 Given only the numbers 1, 3, 4, and 6, combine them using only
 ordinary addition, subtraction, multiplication, and division, to
 make the number 24.

Discussions about this on my blog:

I, Mark Dominus, the author of the material in this Git repository, hosted at https://github.com/mjdominus/24-puzzle-solver, hereby relinquish all copyrights and other property rights in the material, completely and in perpetuity, and place it entirely in the public domain.