Problem

Source: Kosovo TST 2020 Problem 4

Tags: number theory



Prove that for all positive integers $m$ and $n$ the following inequality hold: $$\pi(m)-\pi(n)\leq\frac{(m-1)\varphi(n)}{n}$$When does equality hold? Proposed by Shend Zhjeqi and Dorlir Ahmeti, Kosovo