In message <[EMAIL PROTECTED]>,
Greg Bacon writes:
: Enumerating the possible operator layouts:
:
: - # # o # o # o
: - # # o # # o o
: - # # # o o # o
: - # # # # o o o
:
: where '#' represents a number and 'o' an operator.
D'oh! Forgot one:
- # # # o # o o
: A little combinatorics:
:
: 4! # positions for numbers
: 4 # number of operations
: x 4 # number of operator layouts
: ---
: 384 # size of search space
That's bad too. :-(
4! # permute the numbers
64 # i.e.., 4**3--choose the operators
3! # permute the operators
x 5 # choose an operator layout
-----
46080 # size of search space
Greg