On Nov 12, 2004, at 8:19 AM, Ruby Quiz wrote:

> 	Example:  source 100 5 5 2 6 8, target 522
> 	
> 	100 * 5 = 500
> 	  5 + 6 =  11
> 	 11 * 2 =  22
> 	500 + 22 = 522
> 	
> 	or more succinctly, (5*100)+((5+6)*2) = 522
> 	
> 	Another solution is (100+6)*5-8 = 522

Anyone find a tricky example?  I doubt my algorithm, but I can't find 
the right test to topple it.

James Edward Gray II