Euler Phi

## Description

The command euler_phi(n) returns the the number of positive integers less than or equal to $n$ that are relatively prime to $n$. If $n \leq 0$, then euler_phi(n) is defined and equals 0.

## Sage Cell

#### Code

euler_phi(12345)


None

## Tags

Primary Tags: number theory

Secondary Tags: euler phi function

None