Mathematics Formulas in the Hangover

Three buddies wake up from a bachelor party in Las Vegas, with no memory of the previous night and the bachelor missing. They make their way around the city to find their friend before his wedding. Mathematical thoughts of Allen, when winning at Vegas: from simple arithmetics to Fourier theory. How many formulas can you identify?