Permutations

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/8

flashcard set

Earn XP

Description and Tags

Statistics

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

9 Terms

1
New cards

Given a scramble of numbers, how would I sort for ways to find all EVEN arrangements? Ex. 2555207134 (10#)

CASES

  1. If it ends in zero

9! (/ # of repeats as factorials if applicable )

not 10 since 0 is locked in

  1. If it ends in other even digit

8 • 8! (/ # of repeats as factorials if applicable )

starts with 8 b/c ≠0 and we locked in an even number

Repeat for each unique even number as # repeat factorials will differ

<p><span style="color: blue"><strong>CASES</strong></span><span style="color: green"><strong> </strong></span><span data-name="white_exclamation" data-type="emoji">❕</span></p><ol><li><p>If it <span style="color: blue"><strong>ends in zero</strong></span></p></li></ol><p>9! (/ # of repeats as factorials if applicable )</p><p>not 10 since 0 is locked in</p><ol start="2"><li><p>If it <span style="color: blue"><strong>ends in other even digit</strong></span></p></li></ol><p>8 • 8! (/ # of repeats as factorials if applicable )</p><p>starts with 8 b/c ≠0 and we locked in an even number</p><p><span style="color: blue"><em>Repeat for each <u>unique</u> even number</em></span><em> as # repeat factorials will differ</em></p>
2
New cards

Given a scramble of numbers, how would I sort for ways to find all START ODD and END ODD arrangements? Ex. 5199697610 (10#)

Lock in the amount of odd # in slot 1

Lock in the amount of one less odd # in the last slot since we used the first number

Fill in the remaining middle with (total # - 2)!

Divide by repeat factorials if applicable

6 • 8! • 5 /2!3!

<p>• <strong>Lock in</strong><span style="color: yellow"><strong> </strong></span><strong>the amount of </strong><span style="color: yellow"><strong>odd # in slot 1</strong></span></p><p>•<strong> Lock in</strong><span style="color: yellow"><strong> </strong></span><strong>the amount of</strong><span style="color: yellow"><strong> one less odd # in the last slot</strong> </span>since we used the first number</p><p>• <span style="color: yellow"><strong>Fill in the remaining middle</strong> </span>with (total # - 2)!</p><p>• <span style="color: yellow"><strong>Divide by repeat factorials</strong></span><span style="color: green"><strong> </strong></span>if applicable</p><p>6 • 8! • 5 /2!3!</p>
3
New cards

Given a scramble of numbers, how would I sort to find the ways a set of numbers is LOCKED IN? Ex. 5199697610 (10#) → lock in “7134”

Consider “7134” as ONE block, which reduces the total number of digits by 3 (10-3=7)

First slot cannot be 0, so reduce count by 1

Fill in remainder slots (don’t forget you have 1 extra since you can include 0)

Multiply by the # of ways inside the block can shuffle

Divide by repeat factorials if applicable

(6 • 6! /2!3! ) x4

<p>• <span style="color: yellow"><strong>Consider “7134” as ONE block</strong></span>, which reduces the total number of digits by 3 (10-3=7)</p><p>• <span style="color: yellow"><strong>First slot cannot be 0</strong></span>, so reduce count by 1</p><p>• <span style="color: yellow">Fill in remainder slots</span> (don’t forget you have 1 extra since you can include 0)</p><p>• <span style="color: yellow"><strong>Multiply by the # of ways inside the block can shuffle</strong></span></p><p>• <span style="color: yellow"><strong>Divide by repeat factorials</strong></span> if applicable</p><p>(6 • 6! /2!3! ) x4</p>
4
New cards

If I have a circle of people, how many unique arrangements would I have? Ex. 8

8! / 8 = 7!

Divide by the # of people to remove keeping the same people beside each other

<p>8! / 8 = 7!</p><p><span style="color: yellow"><strong>Divide by the # of people</strong></span> to remove keeping the same people beside each other</p>
5
New cards

If I have a circle of people, how many unique arrangements would I have where X and Y are NOT TOGETHER? Ex. 8

Make X and Y a block to calculate ways they are together: 7!/7

Multiply by 2 for shuffling: 7!/7 ×2

• Take total of arrangements 8!/8 and SUBTRACT where X and Y are together: 8!/8 - (7!/7 ×2)

<p>•<span style="color: yellow"><strong> Make X and Y a block</strong></span> to calculate ways they are <em>together</em>: 7!/7</p><p>• <span style="color: yellow"><strong>Multiply by 2 for shuffling</strong></span>: 7!/7 ×2</p><p>• Take <span style="color: yellow"><strong>total of arrangements</strong></span> 8!/8 and <span style="color: yellow"><strong>SUBTRACT where X and Y are together</strong></span>: 8!/8 - (7!/7 ×2)</p>
6
New cards

Given a set of letters, how can you find the # of arrangements you can make which start with a vowel and end with a consonant? Ex. “ALGEBRAICALLY” (13 #)

Lock in the # of possible vowels at the start

Lock in the # of possible consonants at the end

• Decrease total # of letters by 2 to account for the used slots and fill in the middle

Divide by repeat factorials if applicable

5 • 11! • 8 / 3!3!

<p>•<span style="color: yellow"><strong> Lock in the # of possible vowels</strong></span> at the start</p><p>• <span style="color: yellow"><strong>Lock in the # of possible consonants </strong></span>at the end</p><p>• Decrease total # of letters by 2 to <span style="color: yellow"><strong>account for the used</strong></span> <span style="color: yellow"><strong>slots and fill in the middle</strong></span></p><p>• <span style="color: yellow"><strong>Divide by repeat factorials</strong></span> if applicable</p><p>5 • 11! • 8 / 3!3!</p>
7
New cards

Given a set of letters, how can you find the # of arrangements you can make which have G and E TOGETHER? Ex. “ALGEBRAICALLY” (13 #)

Make G and E a block which decreases total # of letters by 1: 12!

Multiply by 2 for shuffling: 12! ×2

Divide by repeat factorials if applicable

12!/3!3! x2

<p><span style="color: yellow"><strong>Make G and E a block</strong></span> which decreases total # of letters by 1: 12!</p><p>• <span style="color: yellow"><strong>Multiply by 2 for shuffling</strong></span>: 12! ×2</p><p>• <span style="color: yellow"><strong>Divide by repeat factorial</strong>s</span> if applicable</p><p>12!/3!3! x2</p>
8
New cards

Given a set of letters, how can you find the # of 3 LETTER arrangements? Ex. “ALGEBRAICALLY” (13 #)

CASES

  1. No repeats

9 • 8 • 7

for A L G E B R A I C Y (9 letters)

  1. Pairs

• We use ONE pair leaving us with 1 excess pair + 1 extra so 10-2=8 letters to choose from

Break into # ways the pair can appear

where = # leftover (8)

8•8•8

Multiply by 2 because of the excess pair

(8•8•8)x2

  1. Triple repeats

Only 2 possible options: AAA, LLL

THEN ADD ALL CASES TOGETHER

<p><strong>CASES</strong> <span data-name="white_exclamation" data-type="emoji">❕</span></p><ol><li><p><span style="color: green"><strong>No repeats</strong></span></p></li></ol><p>9 • 8 • 7</p><p>for A L G E B R A I C Y (9 letters)</p><ol start="2"><li><p><span style="color: green"><strong>Pairs</strong></span></p></li></ol><p>• We use ONE pair leaving us with 1 excess pair + 1 extra<strong> </strong>so 10-2=8 letters to choose from </p><p>• <span style="color: yellow"><strong>Break into # ways the pair can appear </strong></span></p><p><span data-name="cross_mark" data-type="emoji">❌</span><span data-name="cross_mark" data-type="emoji">❌</span><span data-name="check_mark_button" data-type="emoji">✅</span>  where <span data-name="check_mark_button" data-type="emoji">✅</span>= # leftover (8)</p><p><span data-name="cross_mark" data-type="emoji">❌</span><span data-name="check_mark_button" data-type="emoji">✅</span><span data-name="cross_mark" data-type="emoji">❌</span></p><p><span data-name="check_mark_button" data-type="emoji">✅</span><span data-name="cross_mark" data-type="emoji">❌</span><span data-name="cross_mark" data-type="emoji">❌</span></p><p>8•8•8</p><p>• <span style="color: yellow"><strong>Multiply by 2</strong></span> because of the excess pair</p><p>(8•8•8)x2</p><ol start="3"><li><p><strong>Triple repeats</strong></p></li></ol><p><span style="color: green">Only 2 possible options</span>: AAA, LLL</p><p><span data-name="white_exclamation" data-type="emoji">❕</span> <span style="color: yellow"><strong>THEN</strong></span> <span style="color: yellow"><strong>ADD ALL CASES TOGETHER </strong></span><span data-name="white_exclamation" data-type="emoji">❕</span></p>
9
New cards

How can we find the amount of 4 digit arrangements that include a number and exclude another? Ex. include 4 and exclude 3

Indirect method: Total - bad

0→9= 10 numbers

Total with no 4 = 8 • 9 • 9 • 9 (cannot start with 0)

Bad with no 3 or 4 = 7 • 8 • 8 • 8 (cannot start with 0)

<p><span style="color: yellow"><strong>Indirect method: Total - bad</strong></span></p><p>0→9= 10 numbers</p><p><span style="color: yellow">Total with no 4 </span>= 8 • 9 • 9 • 9 (cannot start with 0)</p><p><span style="color: yellow">Bad with no 3 or 4</span> = 7 • 8 • 8 • 8 (cannot start with 0)</p>