MathCastle
Number TheoryHardFactors & Multiples

Factors & Multiples · Hard problem

As nn runs over the positive integers, gcd⁡(n,3n+20)\gcd(n, 3n + 20) takes several different values. Find the sum of all of them.