The totient function is also called Euler 's phi function or simply the phi function , since the Greek letter Phi is so commonly used for it . The totient function is also called Euler 's phi function or simply the phi function , since it is commonly denoted by the Greek letter phi .