Phi Euler
Euler's totient function counts the positive integers up to a given integer that are relatively prime to . Formally, it can be defined as the number of integers in the range for which . Euler's product formula states
For a prime number and for an integer , this expression reduces to
Syntax
phi_euler(Integer)
Description
Given an integer , returns .