A math whiz formulates a plan to beat the state lottery, but he needs the help of a former mob boss to succeed.