"""Gap norms for the ADE indices of Coxeter number at most 120 (Section 3).""" from math import gcd, lcm, prod import mpmath as mp def gap_norms(limit): # Evaluating (z^n-1)/(z-1) at 1 gives n = product_{1