Discrete math services.