Shin-ichiro HARA schrieb: > You can use "algebra" (http://raa.ruby-lang.org/project/algebra/) > (...) Thank you for the link, this looks interesting. In your solution, you forgot: >> three consecutive numbers, x, y and z which makes it even simpler to solve. Regards, Pit