gcd
lcm
combinations with repetitions
simplify combinations
minor changes