Master Mathematics.

Number Theory · Hard · Arithmetic Functions · Problem 2

Divisors of the form 3k + 1 and 3k + 2

For any positive integer and , let denote the number of divisors of of the form (including and ). Define . Find the values of and .

Source: ISI BStat/BMath