in reply to Messing Around

Your information is out of date. Currently, Lotto Texas is six numbers from 1 to 44. From 7/19/2000 through 5/3/2003, it was six numbers from 1 to 54. Prior to 7/19/2000, it was six numbers from 1 to 50.

If I were to code up a Lotto script, I'd use WWW::Mechanize to pull the number frequency (and possibly all of the previous winning numbers) that the lottery commission provides.