Take a test Sign in 中文
← Exercise 836 →
Search
Go to
{{searchResults.length}} {{searchResults.length === 1 ? 'result' : 'results'}} for “{{searchWords}}” No results found for “{{searchWords}}” × back to contents
Contents · by chapter
Digits (38)
Primes (31)
Fractions, Decimals, and the Floor Function (18)
Divisors, GCD, and LCM (36)
Divisibility (59)
Bases (15)
Modular Arithmetic (42)
Integer Equations (27)

Exercises and their solutions

Exercise 836
Let $f$ be the unique function on the positive integers such that $\sum_{d\mid n}d\cdot f\left(\frac nd\right)=1$ for all positive integers $n$. What is $f(2025)$?
← Back to Problem 836
Solution
  1. Let $g(n)=\prod_{p\mid n}(1-p)$; since $f$ is unique, it suffices to check that $g$ satisfies the relation. For $n=p^e$: $\sum_{i=0}^{e}p^ig(p^{e-i})=p^e+(1-p)(1+p+\cdots+p^{e-1})=p^e+1-p^e=1$. For general $n$, the divisors of a product of coprime numbers are products of their divisors and $d\,g(n/d)$ splits accordingly, so the sum is a product of prime-power sums, each equal to $1$. So $f(n)=\prod_{p\mid n}(1-p)$.
  2. $2025=3^4\cdot5^2$, so $f(2025)=(1-3)(1-5)=\boxed{8}$.
Search Go to Prev      Next

Contact Us

Thanks! Your message has been sent.
By year