Well, task is in the title. I need number of ways to place $k$ balls in $F$ boxes where exactly $r$ boxes contain exactly one ball. It means that exactly $r$ boxes should contain exactly one ball and another $F - r$ boxes should contain some number from set $ S = \{\mathbb{N}\setminus\{1\}\} \cup\ \{0\} $. I mean that they should not contain exactly one ball.
In addition, I should say that balls are indistinguishable and boxes are distinguishable.
Actually, that's all.
Well, I can tell you my solution.
Let's consider that $N(r,k,F)$ - the answer to my question. i.e. number of ways to place $k$ balls in $F$ boxes where exactly $r$ boxes contain exactly one ball.
Well, let's compute it. Firstly, I can choose with $\binom F r$ my favourite boxes (which I want to contain my lonely balls)
After this, what should I do now? Now I have $F-r$ boxes and $k-r$ balls. And I should place them under condition that ZERO boxes contain exactly one ball. See similarity? It is exactly $N(0, k-r, F-r)$. Hm, Well, now I have equation:
$$ N(r,k,F) = \binom F r \cdot N(0, k-r, F-r) $$
of course $r$ should be $r\le\min(k,F)$ here.
Now I have some recursion. Well, let's think of initial conditions.
$$N(0,0,F) = 1$$
$$N(0,k,0) = 0$$
It is not enough. If I did not have this strange condition about favourite balls I would have $\binom {F+k -1}{k}$ ways to place $k$ balls into $F$ boxes. According to a famous combinatoric task. (Am I right here?) However, It means that the whole sum equals
$$ \sum_{s=0} ^{\min(k, F)} N(s,k,F) = \binom {F+k - 1}{k} $$
Consequently, let's think of $N(0, k, F)$ here. $$ N(0,k,F) = \binom {F+k - 1}{k} - \sum_{s=1} ^{\min(k, K)} N(s,k,F) $$
NOW I have 4 equations with some difficult recursion. I really do not like it. I can't do anything with these formulas. I want some help to simplify this or another solution. Now even my python code does not solve it because of recursion restrictions. All I want is to be able to compute this.
PS I have already asked this question on this site, but I was so bad in my explanations that it got off-topic, down-voted and etc it did not receive as much attention as I need :( I really need some help here. I hope I will meet a good attitude now :)
PPS I am sorry if it is very bad behavior from me. and sorry for my bad English.
PPS Am I right in my solution? I have some doubts.