0
0

Highest Power of a Prime in n!

Introduction

number theory மற்றும் combinatorics பிரச்சினைகளில் அடிக்கடி கேட்கப்படும் கேள்வி: n! ஐ வகுக்கும் ஒரு prime எண் p-ன் மிக உயர்ந்த power எது? இது trailing zeros கண்டறிதல், வகுபாடு பண்புகள், மற்றும் factorial-அடிப்படையிலான expressions-ஐ எளிமைப்படுத்த உதவுகிறது.

இவ்வகை பிரச்சினைகளைத் தீர்க்க பயன்படுத்தப்படும் கருவி Legendre’s Formula ஆகும்; இது n! இல் ஒரு prime எத்தனை முறை வகுக்கப்படுகிறது என்பதை எண்ணுகிறது.

Pattern: Highest Power of a Prime in n!

Pattern

Legendre’s Formula n! இல் prime p-ன் exponent-ஐ இவ்வாறு அளிக்கிறது:

vₚ(n!) = ⌊n/p⌋ + ⌊n/p²⌋ + ⌊n/p³⌋ + …

pᵏ > n ஆகும் வரை இந்த கூட்டம் தொடரும். கிடைக்கும் மதிப்பே n! ஐ வகுக்கும் p-ன் மிக உயர்ந்த power. அதாவது, p^vₚ(n!) n! ஐ வகுக்கும்; ஆனால் p^(vₚ(n!)+1) வகுக்காது.

  • Use Cases: trailing zeros (p = 5 பயன்படுத்தவும்), வகுபாடு சரிபார்ப்பு, factorial விகிதங்களை எளிமைப்படுத்தல்.
  • Intuition: p-ன் ஒவ்வொரு multiple-மும் ஒரு p-ஐ வழங்கும்; p²-ன் multiples கூடுதல் p-ஐ வழங்கும்; இதுபோல் தொடரும்.

Step-by-Step Example

Question

100! ஐ வகுக்கும் 2-ன் மிக உயர்ந்த power-ஐக் கண்டறியுங்கள்.

Solution

  1. Step 1: Legendre’s Formula பயன்படுத்துதல்:

    v₂(100!) = ⌊100/2⌋ + ⌊100/4⌋ + ⌊100/8⌋ + ⌊100/16⌋ + ⌊100/32⌋ + ⌊100/64⌋ + …

  2. Step 2: ஒவ்வொரு term-ஐ கணக்கிடுதல்:

    ⌊100/2⌋ = 50
    ⌊100/4⌋ = 25
    ⌊100/8⌋ = 12
    ⌊100/16⌋ = 6
    ⌊100/32⌋ = 3
    ⌊100/64⌋ = 1
    ⌊100/128⌋ = 0 (இங்கு நிறுத்தவும்)

  3. Step 3: அனைத்தையும் கூட்டுதல்:

    v₂(100!) = 50 + 25 + 12 + 6 + 3 + 1 = 97

  4. Final Answer:

    100! ஐ வகுக்கும் 2-ன் மிக உயர்ந்த power = 2⁹⁷ (exponent = 97).

  5. Quick Check:

    trailing zeros க்கு 2 மற்றும் 5 powers-ஐ ஒப்பிடுகிறோம். v₅(100!) = ⌊100/5⌋ + ⌊100/25⌋ = 20 + 4 = 24. 2-கள் 5-களைவிட அதிகம் என்பதால், trailing zeros எண்ணிக்கை = 24 ✅

Quick Variations

1. n! இல் 5-ன் மிக உயர்ந்த power: trailing zeros க்கு பயன்படும் → v₅(n!) = ⌊n/5⌋ + ⌊n/25⌋ + ⌊n/125⌋ + …

2. (n choose r) இல் p-ன் மிக உயர்ந்த power: vₚ(C(n, r)) = vₚ(n!) - vₚ(r!) - vₚ((n-r)!).

3. pᵏ > n ஆனவுடன் நிறுத்துங்கள்; அதற்குப் பிறகு எந்த contribution-மும் இல்லை.

Trick to Always Use

  • Step 1: Legendre’s Formula பயன்படுத்துங்கள் - n ஐ p, p², p³, … ஆகப் பிரித்து, கிடைக்கும் முழு எண்களை கூட்டுங்கள்.
  • Step 2: trailing zeros க்கு எப்போதும் p = 5 பயன்படுத்துங்கள்; 2-கள் அதிகம் இருக்கும்.
  • Step 3: combinations பிரச்சினைகளில் factorial exponents-ன் வேறுபாடுகளை பயன்படுத்துங்கள்.
  • Step 4: division முடிவு 0 ஆனவுடன் நிறுத்துங்கள் - அதன் பின் terms எதுவும் சேராது.

Summary

Summary

  • Legendre’s Formula மூலம் n! இல் ஒரு prime p-ன் exponent-ஐ p, p², p³, … ஆக மீண்டும் மீண்டும் பிரித்து கண்டறியலாம்.
  • division முடிவு 0 ஆனவுடன் நிறுத்துங்கள்; அதன் பின் terms பயனில்லை.
  • கணக்கிடப்பட்ட vₚ(n!) என்பதே n! ஐ துல்லியமாக வகுக்கும் p-ன் மிக உயர்ந்த power.
  • இந்த முறை trailing zeros (p = 5), factorial divisibility, மற்றும் combination exponent பிரச்சினைகளுக்கு மிகவும் அவசியம்.

