Problem:
For integers , let denote the number of ordered pairs of integers such that and are both divisible by . Find the sum of all possible values of .
Problem:
For integers , let denote the number of ordered pairs of integers such that and are both divisible by . Find the sum of all possible values of .
Solution:
Answer:
Standard linear algebra over the field (the integers modulo ). The dimension of the solution set is at least and at most , and any intermediate value can also be attained. So the answer is .