.
american roulette algorithm gcds