
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

Math 184A First Exam 22 October 2003
all digits distinct. For example, 342, 901, and 123 are allowed but 034, 122 and 474
are not allowed.
(a) How many are there?
(b) How many have the sum of their digits odd? (For example, 342 and 126 have
odd sums.)
Hint: You might consider cases depending on which digits are odd and which are
even.
ordered lexicographically. (This is the usual ordering.) What is the rank of the
function whose one-line form is 6,3,1?
a 0 < a 1 < · · · < ak− 1 ︸ ︷︷ ︸ k items
< ak > ak+1 > · · · > a 2 k ︸ ︷︷ ︸ k items
where all the ai are in { 1 , 2 ,... , n}. For example, the 10 sequences counted by P (4, 2)
include
1 , 2 , 3 , 2 , 1 1 , 2 , 4 , 2 , 1 1 , 2 , 4 , 3 , 1 2 , 3 , 4 , 2 , 1
Obtain a formula for P (n, k). It will probably be a sum involving binomial coefficients.
Hint: How many sequences have ak = t?
To receive credit, you must explain clearly why your formula is corect.