How to prove this identity? Can someone please give me some insight ?
$$\sum_{k=1}^{n} \frac{(-1)^{k+1}}{k} \binom{n}{k} = \sum_{k=1}^{n} \frac{1}{k}$$
How to prove this identity? Can someone please give me some insight ?
$$\sum_{k=1}^{n} \frac{(-1)^{k+1}}{k} \binom{n}{k} = \sum_{k=1}^{n} \frac{1}{k}$$
On
I don't know how to do it by a combinatorial proof, but here is an alternative: $$\eqalign{RHS &=\sum_{k=1}^n\int_0^1x^{k-1}\,dx\cr &=\int_0^1 \frac{1-x^n}{1-x}\,dx\cr &=\int_0^1 \frac{1-(1-y)^n}{y}\,dy\cr &=\int_0^1 \sum_{k=1}^n\binom{n}{k}(-1)^{k+1}y^{k-1}\,dy\cr &=LHS\ .\cr}$$ I would be very interested to see if there is a true combinatorial proof: I would have thought the $1/k$ terms would make that rather difficult.
On
this is too long for a comment. it is already established that $ n! RHS = s(n+1, 2).$ we will show that $s(n+1, 2) - \frac{n!}{1} {n \choose 1} + \frac{n!}{2}{n \choose 2} + \ldots = 0$ as in @markus answer, let the elements of $s(n,2)$ written in left cycle with $1$ as the first element and the right cycle starts with smallest element of that cycle.
let $\alpha_j, j = 1, 2, \ldots$ be the property that $j+1$ is in the right cycle. claim: $N(\alpha_j) = n!, N(\alpha_j \alpha_k) = \frac{n!}{2}, \ldots.$ place $1$ in the left cycle and $2$ in the right cycle as the first elements. now, $3$ has two choices, $4$ has $2$ choices, $\ldots (n+1) \mbox{has} n$ choices. putting all together, $ N(\alpha_1) = n!.$
to prove the second claim, place $1,2$ as before and put $3$ to the right of $2.$ we can place $4$ in $3$ ways between $1$ and $2, 2$ and $3$ or to the right of $3,$ so there are $3$ ways. same way $5$ has $4$ choices giving us $N(\alpha_j \alpha_k = \frac{n!}{2}.$
by symmetry, $N(\alpha_j), N(\alpha_j \alpha_k), \ldots$ don't depend on $j, k, \ldots.$
we are now ready to apply the principle of inclusion-inclusion in the form $N[(1-\alpha_1)(1-\alpha_2)\ldots] = N(1) - {n \choose 1} N(\alpha_1) + {n \choose 2} N(\alpha_1 \alpha_2) + \ldots.$ this gives us $$0 = s(n+1, 2) - \frac{n!}{1} {n \choose 1} + \frac{n!}{2}{n \choose 2} + \ldots $$
This is a sort of combinatorial proof of the identity above. As David already mentioned in his answer, a true combinatorial proof seems hardly possible if we consider the factor $\frac{1}{k}$. But, we can always write the Harmonic Number $H_n$ as
\begin{align*} H_n=\sum_{k=1}^{n}\frac{1}{k}=\frac{a_n}{n!} \end{align*}
with $a_n$ a natural number and we can try to find a combinatorial proof for the numerator $a_n$. So, we can interpret $H_n$ as arithmetical ratio of $a_n$ with $n!$ based upon combinatorial arguments.
Permutation of $n+1$ elements containing exactly two cycles and the
Inclusion-Exclusion Principle (IEP).
Now, following is valid:
First we choose $k$ elements from the $n$-element set $\{2,3,\dots,n+1\}$ ($1$ is fix on the first position in the left cycle). This can be done in $\binom{n}{k}$ ways. $k$ elements in the right cycle can be positioned in $(k-1)!$ ways ($a_{j+1}$ is fix on the first position of the right cycle), while the remaining $n-k$ elements can be arranged in $(n-k)!$ ways in the left cycle. We observe:
Since $k$ may vary from $1$ to $n$ we get
So, we get a combinatorial interpretation for $n!H_n$ based on the $e_k$ (RHS). Observe, the $e_k$ are providing information for exactly $k$ elements within the right cycle. Here we can think about the inclusion-exclusion principle (IEP) which transforms at least information to exactly information (and vice versa).
$\binom{m}{k}$ ... number of arrangements to select $k$ specific elements from the right cycle of length $m(\geq k)$ of permutations with $n$ elements
$e_k$ ... number of permutations with exactly $k$ elements in the right cycle
$l_k$ ... number of permutations with $k$ elements in the right cycle of length at least $k$
Now a closer inspection of $l_k$ to identify more precisely the meaning of the number of permutations with $k$ elements in the right cycle of length at least $k$:
Each summand of the RHS is of the form $\binom{m}{k}e_m$ with $k \leq m \leq n$. Since $e_m$ counts the number of permutations with right cycle length $m$, there are $\binom{m}{k}$ possibilities to choose a right cycle of length $k$ from those. Since $m$ varies from $k$ up to $n$ we get all permutations with $k$ elements in the right cycle of length at least $k$.
If we focus on a specific permutation with right cycle of length $m$ we can identify $\binom{m}{k}$ permutations with right cycle length $k$ by respecting the order of the elements within the left cycle and also by respecting the order of the elements within the right cycle. (See the next section for a more detailed explanation of this order respecting aspect).
Somewhat more demanding:
The RHS $\binom{n}{k}e_k$ multiplies each occurrence of a permutation with right cycle of length $k$ with $\binom{n}{k}$.
For each of these selections we define the right cycle starting with $a_{n-k+2}$ which was the leftmost (smallest) element of the right cycle in $(3)$. If $a_{n-k+2}$ is not the smallest element, we may rotate the cycle, so that the smallest element of the right cycle becomes the leftmost (bjiective operation).
According to the IEP we get
So, we have shown:
Some further notes:
(You may look at the answer to question 730885 for more details and another proof of identity $(1)$ which is algebraically not combinatorically).
This proof is based upon Theorem 1 of A Stirling Encounter with Harmonic Numbers and the IEP related question 749390.
According to a comment of abel please find below an example with permutations of $4$ elements, showing the interconnections between $e_k$ and $l_k$.
Please note this table lists
According to the table entries of $e_k$ and $l_k$ above we observe
It follows: