https://www.luogu.com.cn/blog/peashooter/solution-uva10179
答案显然是 φ(n)\varphi(n)φ(n) 而不是 n−φ(n)n-\varphi(n)n−φ(n)。