}, how many different strings of length n 1 exist? }, how many different strings of length n 2 exist that contain at least one a 1

Similar documents
CS3203 #5. 6/9/04 Janak J Parekh

8. Combinatorial Structures

Combinatorics. Chapter Permutations. Reading questions. Counting Problems. Counting Technique: The Product Rule

7. Counting Measure. Definitions and Basic Properties

Counting and Probability CMSC 250

PERMUTATION AND COMBINATION

PERMUTATIONS AND COMBINATIONS

Ch 9 Sequences, Series, and Probability

Permutation Enumeration

1. How many possible ways are there to form five-letter words using only the letters A H? How many such words consist of five distinct letters?

THE LUCAS TRIANGLE RECOUNTED. Arthur T. Benjamin Dept. of Mathematics, Harvey Mudd College, Claremont, CA Introduction

Counting on r-fibonacci Numbers

Discrete Mathematics and Probability Theory Spring 2014 Anant Sahai Note 12

We often find the probability of an event by counting the number of elements in a simple sample space.

AMC AMS AMR ACS ACR ASR MSR MCR MCS CRS

2. There are n letter and n addressed envelopes. The probability that all the letters are not kept in the right envelope, is. (c)

PERMUTATIONS AND COMBINATIONS

AMC AMS AMR ACS ACR ASR MSR MCR MCS CRS

Counting III. Today we ll briefly review some facts you dervied in recitation on Friday and then turn to some applications of counting.

AS Exercise A: The multiplication principle. Probability using permutations and combinations. Multiplication principle. Example.

X-Bar and S-Squared Charts

COLLEGE ALGEBRA LECTURES Copyrights and Author: Kevin Pinegar

x y z HD(x, y) + HD(y, z) HD(x, z)

Zonerich AB-T88. MINI Thermal Printer COMMAND SPECIFICATION. Zonerich Computer Equipments Co.,Ltd MANUAL REVISION EN 1.

Logarithms APPENDIX IV. 265 Appendix

COMBINATORICS 2. Recall, in the previous lesson, we looked at Taxicabs machines, which always took the shortest path home

On the Number of Permutations on n Objects with. greatest cycle length

Intermediate Information Structures

202 Chapter 9 n Go Bot. Hint

lecture notes September 2, Sequential Choice

Summary of Random Variable Concepts April 19, 2000

Combinatorics. ChaPTer a The addition and multiplication principles introduction. The addition principle

Name Class. Date Section. Test Form A Chapter Chapter 9 Infinite Series. 1 n 1 2 n 3n 1, n 1, 2, 3, Find the fourth term of the sequence

Chapter (6) Discrete Probability Distributions Examples

Arithmetic Sequences and Series Sequences and Series Preliminary Maths

Unit 5: Estimating with Confidence

Spread Spectrum Signal for Digital Communications

13 Legislative Bargaining

Data Mining the Online Encyclopedia of Integer Sequences for New Identities Hieu Nguyen

Making sure metrics are meaningful

Cross-Layer Performance of a Distributed Real-Time MAC Protocol Supporting Variable Bit Rate Multiclass Services in WPANs

arxiv: v2 [math.co] 15 Oct 2018

A study on the efficient compression algorithm of the voice/data integrated multiplexer

COMPRESSION OF TRANSMULTIPLEXED ACOUSTIC SIGNALS

APPLICATION NOTE UNDERSTANDING EFFECTIVE BITS

CS 201: Adversary arguments. This handout presents two lower bounds for selection problems using adversary arguments ëknu73,

A SELECTIVE POINTER FORWARDING STRATEGY FOR LOCATION TRACKING IN PERSONAL COMMUNICATION SYSTEMS

Procedia - Social and Behavioral Sciences 128 ( 2014 ) EPC-TKS 2013

You Think You ve Got Problems? Marc Brodie Associate Professor of Mathematics, WJU

Lecture 4: Frequency Reuse Concepts

A New Space-Repetition Code Based on One Bit Feedback Compared to Alamouti Space-Time Code

sible number of wavelengths. The wave~~ngt~ ~ ~ ~ c ~ n b~dwidth is set low eno~gh to interfax One of the most im

3. Error Correcting Codes

BOUNDS FOR OUT DEGREE EQUITABLE DOMINATION NUMBERS IN GRAPHS

(2) The MOSFET. Review of. Learning Outcome. (Metal-Oxide-Semiconductor Field Effect Transistor) 2.0) Field Effect Transistor (FET)

A RULE OF THUMB FOR RIFFLE SHUFFLING

General Model :Algorithms in the Real World. Applications. Block Codes