நினைவில் கொள்ள வேண்டிய உதாரணம்:
v₂(100!) = 50 + 25 + 12 + 6 + 3 + 1 = 97 → மிக உயர்ந்த power = 2⁹⁷.

Practice

(1/5)
1. Find the highest power of 2 that divides 50!.
easy
A. 47
B. 46
C. 48
D. 49

Solution

  1. Step 1: Apply Legendre’s formula:

    v₂(50!) = ⌊50/2⌋ + ⌊50/4⌋ + ⌊50/8⌋ + ⌊50/16⌋ + ⌊50/32⌋ + …
  2. Step 2: Compute each term:

    ⌊50/2⌋ = 25, ⌊50/4⌋ = 12, ⌊50/8⌋ = 6, ⌊50/16⌋ = 3, ⌊50/32⌋ = 1, next term ⌊50/64⌋ = 0 (stop).
  3. Step 3: Sum:

    v₂(50!) = 25 + 12 + 6 + 3 + 1 = 47.
  4. Final Answer:

    Highest power exponent = 47 → 2⁴⁷ divides 50! (Option A).
  5. Quick Check:

    All multiples of 2 contribute one 2, multiples of 4 add an extra, multiples of 8 another, etc. Summing these gives 47 ✅
Hint: Sum ⌊n/2⌋ + ⌊n/4⌋ + ⌊n/8⌋ … until terms are 0.
Common Mistakes: Forgetting to include higher powers like 16 and 32 which still contribute.
2. Find the highest power of 5 that divides 100!.
easy
A. 24
B. 23
C. 25
D. 22

Solution

  1. Step 1: Use Legendre’s formula for p = 5:

    v₅(100!) = ⌊100/5⌋ + ⌊100/25⌋ + ⌊100/125⌋ + …
  2. Step 2: Compute terms:

    ⌊100/5⌋ = 20, ⌊100/25⌋ = 4, ⌊100/125⌋ = 0 (stop).
  3. Step 3: Sum:

    v₅(100!) = 20 + 4 = 24.
  4. Final Answer:

    Highest power exponent = 24 → 5²⁴ divides 100! (Option A).
  5. Quick Check:

    This equals the number of trailing zeros of 100! because 2s are more abundant than 5s → 24 zeros ✅
Hint: Divide by 5, 25, 125, … and sum integer quotients.
Common Mistakes: Ignoring the contribution of 25, 125, etc., which add extra factors of 5.
3. Find the highest power of 3 that divides 80!.
easy
A. 35
B. 36
C. 37
D. 38

Solution

  1. Step 1: Apply Legendre’s formula for p = 3:

    v₃(80!) = ⌊80/3⌋ + ⌊80/9⌋ + ⌊80/27⌋ + ⌊80/81⌋ + …
  2. Step 2: Compute terms:

    ⌊80/3⌋ = 26, ⌊80/9⌋ = 8, ⌊80/27⌋ = 2, ⌊80/81⌋ = 0 (stop).
  3. Step 3: Sum:

    v₃(80!) = 26 + 8 + 2 = 36.
  4. Final Answer:

    Highest power exponent = 36 → 3³⁶ divides 80! (Option B).
  5. Quick Check:

    Counting multiples of 3, 9, and 27 captures every factor 3 in 80!; total 36 ✅
Hint: Divide by 3, 9, 27, … until quotient 0 and sum results.
Common Mistakes: Stopping after ⌊n/3⌋ and forgetting contributions from 9 and 27.
4. Find the highest power of 7 that divides 200!.
medium
A. 31
B. 33
C. 32
D. 34

Solution

  1. Step 1: Legendre’s formula for p = 7:

    v₇(200!) = ⌊200/7⌋ + ⌊200/49⌋ + ⌊200/343⌋ + …
  2. Step 2: Compute terms:

    ⌊200/7⌋ = 28, ⌊200/49⌋ = 4, ⌊200/343⌋ = 0 (stop).
  3. Step 3: Sum:

    v₇(200!) = 28 + 4 = 32.
  4. Final Answer:

    Highest power exponent = 32 → 7³² divides 200! (Option C).
  5. Quick Check:

    Terms beyond 49 (e.g., 343) exceed 200 so they contribute 0; total 32 ✅
Hint: Divide by 7, 49, 343, … until terms are zero and sum them.
Common Mistakes: Including p^k larger than n or forgetting the 49-term.
5. Find the highest power of 11 that divides 500!.
medium
A. 48
B. 50
C. 47
D. 49

Solution

  1. Step 1: Apply Legendre’s formula for p = 11:

    v₁₁(500!) = ⌊500/11⌋ + ⌊500/121⌋ + ⌊500/1331⌋ + …
  2. Step 2: Compute terms:

    ⌊500/11⌋ = 45, ⌊500/121⌋ = 4, ⌊500/1331⌋ = 0 (stop).
  3. Step 3: Sum:

    v₁₁(500!) = 45 + 4 = 49.
  4. Final Answer:

    Highest power exponent = 49 → 11⁴⁹ divides 500! (Option D).
  5. Quick Check:

    Only 11 and 121 contribute (11³ = 1331 > 500), giving total 49 ✅
Hint: Add ⌊n/11⌋ + ⌊n/121⌋ + … until zero.
Common Mistakes: Forgetting the 121 term which adds extra factors of 11.

Mock Test

Ready for a challenge?

Take a 10-minute AI-powered test with 10 questions (Easy-Medium-Hard mix) and get instant SWOT analysis of your performance!

10 Questions
5 Minutes