There are many cases in which a randomized algorithm offers a much simpler and more efficient approach than a deterministic algorithm. As research into randomized algorithms has progressed, many fields began to see their benefits, and incorporated them into a multitude of varying tasks. Use of randomized algorithms has expanded beyond its theoretical number theory roots into more practical applications.