CMSC 250 Fall 2004 -- Homework 12
Due Wed., Nov. 24 at the beginning of your discussion section.
You must write the solutions to the problems single-sided on your own lined paper, with all sheets stapled together, and with all answers written in sequential order or you will lose points.
- In a 3-dimensional world, whenever you stand in
position
, you can proceed one of the positions
,
and
. How many ways can you walk from the starting
position
to the exit
?
- Define
by the rule
, for all integers
.
Is
one-to-one? Is
onto? Prove or give counterexamples.
- Let
and
be functions, and
be defined by
for all real numbers
.
- If
and
are both one-to-one, is
also one-to-one?
- If
and
are both onto, is
also onto?
Justify your answer.
- If
and
are functions and
is onto,
must both
and
be onto? Prove or give a counterexample.
- Prove that
.
- Let
. Suppose five integers are chosen
from
. Must there be two integers whose sum is 10? Why?
- How many integers from 100 through 999 must you pick in order to be
sure that at least two of them have a digit in common?
(For example, 256 and 530 have the common digit 5.)
- Suppose
is a sequence of
integers none of
which is divisible by
. Show that at least one of the
differences
(for
) must be divisible by
.
Kin-Keung Ma
2004-11-18
Web Accessibility