I just use vim and gcc, personally.
Okay, here's where I am so far. This is calculating the EV of the Classic Black ticket with the most recent data available:
To get the input data for this program, go to this website:
http://milottery.state.mi.us/msl-ig-trigps.php
Enter the cost of the ticket (don't include the dollar sign): 10
Enter the total amount of unclaimed winning tickets: 25491
Enter the approximate odds of winning (if 4.2 to 1, enter 4.2): 2.74
Enter the total amount of the remaining prizepool: 1466950
There are probably about 95336.3 tickets that have not been sold.
Each $10 ticket has an expected value of $15.3871 for a profit of about $5.39 per ticket.