People were heading to the stores Tuesday to buy Mega Millions tickets as the jackpot climbed to $245 million.