Wednesday, May 31, 2006

Playing with numbers - Wei-Hwa’s Puzzle Challenge Number 1

Leave comments here: 3 comment(s)
Using the PERL code from a previous post. I Changed the numbers to 7-7-3-3 (and 5-5-5-1), executed the code and here are the results.

> perl 7733.pl (Download here)
7*(3+(3/7)) = 24

> perl 5551.pl (Download Here)
5*(5-(1/5)) = 24

Is there a theory for this? Does it work for all numeric combinations?
Digg this blog