Removal of K objects such that no two are adjacent

56 Views Asked by At

There are $2$ rows joined side-by-side with $n$ objects in each row. What is the number of ways to remove exactly $k$ objects such that no two vacant places, after removal, are adjacent to each other?

For example, when $n=4$, $k=2$, the answer is $18$, and when $n=5$, $k=3$ the answer is $38$.

I'm not able to get a formula to solve it for any value of $n,k$ ($k \leq 2n$)

rows_of_cells

1

There are 1 best solutions below

0
On