a. How many 16 letter strings can be made from the letters a, b or c?
b. How many 16 digit sequence with 4 a’a, 7 b’s and 5 c’s are there
a) 3 choices for the first letter, 3 choices for the second letter, 3 choices for the third letter, and so on. Therefore total no of 16 - letter strings that can be made from the letters a, b, or c is \(3^{16}\).
b) We have 16 choices for first letter, 15 choices for second letter, 14 choices for third letter and so on. since the letters are being repeated, so total no. of \(16-\) letter strings that can be made from \(3 \mathrm{a}^{\prime} \mathrm{s}, 6 \mathrm{~b}^{\prime} \mathrm{s},\) and \(7 \mathrm{c}^{\prime} \mathrm{s}\) are \(\frac{16 !}{4 ! 7 ! 5 !}\)
Rewrite the following arrangement problems into equivalent distribution problems. That is, convert the problem statement into a problem about distributions that would have the same answer. Note: you do not need to solve the problems. (a) Arrangements of eight letters chosen from piles of a’s, b’s, and c’s. (b) Arrangements of two a’s, three b’s, four c’s. (c) Arrangements of 10 letters chosen from piles of a’s, b’s, c’s and d’s with the same number of a’s and b’s.
Rewrite the following arrangement problems into equivalent distribution problems. That is, convert the problem statement into a problem about distributions that would have the same answer. Note: you do not need to solve the problems. (a) Arrangements of eight letters chosen from piles of a’s, b’s, and c’s. (b) Arrangements of two a’s, three b’s, four c’s. (c) Arrangements of 10 letters chosen from piles of a’s, b’s, c’s and d’s with the same number of a’s and b’s.
Write a program that prompts the user to enter a file name and displays the occurrences of each letter in the file. Letters are case-insensitive. Here is a sample run: Enter a filename: Lincoln.txt Number of A’s: 23 Number of B’s: 0 Number of C’s: 12 …… Number of Y’s: 5 Number of Z’s: 7
a) How many different strings can be made from the word PEPPERCORN when (SHOW WORK & Explaination) i) all the letters are used? ii) at least 6 of the letters are used? b) How many different strings can be made from the letters in AARDVARK, using all of the letters, if all three As must be consecutive? (SHOW WORK & Explaination) c) How many permuations of the 26 letters of the English alphabet do not contain any of the strings...
please write clearly. thanks
Part I. For questions 1-10, use only the sum, product and division rules or a tree diagram to solve the problems. 1. Six different airlines fly from New York to Denver and seven fly from Denver to San Francisco. How many different pairs of airlines can you choose on which to book a grip from New York to San Francisco via Denver? 2. How many bit strings of length ten both begin and end with a...
math
a) How many ways you can pick one boy and one girl from 6 boys and 7 girls? b) How many 4 digit numbers greater than 3000 can be formed? c) How many ways can 3 books can be selected out of 10 books? d) How many ways can 3 books can be arranged out of 10 books? e) How many 2 letter words can we make with the letters in the word QUIZ?
I know how to do a) and b) but unsure about c)
c) Number of strings that (do not not contain "cab" or
"bac" BUT may contain repeated consecutive letters), OR (strings
that do not contain repeated consecutive letters but may contain
"cab" or "bac").
Question 3. (5 marks) A language L is defined over a set of three letters {a, b, c}. A string ordering matters (i.e. "abc" is not equal to "bca"). The length of a string is...
I need the answer a, b, c.
you have to annwer part C must
a) A password must be 8 characters long and contain only digits and lowercase English letters. How many different passwords contain at least one digit and at least one letter? b) How many different strings of length 10 containing only the letters a, b, and c start or end with a c? c) How many people must be selected to make sure 20 of them were...
Table 1 Transaction numberTransaction (Year 2018) Amount1Interest paid by a Country B’s corporation on a bond owned by a Country C’s bank$2’000 2.Interest paid by Country A’s government on a treasury bills owned by Country C’s government$3’000 3.Country A imports of soybeans from Country C$4’000 4.Country A’s citizen donation to a Non-Governmental-Organization locatedin Country A $2’000 5Country A’s sale of Country B’s government bonds $5’000 6.Country B’s imports of raw materials from Country C $10’000 7.Country A’s corporation wages paid...
1- If four alphabets are to be chosen from L, M, N, O, P, Q such that repetition is not allowed then in how many ways it can be done? 2- Sally must choose a 5-digit PIN. Each digit can be chosen from 0 to 9 and the same digit can be used repeatedly. How many possible PIN numbers can be created? 3- Jenny has 8 tops, 5 bottoms, 2 belts, and 2 bracelets. Assuming that everything matches, how many...