For positive integers , let denote the largest positive integer that is a factor of both and . Compute
Problem 800
Official solution
Solution:
Answer: 325
Since , we see that the possible values of are .
For , there is only one value of such that .
Then, we see that there are 12 values of for which (namely, multiples of 7 other than 91), 6 values of for which (the multiples of 13 other than 91), and values of for which .
Hence, our answer is .