2

Prove that φ(n) + d(n) ≤ n + 1.

d(n) is the number of positive divisors of n.

φ(n) is the Euler's Totient Function.

Attempt:

  • For a prime number n, φ(n) = n - 1 (all numbers less than n are relatively prime to n except for 1) and d(n) = 2 (1 and n), so φ(n) + d(n) = n - 1 + 2 = n + 1, which satisfies the inequality.

  • For a composite number n, φ(n) is less than $n - \sqrt{n}$ and d(n) is less than $2\sqrt{n}$.

1 Answers1

2

We have

$$n = \sum_{d\mid n} \varphi(d)\,,$$

so

$$\varphi(n) + d(n) = n - \sum_{\substack{d\mid n \\ d < n}} \varphi(d) + \sum_{d \mid n} 1 = (n+1) - \sum_{\substack{d \mid n \\ 1 < d < n}}\bigl(\varphi(d) - 1\bigr)\,.$$

This is at most $n+1$.

Dietrich Burde
  • 140,055