Warning: foreach() argument must be of type array|object, bool given in /var/www/html/web/app/themes/studypress-core-theme/template-parts/header/mobile-offcanvas.php on line 20

List all 3-permutations of\({\rm{\{ 1,2,3,4,5\} }}\).

The remaining exercises in this section develop another algorithm for generating the permutations of\({\rm{\{ 1,2,3, \ldots ,n\} }}\). This algorithm is based on Cantor expansions of integers. Every nonnegative integer less than n ! has a unique Cantor expansion

\({{\rm{a}}_{\rm{1}}}{\rm{1! + }}{{\rm{a}}_{\rm{2}}}{\rm{2! + L + }}{{\rm{a}}_{{\rm{n - 1}}}}{\rm{(n - 1)!}}\)

where \({{\rm{a}}_{\rm{i}}}\) is a nonnegative integer not exceeding i, for\({\rm{i = 1,2, \ldots ,n - 1}}\). The integers \({{\rm{a}}_{\rm{1}}}{\rm{,}}{{\rm{a}}_{\rm{2}}}{\rm{, \ldots ,}}{{\rm{a}}_{{\rm{n - 1}}}}\) are called the Cantor digits of this integer.

Given a permutation of\({\rm{\{ 1,2, \ldots ,n\} }}\), let \({{\rm{a}}_{{\rm{k - 1}}}}{\rm{,k = 2,3, \ldots ,n}}\), be the number of integers less than k that follow k in the permutation. For instance, in the permutation \({\rm{43215,}}{{\rm{a}}_{\rm{1}}}\)is the number of integers less than 2 that follow 2 , so\({{\rm{a}}_{\rm{1}}}{\rm{ = 1}}\). Similarly, for this example\({{\rm{a}}_{\rm{2}}}{\rm{ = 2,}}{{\rm{a}}_{\rm{3}}}{\rm{ = 3}}\), and\({{\rm{a}}_{\rm{4}}}{\rm{ = 0}}\). Consider the function from the set of permutations of \({\rm{\{ 1,2,3, \ldots ,n\} }}\)to the set of nonnegative integers less than n! that sends a permutation to the integer that has\({{\rm{a}}_{\rm{1}}}{\rm{,}}{{\rm{a}}_{\rm{2}}}{\rm{, \ldots ,}}{{\rm{a}}_{{\rm{n - 1}}}}\), defined in this way, as its Cantor digits.

Short Answer

Expert verified

The possible 3 - permutation list is as follows:

\(\left( {\begin{array}{*{20}{l}}{{\rm{123,124,125,132,134,135,142,143,145,152,153,154,213,}}}\\{{\rm{214,215,231,234,235,241,243,245,251,253,254,312,314,}}}\\{{\rm{315,321,324,325,341,342,345,351,352,354,412,413,415}}}\\{{\rm{421,423,425,431,432,435,451,452,453,512,513,514,521,}}}\\{{\rm{523,524,531,532,534,541,542,543}}}\end{array}} \right)\)

Step by step solution

01

Definition of Concept

Permutations: A permutation of a set is a loosely defined arrangement of its members into a sequence or linear order, or, if the set is already ordered, a rearrangement of its elements, in mathematics. The act of changing the linear order of an ordered set is also referred to as "permutation."

Lexicographic order: The lexicographic or lexicographical order (also known as lexical order or dictionary order) in mathematics is a generalization of the alphabetical order of dictionaries to sequences of ordered symbols or, more broadly, elements of a totally ordered set.

02

List all 3-permutations of given set

Considering the given information:

The set\({\rm{\{ 1,2,3,4,5\} }}\)

Using the following concept:

Permutation is the action of altering the arrangement of a set of items, particularly their linear order.

Consider the following set of numbers:\({\rm{\{ 1,2,3,4,5\} }}\)

3 - permutation of a given set denotes a three-digit number that can be generated from the given set.

So, the possibility of digits in one's place for a three-digit number formed from the digits in the above set is 5.

The total number of permutations can be calculated as follows:

\(\begin{array}{c}{\rm{5}}{{\rm{P}}_{\rm{3}}}{\rm{ = }}\frac{{{\rm{5!}}}}{{{\rm{(5 - 3)!}}}}\\{\rm{ = }}\frac{{{\rm{5!}}}}{{{\rm{2!}}}}\\{\rm{ = 60}}\end{array}\)

Therefore, the required possible 3 - permutation one listed as followed:

\(\left( {\begin{array}{*{20}{l}}{{\rm{123,124,125,132,134,135,142,143,145,152,153,154,213,}}}\\{{\rm{214,215,231,234,235,241,243,245,251,253,254,312,314,}}}\\{{\rm{315,321,324,325,341,342,345,351,352,354,412,413,415}}}\\{{\rm{421,423,425,431,432,435,451,452,453,512,513,514,521,}}}\\{{\rm{523,524,531,532,534,541,542,543}}}\end{array}} \right)\)

There are a total of 60 permutations.

Unlock Step-by-Step Solutions & Ace Your Exams!

  • Full Textbook Solutions

    Get detailed explanations and key concepts

  • Unlimited Al creation

    Al flashcards, explanations, exams and more...

  • Ads-free access

    To over 500 millions flashcards

  • Money-back guarantee

    We refund you if you fail your exam.

Over 30 million students worldwide already upgrade their learning with Vaia!

One App. One Place for Learning.

All the tools & learning materials you need for study success - in one app.

Get started for free

Most popular questions from this chapter

How many permutations of the letters \(ABCDEFGH\) contain

a) the string \(ED\)?

b) the string \(CDE\)?

c) the strings \(BA\) and \(FGH\)?

d) the strings \(AB\;,\;DE\) and \(GH\)?

e) the strings \(CAB\) and \(BED\)?

f) the strings \(BCA\) and \(ABF\)?

A coin is flipped times where each flip comes up either heads or tails. How many possible outcomes

a) are there in total?

b) contain exactly two heads?

c) contain at most three tails?

d) contain the same number of heads and tails?

A group contains n men and n women. How many ways are there to arrange these people in a row if the men and women alternate?

Show that if nand kare integers with1โ‰คkโ‰คn, then(nk)โ‰คnk/2kโˆ’1

One hundred tickets, numbered \(1,2,3, \ldots ,100\), are sold to \(100\) different people for a drawing. Four different prizes are awarded, including a grand prize (a trip to Tahiti). How many ways are there to award the prizes if

a) there are no restrictions?

b) the person holding ticket \(47\) wins the grand prize?

c) the person holding ticket \(47\) wins one of the prizes?

d) the person holding ticket \(47\) does not win a prize?

e) the people holding tickets \(19\) and \(47\) both win prizes?

f) the people holding tickets \(19\;,\;47\)and \(73\) all win prizes?

g) the people holding tickets \(19\;,\;47\;,\;73\) and \(97\) all win prizes?

h) none of the people holding tickets \(19\;,\;47\;,\;73\) and \(97\) wins a prize?

i) the grand prize winner is a person holding ticket \(19\;,\;47\;,\;73\) or \(97\)?

j) the people holding tickets 19 and 47 win prizes, but the people holding tickets \(73\) and \(97\) do not win prizes?

See all solutions

Recommended explanations on Math Textbooks

View all explanations

What do you think about this solution?

We value your feedback to improve our textbook solutions.

Study anywhere. Anytime. Across all devices.

Sign-up for free