ECE 333: Introduction to Communication Networks Fall Lecture 4: Physical layer II

A New Design of Log-Periodic Dipole Array (LPDA) Antenna

Chapter 2: Probability

4. INTERSYMBOL INTERFERENCE

Roberto s Notes on Infinite Series Chapter 1: Series Section 2. Infinite series

Introduction to Wireless Communication Systems ECE 476/ECE 501C/CS 513 Winter 2003

Insertion/Deletion Correction with Spectral Nulls

Compression Programs. Compression Outline. Multimedia. Lossless vs. Lossy. Encoding/Decoding. Analysis of Algorithms

Open Two Radio Switching Protocol (OTRSP)

Department of Electrical and Computer Engineering, Cornell University. ECE 3150: Microelectronics. Spring Due on April 26, 2018 at 7:00 PM

EMCdownload. Acknowledgements. Fair use

H2 Mathematics Pure Mathematics Section A Comprehensive Checklist of Concepts and Skills by Mr Wee Wen Shih. Visit: wenshih.wordpress.

A generalization of Eulerian numbers via rook placements

Chapter 3 Digital Logic Structures

Application of Improved Genetic Algorithm to Two-side Assembly Line Balancing

The Institute of Chartered Accountants of Sri Lanka

ON THE FUNDAMENTAL RELATIONSHIP BETWEEN THE ACHIEVABLE CAPACITY AND DELAY IN MOBILE WIRELESS NETWORKS

MDM 4U MATH OF DATA MANAGEMENT FINAL EXAMINATION

PHY-MAC dialogue with Multi-Packet Reception

HIGHER SECONDARY FIRST YEAR MATHEMATICS. ALGEBRA Creative Questions Time : 1.15 Hrs Marks : 45 Part - I Choose the correct answer 10 1 = 10.

信號與系統 Signals and Systems

Using Color Histograms to Recognize People in Real Time Visual Surveillance

The Fundamental Capacity-Delay Tradeoff in Large Mobile Ad Hoc Networks

LINEAR-PHASE FIR FILTERS: THE WINDOWING METHOD

Shuffling Cards. D.J.W. Telkamp. Utrecht University Mathematics Bachelor s Thesis. Supervised by Dr. K. Dajani

SIDELOBE SUPPRESSION IN OFDM SYSTEMS

Combined Scheme for Fast PN Code Acquisition

Estimation of non Distortion Audio Signal Compression

A Math Learning Center publication adapted and arranged by. EUGENE MAIER and LARRY LINNEN

Implementation of Fuzzy Multiple Objective Decision Making Algorithm in a Heterogeneous Mobile Environment

Modeling and solution for the ship stowage planning problem of coils in the steel industry

On Parity based Divide and Conquer Recursive Functions

CHAPTER 5 A NEAR-LOSSLESS RUN-LENGTH CODER

H(X,Y) = H(X) + H(Y X)

CHAPTER 8 JOINT PAPR REDUCTION AND ICI CANCELLATION IN OFDM SYSTEMS

Grade 6 Math Review Unit 3(Chapter 1) Answer Key

ETSI TS V3.4.0 ( )

Math 140 Introductory Statistics

VIII. Shell-Voicings

Density Slicing Reference Manual

The Silicon Controlled Rectifier (SCR)

HOW BAD RECEIVER COORDINATES CAN AFFECT GPS TIMING

Single Bit DACs in a Nutshell. Part I DAC Basics

Transcription:

1. [5] Give sets A ad B, each of cardiality 1, how may fuctios map A i a oe-tooe fashio oto B? 2. [5] a. Give the set of r symbols { a 1, a 2,..., a r }, how may differet strigs of legth 1 exist? [5]b. Give the set of r symbols { a 1, a 2,..., a r }, how may differet strigs of legth 2 exist that cotai at least oe a 1? 3. [10] Preset a combiatorial argumet that for all positive itegers x ad y k x k y k x y k = ( + ). = 0 (Hit: Cosider sequeces draw from the uio of distict sets A ad B of cardialities x ad y, respectively.) 4. [5] Give m a s, b s, ad p c s, how may distict sequeces are there that employ each of the m+ + p symbols exactly oce? 5. [5] If four six-sided dice are throw, how may differet cofiguratios (igorig order) are possible? (Uderstad: the cofiguratio {2, 2, 3, 4} is the same as the cofiguratio {2, 3, 2, 4 } but differet from {2, 3, 3, 4}) 6. [10] A pair of six-sided dice are throw r times. (We igore order i the pair but ot i the sequece. Thus the sequece begiig (1,2), (2,6), (1,3),... is the same as the sequece (2,1), (2,6), (1,3),... but differet from the sequece (2,6), (1,2), (1,3),...). How may such sequeces have each of (1,1), (2,2),..., ad (6,6) appearig at least oce withi the sequece? (Hit: First figure how may cofiguratios ca be displayed i a sigle throw of the pair. Secod, figure how may total sequeces of legth r there are, without cosiderig the requiremet for the 6 certai pairs. Lastly, let A i = the set of such sequeces avoidig (i,i) ad apply the iclusio/exclusio priciple.) 7. [5] a. Suppose k umbers are draw from {1, 2,..., } allowig repetitios. Cosiderig order to be relevat, how may such strigs are there? [5] b. Now assume each of the differet strigs i part a. is equally likely. What is the probability that the maximum of the k umbers is greater tha or equal to r, where 1 r? 8. [5] Cosider the followig tables of probabilities for gettig certai grades i a course ad beig i the freshma class. What is the probability of gettig a A give that a studet is a freshma? 9. [10] Suppose a message cosists of 0 s ad 1 s beig trasmitted with equal Freshma A.3.2 Less tha A.4.1 No-Freshma

