Euler's totient function
Definition
Let be a positive integer. Euler's totient function is the number of integers with such that and are coprime.
Remarks
For example, , and . The integers coprime to in are . The number is the number of elements of a reduced residue system modulo . If with distinct primes , then . The Lean library Mathlib sets .
Explanations
L1 human
Count the numbers from to that have no common factor with . For , these are , so .
What this node needs for W2
- edge instance_of in: one example (0 of 1)
- edge not_instance_of in: one non-example that fails one clause (0 of 1)
The writing levels say how complete the text of a node is. They do not measure its truth.
What this needs
To read this node, read these 4 nodes in this order. The foundations come first, and the list ends with this node.
- no evidence level
- Divisibility definition
- Greatest common divisor definition
- Coprime integers definition
- Euler's totient function definition
What depends on this
14 nodes use this node, directly or through other nodes.
- Diffie–Hellman key exchange 01TKKESHSB
- Existence of primitive roots modulo a prime 04XGKK8WQW
- Number of invertible residues modulo n 06RJWZCG95
- Discrete logarithm 09B4X51J09
- Sum of the totient over the divisors 09JXE6XMCC
- Totient of a prime power 0AVY8HKBGD
- Primitive root theorem 0E0DNQK22P
- Multiplicativity of the totient function 0FSJA9M43W
- RSA cryptosystem 0HM584C465
- Totient of a prime 0HY1MXMEN9
- Primitive root modulo n 0KM2CJ80G7
- Multiplicative order 0SBRX5CZ5R
- Euler's theorem 0VC4DVE7DQ
- The order modulo p divides p − 1 0Y4B7P0GS8
Sources
What links here
Used by
- Number of invertible residues modulo n 06RJWZCG95
- Sum of the totient over the divisors 09JXE6XMCC
- Totient of a prime power 0AVY8HKBGD
- Multiplicativity of the totient function 0FSJA9M43W
- RSA cryptosystem 0HM584C465
- Totient of a prime 0HY1MXMEN9
- Primitive root modulo n 0KM2CJ80G7
- Euler's theorem 0VC4DVE7DQ