← RoseCodeROSECODE / 456Sum of philiuguangxi · Math · 2018-01-15Let S(n)=∑i=1n∑j=1nφ(i⋅j) where φ(x) is Euler's totient function. You are given S(2)=φ(1×1)+φ(1×2)+φ(2×1)+φ(2×2)=5, S(50)=696335 and S(5000)mod1000000007=397838656. Find S(50000000)mod1000000007.