 Mathematical theory focuses on how mixing times change as a function of the size of the structure underlying the chain.For an formula_3-card deck, the number of riffle shuffles needed grows as formula_4.The most developed theory concerns randomized algorithms for #P-Complete algorithmic counting problems such as the number of graph colorings of a given formula_3 vertex graph.