Project Euler #70: Totient permutation