On Dec 31, 2005, at 4:08 PM, Maurice Codik wrote: > I get for this for (222, 9999) -- > [222, 224, 112, 56, 28, 14, 16, 18, 36, 38, 76, 78, 156, 312, 624, > 1248, > 2496, 2498, 4996, 4998, 9996, 19992, 19994, 9997, 9999] My code dies a horrible death on this one. <laughs> I think I get a right answer, but the wait was embarrassing: $ time ruby numeric_maze.rb 222 9999 222, 224, 112, 56, 58, 29, 31, 33, 35, 37, 39, 78, 156, 312, 624, 1248, 2496, 2498, 4996, 4998, 9996, 19992, 19994, 9997, 9999 real 96m13.978s user 49m27.502s sys 46m22.817s Guess I need more than my one optimization now. <laughs> James Edward Gray II