Convergence Calculator

This script finds all the convergences between a given set of positive integers. It can be useful when composing polymeter or phase music, because it shows how loops of different lengths synchronize over time.

This version uses big integers, which give exact results for arbitarily large numbers, but aren't widely supported yet.