likelihood util five 1 s have bee trasmitted (i.e., the message termiates with the fifth 1). Give a expressio for the expected value of the umber of bits i the message? (Do t waste time tryig to simplify the expressio.) 1. [5] Give set A of cardiality r 1 ad set B, of cardiality 1, how may fuctios map A i a oe-to-oe fashio ito B? 2. [5] a. Give the set of r symbols { a 1, a 2,..., a r }, how may differet strigs of legth 1 exist? [5]b. Give the set of r symbols { a 1, a 2,..., a r }, how may differet strigs of legth 2 exist that cotai at least two a 1 s? 3. [10] Preset a combiatorial argumet that for all positive itegers 1 k m r : r m r r k m = k k. m k 4. [5] Give m a s, b s, p c s ad q d s, how may distict sequeces are there that employ each of the m+ + p + q symbols exactly oce? 5. Cosider sequeces of the form < r 1, r 2,..., r >, where the r i 0. For fixed positive values of r ad, how may such sequeces are there satisfyig r + r +... + r = r. 1 2 6. [5] a. Suppose k ad k umbers are draw from {1, 2,..., } without allowig repetitios. Cosiderig order to be relevat, how may such strigs are there? [5] b. Now assume each of the differet strigs i part a. is equally likely. What is the probability that the miimum of the k umbers is less tha or equal to r, where 1 r? 7. [5] Cosider the followig tables of probabilities for gettig certai scores o a exam ad beig a CS major or ot. Is the evet of gettig at lease a score of 80 idepedet of the evet that the studet is a CS major? CS Major o-cs Major 90 to 100.08.02 80 to 89.17.06 70 to 79.28.10 60 to 69.14.08 0 to 59.08.02 8. [10] Suppose a message cosists of a total of 0 s ad 1 s beig trasmitted with equal likelihood. Give a expressio for the expected value of the umber of 1 s mius the umber of 0 s i the message? (Do t waste time tryig to simplify the expressio.)

1. [5] a. Suppose all people either have oe word ames (e.g. "Cher"), two word ames (e.g., "Jack Sprat") or three word ames (e.g. "Richard Milhous Nixo"). How may differet sets of iitials ca people have? [5]b. Suppose all 10 digit telephoe umbers obeyed these rules: the first digit caot be 1. The secod digit must be 0 or 1 the other 8 digits ca be ad decimal digit. How may such 10 digit telephoe umbers are there? 2. [5] a. How may permutatios of a, b, c, d, e, ad f have b to the left of c? [5]b. How may permutatios of a, b, c, d, e, ad f have b to the left of c ad e to the left of f? 3. [5] a. Preset a combiatorial argumet that for all positive itegers, a, ad b(>a): k a k b a k b ( ) =. k = 0 [5] b. Preset a combiatorial argumet that for all positive itegers : 2 2 = 2 2 2 + 4. [10] A alphabet A cotais exactly characters. A message cosists of a ordered array of elemets of A (permittig repetitios)? If for each positio i the message each character is equally likely, what is the probability that a message of legth does ot cotai all characters. 5. [10] Suppose m are cards are to be draw from a 52 card deck with repetitio possible. What is the probability that cards 1, 2,, m-1 are ot hearts but card m is a heart? 6. [10] Let E be a set of equally likely evets ad A ad B be subsets of E. Show that Pr( AB ) = 1 + Pr( A) / Pr( B) Pr( A B) / Pr( B) 7. [5] Cosider the followig tables of probabilities for gettig certai scores o a exam ad beig a CS major or ot. Is the evet of gettig at lease a score of 70 idepedet of the evet that the studet is a CS major? CS Major o-cs Major 90 to 100.08.02 80 to 89.17.04 70 to 79.28.12 60 to 69.14.08 0 to 59.08.02 8. [10] Suppose a message cosists of a total of 0 s ad 1 s beig trasmitted with equal likelihood. What is the expected umber of 0's?

