Mathematica > Mathematics and Algorithms > Mathematical Functions > Number Theoretic Functions >

EulerPhi

EulerPhi[n]
gives the Euler totient function phi(n).
  • Integer mathematical function, suitable for both symbolic and numerical manipulation.
  • phi(n) gives the number of positive integers less than or equal to n which are relatively prime to n.
  • phi(-n) is taken to be equal to phi(n).
  • EulerPhi automatically threads over lists.
New in 1
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team