The statistical interpretation of Entropy I recently got introduced to the Statistical Mechanics, particularly, the Statistical Interpretation of Entropy and am utterly confused regarding the following problem:
Imagine a box with two identical compartments. Then a crude specification of the position of a molecule of a gas will be whether it's located in the left or the right compartment of the box. Any molecule is equally likely to be in either of the compartments.
Assume that there are $N$ 'identical' molecules.
Consider the macrostate with $n_1$ = $k$ and $n_2$ = $N-k$. Here, $n_1$ refers to the number of molecules in the left compartment and $n_2$ to the number of molecules in the right compartment. 
Then the number of microstates corresponding to this macrostate should be 1 (since all the particles are identical). 
But, in all the resources I've referred to, I found the number of microstate(s) corresponding to this macrostate to be $\frac{N!}{n_1! n_2!}$. 
Kindly throw some light onto this conceptual flaw.
 A: 
Then the number of microstates corresponding to this macrostate should be 1 (since all the particles are identical).

The particles may be identical (have the same intrinsic physical properties), but that does not in any way mean that they are not distinct. It is most natural to assume the particles are distinct (they can be placed to different places, labeled and tracked).
The microstate of the system is not given by the occupation numbers of the departments, but by a set of locations for each distinct particle. Equivalently, it is given by the set of particles in the first department.
The number of such sets $\Omega$ is easily calculated. Imagine a process where we create a particular set by placing $k$ particles from the initial $N$-membered set into the first department. The number of distinct ways to do that is
$$
W = N(N-1)(N-2)...(N-(k-1)) = \frac{N!}{(N-k)!}.
$$
However, when making one particular set, $k!$ distinct ways are possible (differing in the order in which the particles were placed). The number of possible sets is thus lower by a factor of $k!$:
$$
\Omega = \frac{N!}{k!(N-k)!}.
$$
A: It's a simple permutation problem. 
Suppose there are $N$ distinguishable particles. Let $n_L$ be the number of particles distributed in the left & $n_R$ distributed at the right compartment. 
First of all, you are to select a particle for the first place of $N$ places. How many ways can it be done? It can be done in $N$ ways; now the second place can be filled by $(N-1)$ ways. Similarly, by extrapolation, we can find the number of ways the $N^\text{th}$ place can be filled is $(N-(N-1))$ ways. By rule of multiplication, all these can be done simultaneously in $N!$ ways. 
Now, suppose you've $n_L$ distinguishable particles ; then they can be arranged in $n_L$ places by $n_L!$ ways; similarly $n_R$ particles can be arranged among $n_R$ places by $n_R!$ ways. 
But all we know that $N$ particles are indistinguishable. Let the total number of arrangements be $x$. For each arrangement, we could arrange $n_L$ particles & $n_R$ particles among them by $n_L!$ & $n_R!$ ways if they were distinguishable. So, total number of arrangements is $x\cdot n_L!\cdot n_R!$ ways. But this is equal to $N!$ ways, So, by equating them, we get the number of ways the indistinguishable particles can be arranged i.e. $x$ viz.$$x= \frac{N!}{n_L!\cdot n_R!}.$$ 
A: Number of microstates are possible arrangement or permutation. As particles are identical but having two identical box differing by left and right or other kind. The number of ways in first particle arranged is 2. Next particle is again 2. So for $N$ particles, there are $2^N$ possibilities. This is similar to number of ways in which 4 digits pin can be made, $10.10.10.10=10^4$.
This is also similar to if $N$ coins are tossed and number of their outcomes possible are $2^N$. Now about probability, it can be given by favourable outcomes divided by number of possible outcomes, that is combination which is smaller for extreme value but maximum for middle value. Like only 1 particle in either of box out of 10 is, $2C_1^{10}=18$, but for 5 is 504. So probability of 5 in any box out of 10 is $\frac{504}{1024}=0.492$, assuming that box are identical so equiprobable.
As per method asked in question, number of particles are $N$. They have to be placed in two identical box, then number of possible arrangement or microstates are given by,$$\displaystyle \Omega=\sum_{k=0}^N\frac{N!}{k!(N-k)!}=2^N$$where $k$ is number of particles in one box then $(N-k)$ are number of particles in other box. Number of microstates is sum of all these binomial expansion terms.
