Frank Fischer wrote:
> I think you're wrong. Some of those numbers don't need two '+', for
> example:
> ||||x|||||||x|||||||||||||+|||x||| = 373 (38 Toothpicks)
> ||x||||x|||||||x|||||||||||||||||||+||||| = 1069 (45 Toothpicks)
> |||x|||||x|||||||x|||||||||||+||x||||| = 1165 (43 Toothpicks)
> so my program says the first ten numbers with two '+' - but without
> warranty - are:
> 

Nuts, forgot about tiebreaking. OK I get the same now.

Dan

-- 
Posted via http://www.ruby-forum.com/.