Beneath the flashing lights and free cocktails, casinos stand on a bedrock of mathematics, engineered to slowly bleed their patrons of cash. For years, mathematically inclined minds have tried to turn the tables by applying their knowledge of probability and game theory to exploit weaknesses in a rigged system. The results have been varied, but…