Difference between revisions of "Legendre's Formula"
m (→Part 2) |
m (→Introductory) |
||
Line 38: | Line 38: | ||
===Problems=== | ===Problems=== | ||
− | ===Introductory=== | + | ====Introductory==== |
* Let <math>n</math> be a positive integer greater than 4 such that the decimal representation of <math>n!</math> ends in <math>k</math> zeros and the decimal representation of <math>(2n)!</math> ends in <math>3k</math> zeros. Let <math>s</math> denote the sum of the four least possible values of <math>n</math>. What is the sum of the digits of <math>s</math>? (2015 AMC 10B Problem 23) | * Let <math>n</math> be a positive integer greater than 4 such that the decimal representation of <math>n!</math> ends in <math>k</math> zeros and the decimal representation of <math>(2n)!</math> ends in <math>3k</math> zeros. Let <math>s</math> denote the sum of the four least possible values of <math>n</math>. What is the sum of the digits of <math>s</math>? (2015 AMC 10B Problem 23) | ||
Latest revision as of 19:30, 7 October 2024
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
[hide]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
- Let be a positive integer greater than 4 such that the decimal representation of ends in zeros and the decimal representation of ends in zeros. Let denote the sum of the four least possible values of . What is the sum of the digits of ? (2015 AMC 10B Problem 23)
- 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.