I will denote the two parts to my question a and b. I'm first trying to figure out first the number of ways to put $N + 1$ distinguishable balls into $N$ distinguishable bins, and then to find the same thing except with exactly one bin empty. The way I've currently approached part a is as follows:
Part a
There are $_{(N+1)}P_N$ ways to arrange the $N+1$ ball among the $N$ bins, which is $(N+1)!$ However, since there will always be one ball remaining after $N$ of them have been sorted, there are $_{N+1} C _{2}$, or $\frac{(N+1)!}{(N+1-2)!2!}$ ways of choosing two pairs of balls to "double up" in the same box. Thus I think the number of ways is $(N+1)_{N+1}C_2$. Is this correct?
Part b
Now in the case when exactly one bin is empty: firstly, there are $N$ ways to choose an empty box. Then there are $(N+1)N-1$ or $_{(N+1)!}P_{N-1}$ permutations of the $N+1$ balls. Finally, I need to some how choose which balls to double up. This is my main confusion.