Math Problem Statement

Context: Two workers Bumrah and Siraj can complete a piece of work in 40 days if they work alternately starting with Bumrah and followed by Siraj. Bumrah takes 'p' days to complete the same work working alone while Siraj takes 'q' days to complete the same work working alone. If p and q are integers, then how many ordered pairs of (p, q) are possible?

Answer question

Solution