Number of functions $f : \{1, 2, ..., n\} → \{1, 2, ..., n + 2\}$ satisfying $f (x) < f (y)$

66 Views Asked by At

Let n be a positive integer. What is the number of functions $f : \{1, 2, ..., n\} → \{1, 2, ..., n + 2\}$ satisfying $f (x) < f (y)$ for every $x, y ∈ \{1, 2, ..., n\}$ such that $x < y$?

I've had similar examples in the past but I can't figure out the general procedure. I know that $|A| = n$ and $|B| = m$ then we have $n^m$ elements. But I can't tie it together. I would greatly appreciate your help.

3

There are 3 best solutions below

1
On BEST ANSWER

As the inequality is strict, we then have firstly that $f$ is in injective.

Now, when we map the numbers $\{ 1, \ldots n \}$ to $\{ 1, \ldots, n+2 \}$ we have to skip exactly $2$ numbers somewhere to preserve the order. We can choose which numbers these are from the $n+2$ in ${n+2}\choose{2}$ ways

0
On

HINT:

Once you know the image of $f$, the function $f$ is uniquely determined. Now, in how many ways can you choose the image of $f$? ( it will be a subset with $n$ elements)

3
On

Hint: if you delete any two elements in $\{1,2,....,n+2\}$ you get the function you want. So...