The function used here is the totient function , usually called the Euler totient or Euler 's totient , after the Swiss mathematician Leonhard Euler , who studied it . The function so defined is the totient function . The totient is usually called the Euler totient or Euler 's totient , after the Swiss mathematician Leonhard Euler , who studied it .