1. [10]. Give set A of cardiality r 1 ad set B, of cardiality 1, how may fuctios mappig A ito B are ot oe-to-oe? 2. [10] For 2, determie the umber of strigs of a's ad b's of legth that either begi with the strig ab or ed with the strig ba or both. (Do ot igore the cases of = 2, ad = 3.) 3. a. [10] Assumig 1 m A = a1, a2,, a m B = b 1, b 2,, b. How may strigs usig each of these symbols exactly oce have the symbols of A ad B occurrig i the order give (i.e. i the strig a i must occur to the left of a j if 1 i < j m ad similarly for B)?,, Let { } ad { } b. [10] How may strigs usig each of these symbols exactly oce have the symbols of just A occurrig i the order give but ot ecessarily B? 4. [10] Usig a combiatorial argumet, prove that for 1: 2 k = 2 k = 0 5. a.[5] For 1, assume all strigs of legth from the set {a, b, c} (allowig repetitio) are equally likely. What is the probability that such a strig has o a? b. [5] What is the probability that such a strig has o b give that it has o a? 6. [10] Give o-egative itegers 1, 2, 3, ad 4, how may distict strigs of legth 1 + 2 + 3 + 4are there that have exactly 1 1's, 2 2's, 3 3's, ad 4 4's? 7. [10] How may triples 1, 2, 3 of o-egative itegers 1, 2, ad 3 exist that satisfy 1 + 2 + 3 = 10. (Hit: Thik about balls ad bis.) 8. [10] For 1, assume all strigs of legth from the set {a, b, c} (allowig repetitio) are equally likely. What is the expected umber of c's. 1. [10] For 3, cosider bit strigs of legth. How may such strigs begi with the substrig 111, ed with the substrig 111, or both? (Do ot igore = 3, 4, ad 5.) 2. a. [10] Preset a combiatorial argumet that for all positive values of : i 3 = i j i= 0 j= 0

