By constructing a suitable bijection, show that the number of
subsets of an n-set of odd...
By constructing a suitable bijection, show that the number of
subsets of an n-set of odd size is equal to the number of subsets
of an n-set of even size.
Let S be a set of n numbers. Let X be
the set of all subsets of S of size k, and let
Y be the set of all ordered k-tuples
(s1, s2, ,
sk)
such that
s1 < s2
< < sk.
That is,
X
=
{{s1, s2, ,
sk} | si S and all si's
are distinct}, and
Y
=
{(s1, s2, ,
sk) | si S and s1 <
s2 < < sk}.
(a) Define a one-to-one correspondence
f : X → Y.
Explain...
Let S(n) be the number of subsets of {1,2,...,n} having the
following property: there are no three elements in the subset that
are consecutive integers. Find a recurrence for S(n) and explain in
words why S(n) satisfies this recurrence
6.3.8. Problem. Let f : A → B be a continuous bijection
between subsets of R.
(a) Show by example that f need not be a homeomorphism.
(b) Show that if A is compact, then f must be a
homeomorphism.
6.3.9. Problem. Find in Q a set which is both relatively
closed and bounded but which is not compact.
Prove the following statements!
1. There is a bijection from the positive odd numbers to the
integers divisible by 3.
2. There is an injection f : Q→N.
3. If f : N→R is a function, then it is not surjective.
Suppose we have a collection of n different subsets of the set {
1, 2, ..., n } and they are in some arbitrary order, that is, we
have subsets S1, S2, ..., Sn, but how many and which elements are
in each of these subsets is entirely arbitrary. Suppose also that
we have another subset S' of { 1, 2, ..., n }.
(a) Express a brute-force algorithm that determines whether S'
equal to one of the subsets in...
1. a) Prove that if n is an odd number then 3n + 1is an even
number. Use direct proof.
b) Prove that if n is an odd number then n^2+ 3 is divisible by
4. Use direct proof.
2. a) Prove that sum of an even number and an odd number is an
odd number. Use direct proof.
b) Prove that product of two rational numbers is a rational
number. Use direct proof.
3. a) Prove that if n2is...
The following submission rules apply:· For those
questions requiring programs, the solutions must be implemented
using JavaScript or Java.o Appropriate self-documenting comments
in the source code are mandatory, consistent with good programming
practices.o Solutions must be provided in plain
text so that formatting is not lost.· All answers must
be provided in this document.· Sources must be
given accurate and complete citations sufficient for the instructor
to find and confirm them.Show that the number of nodes of both
the fixed-tuple...
Let P(n) := ” If n^3 is odd then n is also odd.” I.e., if ∃k ∈
Z, n3 = 2k + 1, ∃b ∈ Z, n = 2b + 1
a) Prove P(n) by contraposition
b) Prove P(n) contradiction
c) Prove P(n) using induction