Math 2.0

Number theory Divisibility and primes Theorem

Legendre's formula

Builds on P-adic valuation

Statement

Let pp be a prime number and let nn be a natural number. Let νp\nu_p be the p-adic valuation. Then νp(n!)=∑i=1∞⌊npi⌋.\nu_p(n!) = \sum_{i=1}^{\infty} \left\lfloor \frac{n}{p^i} \right\rfloor. The sum is finite, because ⌊n/pi⌋=0\lfloor n / p^i \rfloor = 0 when pi>np^i > n.

Remarks

An equivalent form: νp(n!)=n−sp(n)p−1\nu_p(n!) = \dfrac{n - s_p(n)}{p - 1}, where sp(n)s_p(n) is the sum of the digits of nn in base pp. For example, ν2(10!)=5+2+1=8\nu_2(10!) = 5 + 2 + 1 = 8, and ν5(100!)=20+4=24\nu_5(100!) = 20 + 4 = 24. So 100!100! ends with 2424 zeros. The proof counts, for each ii, the multiples of pip^i among 1,…,n1, \dots, n.

Reading path

To understand this page from the ground up, read these 4 pages in order. The foundations come first.

Show the path as a graph
Each page uses the pages above it. The colour of the bar on a box shows how strong the evidence is, and the box also gives it as text. The list has the same pages.
  • no evidence level
  1. Divisibility definition
  2. Prime number definition
  3. P-adic valuation definition
  4. Legendre's formula statement

Further reading

  1. Web https://en.wikipedia.org/wiki/Legendre%27s_formula, Statement
About this page
Tag01WPV9PHN7
URIm2://01WPV9PHN7
Aliasesde-polignac-formula
Kindstatement, theorem
WritingW0 stub
MSC11A51
StatusThis copy of the site has no build data. Run m2 status 01WPV9PHN7.
UsesP-adic valuation
Same as

Markdown · JSON · Edit on GitHub

What this page 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 page is. They do not measure its truth.

What links here

No page links to this page yet.