cancel
Showing results for
Did you mean:
cancel
Showing results for
Did you mean:

Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X

12-Amethyst

## The Fours Fours Game

For those of you who like The Four Fours Game, I just uploaded the newest version of my document dedicated to this obsession.  It's part of this old thread I started for the previous version of the document:  https://community.ptc.com/t5/PTC-Mathcad/Lusk-Four-Fours-Game-20120125-pdf/m-p/449748

3 REPLIES 3
23-Emerald II
(To:FredLusk)

Impressive, Fred.

I have to confess that my first thought on seeing the problem was "This looks like something a permutation generator would be nicely suited to chewing through the possibilities".  Fortunately,  I have far too many other things to keep me occupied.

Stuart

12-Amethyst
(To:StuartBruff)

BTW, I have read accounts online about people who have written programs to do what you suggest.  Here are two examples, although the second one is not really a Four Fours solvers, but I suspect the techniques are transferable:  https://codegolf.stackexchange.com/questions/12063/four-fours-puzzle  https://gist.github.com/Radcliffe/fab1cefe6e2a3a23466539a7ecbc6edb  However, I think it's more fun to discover solutions by hand.

23-Emerald II
(To:FredLusk)

That's even more impressive, Fred!  I hope you have similar excuses for avoiding yard work for many years to come.

I'm avoiding reading about other solutions to programming the Four Fours problem because where would be the fun in seeing how it was done?  😈

(I'm also wondering if I could generalize it to find solutions to the 'n' 'm's problem ...)

Still, the world is safe from such a putative program, as I have lots of grasshoppers in my 'zone', meaning I have an Earth-girdling chain of unfinished worksheets (I've got ten on the go at the moment, split between two laptops.  Maybe it's just as well PTC doesn't make a Mac version of Mathcad).

Stuart

Announcements
Top Tags