Skip to main content
OlympiadHQ

Browse · MATH

Print

jmc

number theory intermediate

Problem

Find the sum of all positive integral values of for which is an integer.
Solution
The expression can be simplified as , or . So in order for this expression to have an integral value, 6 must be divisible by . Therefore, the sum of all positive integral values of is just the sum of all the divisors of . Since the prime factorization of 6 is , we know that 6 is only divisible by 1, 2, 3, 6, and the final answer is .
Final answer
12