Math 2.0

statement proposition

Totient of a prime power

Statement

Let pp be a prime number and let kk be a positive integer. Then φ(pk)=pk−1(p−1)=pk−pk−1\varphi(p^k) = p^{k-1} (p - 1) = p^k - p^{k-1}, where φ\varphi is Euler's totient function.

Remarks

The proof: an integer is coprime to pkp^k if and only if pp does not divide it. Among 1,…,pk1, \dots, p^k, the multiples of pp are p,2p,…,pk−1⋅pp, 2p, \dots, p^{k-1} \cdot p, so there are pk−1p^{k-1} of them. For example, φ(8)=4\varphi(8) = 4 and φ(27)=18\varphi(27) = 18. With the multiplicativity of the totient function, this formula gives φ(n)\varphi(n) from the prime factorization of nn.

Explanations

L1 human

Among the numbers 11 to pkp^k, exactly one in pp is a multiple of pp. Remove these numbers. The fraction 1−1/p1 - 1/p of the numbers stays, so φ(pk)=pk(1−1/p)\varphi(p^k) = p^k (1 - 1/p).

What this node needs for W1
  • an inventory row: the row of the inventory that the node accounts for (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 6 nodes in this order. The foundations come first, and the list ends with this node.

Each node uses the nodes above it. The colour of the bar on a box shows the evidence level, and the box also gives it as text. The list below has the same nodes.
  • no evidence level
  1. Divisibility definition
  2. Greatest common divisor definition
  3. Prime number definition
  4. Coprime integers definition
  5. Euler's totient function definition
  6. Totient of a prime power statement

Sources

  1. Web https://en.wikipedia.org/wiki/Euler%27s_totient_function, Value of phi for a prime power argument