There is a game in which there is a point P and k other points on a plane. To win, we must draw directed lines starting from point P and ending at point P with exactly n number of lines to be drawn. P can also come in between.
Example: $n=2$, $k=4$ suppose points are $k_1$, $k_2$, $k_3$, $k_4$. possible combinations of winning: $$ P\to k_1\to P $$ $$ P\to k_2\to P $$ $$ P\to k_3\to P $$ $$ P\to k_4\to P $$ Hence answer is $4$.
Example: $n=3$, $k=2$ suppose points are $k_1$, $k_2$. possible combinations of winning: $$ P\to k_1\to k_2\to P $$ $$ P\to k_2\to k_1\to P $$ Hence answer is $2$.
Example: $n=4$, $k=2$. suppose points are $k_1$ and $k_2$. $$ P\to k_1\to P\to k_2\to P $$ $$ P\to k_1\to k_2\to k_1\to P $$ $$ P\to k_1\to P\to k_1\to P $$ $$ P\to k_2\to P\to k_2\to P $$ $$ P\to k_2\to P\to k_1\to P $$ $$ P\to k_2\to k_1\to k_2\to P $$ Hence answer is $6$.
How do I generalize the result for arbitrary $n$ and $k$?