Math 2.0

definition

P-adic valuation

Definition

Let pp be a prime number and let nn be a nonzero integer. The pp-adic valuation νp(n)\nu_p(n) is the largest natural number kk such that pk∣np^k \mid n. By convention, νp(0)=∞\nu_p(0) = \infty.

Remarks

For a positive integer nn, νp(n)\nu_p(n) is the exponent of pp in the prime factorization of nn. It is 00 when p∤np \nmid n. For example, ν2(40)=3\nu_2(40) = 3 and ν5(40)=1\nu_5(40) = 1, because 40=23⋅540 = 2^3 \cdot 5. For a nonzero rational number a/ba / b, one sets νp(a/b)=νp(a)−νp(b)\nu_p(a / b) = \nu_p(a) - \nu_p(b). The Lean library Mathlib sets νp(0)=0\nu_p(0) = 0 for its function on natural numbers.

Explanations

L1 human

The number νp(n)\nu_p(n) counts how many times you can divide nn by pp and still get an integer. For n=72n = 72 and p=2p = 2: 72,36,18,972, 36, 18, 9, so you can divide three times, and ν2(72)=3\nu_2(72) = 3.

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 3 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. Prime number definition
  3. P-adic valuation definition

What depends on this

5 nodes use this node, directly or through other nodes.

Sources

  1. Web https://en.wikipedia.org/wiki/P-adic_valuation, Integers