Product of sums which equal to sum of product We can be sure that
$$\left(\sum\limits_{k=0}^{n}\frac{1}{k+1}\right)\left(\sum\limits_{k=0}^{n}\binom{n}{k}\frac{(-1)^k}{k+1}\right)= \sum\limits_{k=0}^{n}\binom{n}{k}\frac{(-1)^k}{(k+1)^2}$$
Is there any similar identities or some types of generalization to find them?

A computer  search will produce the  identity for $p\ge 1$  a positive
integer:
$$\bbox[5px,border:2px solid #00A000]{
\sum_{k=0}^n \frac{1}{k+p}
\sum_{k=0}^n {n\choose k} \frac{(-1)^k}{k+p}
= \sum_{k=0}^n {n\choose k} \frac{(-1)^k}{(k+p)^2}.}$$
This is
$$(H_{n+p} - H_{p-1})
\sum_{k=0}^n {n\choose k} \frac{(-1)^k}{k+p}
= \sum_{k=0}^n {n\choose k} \frac{(-1)^k}{(k+p)^2}.$$
To evaluate the sum on the LHS we introduce
$$f(z) = (-1)^n \frac{n!}{z+p} \prod_{q=0}^n \frac{1}{z-q}.$$
We then obtain
$$\mathrm{Res}_{z=k} f(z)
= (-1)^n \frac{n!}{k+p} 
\prod_{q=0}^{k-1} \frac{1}{k-q} \prod_{q=k+1}^n \frac{1}{k-q}
\\ = (-1)^n \frac{n!}{k+p} \frac{1}{k!} \frac{(-1)^{n-k}}{(n-k)!}
\\ = (-1)^k \frac{1}{k+p} {n\choose k}.$$
With residues adding to zero we find
$$\sum_{k=0}^n {n\choose k} \frac{(-1)^k}{k+p}
= - \mathrm{Res}_{z=-p} f(z) - \mathrm{Res}_{z=\infty} f(z).$$
Now for the residue at infinity we get formally that
$$\mathrm{Res}_{z=\infty} f(z) =
-  \mathrm{Res}_{z=0} \frac{1}{z^2} f(1/z)
\\ = (-1)^{n+1} n! \times \mathrm{Res}_{z=0} \frac{1}{z^2}
\frac{1}{1/z+p} \prod_{q=0}^n \frac{1}{1/z-q}
\\ = (-1)^{n+1} n! \times \mathrm{Res}_{z=0} \frac{1}{z^2}
\frac{z}{1+pz} \prod_{q=0}^n \frac{z}{1-qz}
\\ = (-1)^{n+1} n! \times \mathrm{Res}_{z=0} z^n
\frac{1}{1+pz} \prod_{q=0}^n \frac{1}{1-qz} = 0.$$
We also have
$$- \mathrm{Res}_{z=-p} f(z) =
(-1)^{n+1} n! \prod_{q=0}^n \frac{1}{-p-q}
\\ =  n! \prod_{q=0}^n \frac{1}{p+q}
= n! \frac{(p-1)!}{(n+p)!} = \frac{1}{p} {n+p\choose p}^{-1}.$$
We thus obtain for the LHS the closed form
$$\frac{1}{p} {n+p\choose p}^{-1} (H_{n+p} - H_{p-1}).$$
We use 
$$g(z) = (-1)^n \frac{n!}{(z+p)^2} \prod_{q=0}^n \frac{1}{z-q}.$$
for the  RHS. Observe that the  residue at infinity is  certainly zero
because we are  dividing the bound on $|z|=R$ of  $|f(z)|$ by an extra
factor $R-p.$ This leaves the residue at $z=-p$ and we get
$$- \mathrm{Res}_{z=-p} g(z) =
(-1)^{n+1} n! 
\left.\left(\prod_{q=0}^n \frac{1}{z-q}\right)'\right|_{z=-p}
\\ = (-1)^{n} n! 
\left.\prod_{q=0}^n \frac{1}{z-q}
\sum_{q=0}^n \frac{1}{z-q}
\right|_{z=-p}
\\ = (-1)^{n+1} n! 
\left.\prod_{q=0}^n \frac{1}{z-q}
\right|_{z=-p}
\sum_{q=0}^n \frac{1}{p+q}
\\ = \frac{1}{p} {n+p\choose p}^{-1} (H_{n+p} - H_{p-1}).$$
This  concludes  the proof.   With  this  curious identity  the  first
impression  is  that  we  have  not  understood  the  rules  of  basic
arithmetic involving  sums and products,  yet it reveals itself  to be
true.
