discrete math for computing 9048241