As n ranges over the positive integers, what is the sum of all possible values of the greatest common divisor of 3n+4 and n?
The sum of all possible values of the gcd is 1 + 2 + 3 + 4 + 6 + 12 = 28.