2
1
Show your work, please 1. Counting and Pigeonhole Principle (a). A set of four different integers...
Counting and Pigeonhole Principle (a). A set of four different integers is chosen at random between 1 and 200 (inclusive). How many different outcomes are possible? (b). How many different integers between 1 and 200 (inclusive) must be chosen to be sure that at least 3 of them are even? (c). How many different integers between 1 and 200 (inclusive) must be chosen to be sure that at least 2 of them add up to 20? (d). How many different...
Given 11 different integers from 1 to 20. Prove that at least two of them are exactly 5 apart. pigeonhole principle.
Question 1 (a) How many positive integers are there between 1000 and 4999, inclusive? (b) How many positive integers between 1000 and 4999, inclusive: 1. have no repeated digit? 2. have at least one repeated digit? 3. have at most two repeated digits? Note that by 'one repeated digit' we mean that there is a digit that appears at least twice (eg, 1123 has one repeated digit). Similarly, by two repeated digits we mean a digit that appears at least...
Show your work, please
6. Counting Distributions. (a). How many solutions are there to the equation ni + 12+13 + 14 = 20 if ni, 12, 13, 14 are nonnegative integers and 14 # 4? (b). How many ways are there to give 13 (identical) red pencils and 15 (identical) blue pencils to 11 (different) students? (c). What if each student needs at least 1 pencil of each color?
Please answer 1 and 2 show all work!!!!
1) (6pts) Three married couples have purchased theater tickets and are seated in a row consisting of just six seats. a) How many different seating arrangements are possible? TOTAL: How many different seating arrangéments have the three men (in order) in the three leftmost seats? any b) TOTAL c) Assume the theater-goers take their seats in a completely random fashion. Then each of the seating arrangements in part a) are equally likely....
Please send me solutions for the above five
questions.
The questions are based on Pigeonhole Principle.
3. A shop contains twelve samples of read shirts, seven samples of white shirts, and N samples of blue shirts. Suppose that the smallest K such that choosing K samples from the collection guarantees that you have six samples of the same color of shirt is K-15. What is N? 4. Show that among any n1 positive integers not exceeding 2nthere must be integer...
Sets and Counting: Problem Set 2 Directions 1. Solve the following problems. Hand write your solutions and explanations on your own paper. Do not write answers on this page. 2. Show your work AND explain your reasoning using complcte English sentences. Explanations must directly follow the solution for each part of the problem. You must write your name on the top right of the paper you turn in. 4. You must write the title of this problem set on the...
Let Gh be the collection of all graphs with the vertex set V =
{1, 2, 3, 4, 5, 6, 7, 8}. Suppose we are given a list of 32 graphs
G1, G2, . . . G32, each in Gh.
(a) The following argument is wrong. Identify the error.
There are
= 28 two-element subsets of V . Given any graph G ∈ Gh, each edge e
∈ E(G) is a two-element subset of V . So there are 28...
DESCRIPTION: The range of integers that can be represented in Java using a primitive data type is only from-263 to 263-1. What if we need to manipulate integer values beyond this range? In this assignment you will write a HugeInteger class which is able to represent arbitrar- ily large integer numbers. This class must implement arithmetic operations on integers such as addition, subtraction, multiplication, division and comparison. You have to implement this class without using Java predefined classes, unless specified...
Please help me the JAVA program - Choose Your Operation
Write a program that uses a WidgetView object to do the following: Generate two random integers between 1 and 9 (inclusive). Name one of them x, the other y. Display them to the user using JLabel objects. Create a JLabel object displaying the text "Enter an operation number." Create a JTextField for the user's input. Create a JButton displaying the text "Press here when you've entered your operation." Use addAndWait...