Difference between revisions of "Legendre's Formula"
Borealbear (talk | contribs) |
Demigod 3110 (talk | contribs) m (Added another introductory level question based on finding the number of trailing zeroes.) |
||
Line 41: | Line 41: | ||
* How many zeros are at the end of the base-<math>15</math> representation of <math>50!</math>? | * How many zeros are at the end of the base-<math>15</math> representation of <math>50!</math>? | ||
* <math> \binom{4042}{2021}+\binom{4043}{2022} </math> can be written as <math> n\cdot 10^x </math> where <math> n </math> and <math> x </math> are positive integers. What is the largest possible value of <math> x </math>? (BorealBear) | * <math> \binom{4042}{2021}+\binom{4043}{2022} </math> can be written as <math> n\cdot 10^x </math> where <math> n </math> and <math> x </math> are positive integers. What is the largest possible value of <math> x </math>? (BorealBear) | ||
+ | * Find the sum of digits of the largest positive integer n such that <math>n!</math> ends with exactly <math>100</math> zeros. (demigod) | ||
====Olympiad==== | ====Olympiad==== | ||
* Let <math>b_m</math> be numbers of factors <math>2</math> of the number <math>m!</math> (that is, <math>2^{b_m}|m!</math> and <math>2^{b_m+1}\nmid m!</math>). Find the least <math>m</math> such that <math>m-b_m = 1990</math>. (Turkey TST 1990) | * Let <math>b_m</math> be numbers of factors <math>2</math> of the number <math>m!</math> (that is, <math>2^{b_m}|m!</math> and <math>2^{b_m+1}\nmid m!</math>). Find the least <math>m</math> such that <math>m-b_m = 1990</math>. (Turkey TST 1990) |
Revision as of 04:40, 4 December 2021
Legendre's Formula states that
where is a prime and is the exponent of in the prime factorization of and is the sum of the digits of when written in base .
Contents
Examples
Find the largest integer for which divides
Solution 1
Using the first form of Legendre's Formula, substituting and gives which means that the largest integer for which divides is .
Solution 2
Using the second form of Legendre's Formula, substituting and gives The number when expressed in Base-2 is . This gives us . Therefore, which means that the largest integer for which divides is .
Proofs
Part 1
We use a counting argument.
We could say that is equal to the number of multiples of less than , or . But the multiples of are only counted once, when they should be counted twice. So we need to add on. But this only counts the multiples of twice, when we need to count them thrice. Therefore we must add a on. We continue like this to get . This makes sense, because the terms of this series tend to 0.
Part 2
Let the base representation of be where the are digits in base Then, the base representation of is Note that the infinite sum of these numbers (which is ) is
Problems
Introductory
- How many zeros are at the end of the base- representation of ?
- can be written as where and are positive integers. What is the largest possible value of ? (BorealBear)
- Find the sum of digits of the largest positive integer n such that ends with exactly zeros. (demigod)
Olympiad
- Let be numbers of factors of the number (that is, and ). Find the least such that . (Turkey TST 1990)
This article is a stub. Help us out by expanding it.