.
american roulette algorithm gcdq