[math-fun] distinct and square-free factorizations