b. [10] Preset a combiatorial argumet that for all m ad satisfyig 2 m, 2, ad m +1: + 2 + 1 = + + m m m 1 m 2 (Hit: Cosider A= B {} c { d}, where c d, c B, d B, ad # B =.) 3. a. [10] For 1, how may decimal umbers betwee 1 ad 10 1 cotai o 5's or 7's.? b. [10] For 1, how may decimal umbers betwee 1 ad 10 1 cotai at most oe 5 ad oe 7? 4. [10] For 1, how may ways ca you fid ordered triples (, i j, k ) so that i, j, ad k are o-egative ad their sum is? (Hit: Cosider balls ad bis.) 5. [10] For 1, assume all strigs of digits from { 01,,...,} 9 are equally likely. What is the expected umber of 9's i such a strig? 6. [10] For 3, what is the probability that a strig of legth of a's b's, c's, ad d's has three or more a's (assumig all such strigs are equally likely)? 7. [10] Cosider two cards draw from a 52 card deck ad assume all such draws are equally likely. Is the evet that a heart is draw as the first card idepedet of the evet that a spade is draw of the secod card? 1. [10] For 4, cosider a set A of cardiality. How may subsets of A are of cardiality less tha or equal to 3? 2. a. [10] Preset a combiatorial argumet that for all ad k satisfyig 1 ad k :! = k! ( k)! k b. [10] Preset a combiatorial argumet that for all positive values of : + k 2 = 1 2 k = 0 (Hit: Cosider Let k be the positio of the first 1 i a bit strig.) 3. a. [10] For 1, cosider strigs of legth from the set of characters {a, b, c, d, e, f}allowig repetitio. How may such strigs at most oe a ad oe b? b. [10] For 1, how may decimal umbers betwee 1 ad 10 1 cotai at most oe 5 ad oe 7? 1

4. [10] For m 1, i how may ways ca you place m balls ito boxes so that every box has at least oe ball? 5. [10] For 1, assume all strigs of digits from { 01,,...,} 9 are equally likely. What is the expected umber of 9's i such a strig? 6. [10] For 3, what is the probability that a strig of legth of a's b's, c's, ad d's has three or more a's (assumig all such strigs are equally likely)? 7. [10] Cosider two cards draw from a 52 card deck ad assume all such draws are equally likely. Is the evet that a heart is draw as the first card idepedet of the evet that a spade is draw of the secod card? 1. [5] Cosider itegers i the set {1, 2, 3,, 1000}. How may are divisible by either 4 or 10? 2. a. [10] Preset a combiatorial argumet that for all 1: k 2 = 3 k = 0 k b. [10] Preset a combiatorial argumet that for all oegative itegers p, s, ad satisfyig p + s p p + s = p s p + s p (Hit: Cosider choosig two subsets.) 3. [10] For 1, Let A = {1, 2,, 2}. How may subsets of A cotai exactly k1eve umbers ad k2 odd umbers? 4. [10] For 1, how may ordered triples ( 1, 2, 3) of o-egative umbers satisfy 1 + 2 + 3 =? (Hit: thik about puttig balls ito bis.) 5. [10] For 1, assume all strigs of characters from { abcd,,, } are equally likely. What is the expected umber of a's i such a strig? 6. [10] Give a fiite evet space E (i which all evets are equally likely) ad subsets A ad B of E, show that Pr( A B) Pr( A) + Pr( B) 1. 7. [10] Cosider a 52 card deck of cards from which the ace of spades is removed resultig i a 51 card deck. Further, cosider two distict cards draw from the 51 card deck ad assume all such uordered draws are equally likely. Lastly cosider the probability of the

evet that both cards are hearts. Is it more likely that both cards are hearts if it is give that both cards are face cards (i.e., Kigs, Quees, or Jacks)? 8. [10] Let A be a set of cardiality p. Cosider ordered strigs of legth m usig the elemets of A. How may such strigs have the m th compoet a repetitio of oe of the precedig m-1? (Hit: Thik about the complemet ad thik about selectig the m th compoet first.) 1. [5] Suppose all rolls of a six-side die are equally likely. What is the probability the roll is a six give that it is ot oe? 2. a. [10] Preset a combiatorial argumet that for all 1: = 2 1 k = 1 k (Note: The summatio begis with k = 1.) b. [10] Preset a combiatorial argumet that for all itegers k ad satisfyig 3 k 3 3 3 3 = + 3 + 3 + k k k 1 k 2 k 3 (Hit: Cosider three special elemets.) 3. [10] How may distict permutatios are there of the letters i mississippi? 4. [10] A bi has 100 blue balls, 100 red balls, ad 100 gree. How may differet collectios ca I obtai usig 100 of these balls? (Balls of the same color are idistiguishable from oe aother but are distiguishable from balls of aother color. A collectio has o order to it.) 5. [10] Assume all strigs of legth five usig characters from { abcd,,, } are equally likely. What is the probability that there is a substrig abc i the strig? 6. [10] Suppose a umber k from {1, 2,, 100} is to be draw ad that all umbers are equally likely. Let A be the evet k is a power of two. Let B be the evet k is a iteger multiple of four. Prove either that the evets A ad B are statistically idepedet or that they are statistically depedet. 7. [10] For 1, cosider strigs of legth cotaiig 0 s ad 1 s but edig i a 1. Assume all such strigs are equally likely. What is the expected umber of 1 s i such a strig? 8. [10] For 1, how may strigs of legth employig the characters {a,b,c} have at least oe a?

1. [5] For 3, how may subsets of size 3 from { a 1, a2,, a} are there that either cotai a 1 or a 2 (or both)? 2. [10] Give a set A of m characters, for 2, cosider strigs of legth usig ay of the characters of A. How may such strigs begi ad ed with the same character? 3. [10] Preset a combiatorial argumet that for all positive itegers m,, ad r, satisfyig r mi{ m, } : m+ m r = k = 0 k r k. (Hit: Cosider selectig from two sets.) b. [10] Preset a combiatorial argumet that for all positive itegers : i i 3 = i= 0 j= 0 i j (Note: Be very specific about the roles of i ad j.) 4. [10] How may distict permutatios are there of the digits i 1121231234? 5. [10] Give r 1, i how may ways ca idetical balls be placed ito r distict bis such that each bi cotais at least oe ball? (Hit: Cosider strigs with balls ad special dividers.) 6. [10] For 1, cosider strigs of legth 2 0 s ad 1 s. Assumig all such strigs are equally likely, what is the probability that such a strig has a equal umber of 0 s ad 1 s? 7. a. [10] For 5, cosider strigs of legth usig elemets of { abcd,,, }. Assume all such strigs are equally likely. What is the probability that a strig has exactly two a s? b. [5] What is the probability that such a strig has exactly three b s give that it has exactly two a s?