I've been doing some perl experiments... Did you know that there are 465 unique 4 number combos that will evaluate to 24 according to the rules? (0038,0308,0380,... and all it's permutations all count as one).

Also, of all these possible 465 solutions:
code:
  13 (unlucky number!) depend on having two sets of (), that is (ab)(cd)
131 depend on having at least one '+'
174 depend on having at least one '-'
306 depend on having at least one '*'
36 depend on having at least one '/'

By now, it's clear to you guys: I was trying to simplify the algorithm by not including something!!!

Just thought to share my findings with you guys. Haven't coded a single KiXtart line yet... [Smile]

[ 18. September 2002, 01:09: Message edited by: Fernando Madruga ]
_________________________
Later,   [b]Mad[/b]ruga