Introduction
Repetition Allowed pattern (जिसे permutation with repetition भी कहा जाता है) तब लागू होता है जब हर position को same item से कई बार भरा जा सकता है। यह passwords, PINs, codes जैसी situations में बहुत common है जहाँ choices repeat हो सकती हैं।
यह pattern महत्वपूर्ण है क्योंकि repetition allowed होने पर counting आसान हो जाती है - factorials की जगह exponentiation (n^r) का उपयोग करते हैं।
Pattern: Repetition Allowed (Permutation with Repetition)
Pattern
जब आपके पास हर position के लिए n choices हों और positions की संख्या r हो, तथा repetition allowed हो, तो total arrangements = nr।
Formula: Total outcomes = nr
(क्योंकि r में से हर position के पास independently n choices होती हैं।)
Step-by-Step Example
Question
A, B, C, D letters का उपयोग करके repetition allowed हो, तो कितने 3-letter codes बनाए जा सकते हैं?
Solution
-
Step 1: दिए गए values पहचानें।
Letters = n = 4 (A, B, C, D). Code length = r = 3. Repetition allowed है। -
Step 2: Repetition rule लागू करें।
हर position पर 4 letters में से कोई भी आ सकता है, इसलिए formulanruse करें। -
Step 3: Substitute करें और compute करें।
Total codes =43 = 4 × 4 × 4 = 64. -
Final Answer:
Repetition allowed होने पर कुल 64 अलग-अलग 3-letter codes बनते हैं। -
Quick Check:
सोचें: 1st letter → 4 options, 2nd → 4 options, 3rd → 4 options → 4 × 4 × 4 = 64 ✅
Quick Variations
1. Digit codes: जैसे 0-9 से 4-digit PIN → 104 = 10,000।
2. Mixed positions: letters + digits (जैसे 2 letters और 3 digits) → parts multiply करें: 26² × 10³।
3. अगर repetition allowed नहीं है: permutations (nPr) use करें - अलग formula।
Trick to Always Use
- Step 1: Check करें कि repetition allowed है या नहीं। अगर YES →
nr। - Step 2: Mixed structures को independent blocks में तोड़ें और multiply करें (जैसे letters block × digits block)।
Summary
Summary
जब हर position पर choices repeat हो सकती हों:
- Use nr जहाँ n = प्रति position choices, r = positions की संख्या।
- Passwords, PINs, codes और repeated selections में लागू।
- Mixed formats में हर block अलग compute करें और results multiply करें।
