.
american roulette algorithm lcme