From: James Edward Gray II Date: 2005-12-05T00:50:01+09:00 Subject: Re: [QUIZ] Weird Numbers (#57) On Dec 2, 2005, at 9:31 AM, Dan Diebolt wrote: > I would like to see an iterator in Ruby that took as one of its > arguments the On-Line Encyclopedia of Integer Sequences identifier > (A006037). And also an iterator in Ruby for the Combinatorial > Object Server: > > Combinatorial Object Server > http://www.theory.cs.uvic.ca/~cos/cos.html > > Is that possible in Ruby? You bet. Use the openuri library to grab the page, parse out what you need, and yield results. It's not even hard. Give it a try and you'll learn a lot about Ruby... ;) James Edward Gray II