TITLE: Why are multinomial coefficients with same entropy equal? (usually)
QUESTION [5 upvotes]: Suppose $p_1,\ldots,p_d$ and $q_1,\ldots,q_d$ are positive real numbers such that 
$$p_1+\cdots+p_d=q_1+\cdots+q_d=n$$
and
$$p_1 \log p_1+\cdots+p_d\log p_d=q_1 \log q_1+\cdots+q_d \log q_d $$
Then the following seems to hold
$$\frac{n!}{p_1!\cdots p_d!}=\frac{n!}{q_1!\cdots q_d!}$$
why?
Edit: JBL correctly notices that it doesn't always hold. I just didn't go far enough.
Still, it's surprising to me that it holds so frequently.
If we put a black disk at x,y if equality seems to hold (in machine precision) for x=n,y=d, and positive integer coefficients, it'll look like this

(source)
Red circle is JBL's example. Blue circle is n=18,d=3 which fails for (12,3,3) and (9,8,1).

docheck[n_, d_] := (
   coefs = IntegerPartitions[n, {d}, Range[1, n]];
   entropy[x_] := N[Total[# Log[#] & /@ x]];
   groupedCoefs = GatherBy[coefs, entropy];
   allEqual[list_] := And @@ (First[list] == # & /@ list);
   multinomials = Apply[Multinomial, groupedCoefs, {2}];
   And @@ (allEqual /@ multinomials)
   );
vals = Table[docheck[#, d] & /@ Range[1, 30], {d, 1, 20}];
Graphics[Table[Disk[{n, d}, If[vals[[d, n]], .45, .1]], {d, 1, Length[vals]}, {n, 1, 30}]]

Edit:
Updated version that does exact checking and allows coefficients with 0 components. Still only one example of failure for d=3.

(source)

docheck[n_, d_] := (coefs = IntegerPartitions[n, {d}, Range[0, n]];
   entropy[x_] := Exp[Total[If[# == 0, 0, # Log[#]] & /@ x]];
   groupedCoefs = GatherBy[coefs, entropy];
   allEqual[list_] := And @@ (First[list] == # & /@ list);
   multinomials = Apply[Multinomial, groupedCoefs, {2}];
   And @@ (allEqual /@ multinomials));
maxn = 30; maxd = 20;
vals = Table[docheck[#, d] & /@ Range[1, maxn], {d, 1, maxd}];
Graphics[Table[Disk[{n, d}, If[vals[[d, n]], .45, .1]], {d, 1, Length[vals]}, {n, 1, maxn}]]

REPLY [2 votes]: EDIT 
You still have not given interesting examples of equal multinomal coefficients with equal entropy. I'm not saying there aren't any (or many) but it would help to see some. Or even interesting examples (especially for d=3) with at least the same prime divisors showing up.
Either of these tasks is pretty easy (I added the condition disjoint which is no loss) :

find n and d and two disjoint d-tuples of integers A and B both with sum n and $\prod_A a!=\prod_B b!$ (equal multinomials with the same n and d)
find n and d and two disjoint d-tuples of integers A and B with sum n 
$\prod_A a^a=\prod_B b^b$ (equal entropy)

I'd venture that most of the time a solution of one is not a solution of the other. 
For equal entropy: There is a 4 parameter family of solutions to the equal entropy problem (usually with d large) using 1,2,3,4,6,8,9,12 spread out between the sets A and B (Choose the number of 4s,8s,9s and 12s and where they go, there is a unique way to choose the 1s,2s,3s and 6s) . If one of the sets uses 12 then there will be a discrepancy in the multinomial coefficients related to the prime 11.
for equal multinomials: $<x,y,xy-1>$ and $<x-1,y-1,xy>$ give equal product of factorials so $<x,y,xy-1,u-1,v-1,uv>$ and $<x-1,y-1,xy,u,v,uv-1>$ gives a d=6 case of the multinomial problem. It is easy to arrange for cancelation. Set u=y and v=xy-1 to get a d=3 multinomial  $<x,xy-2,(xy-1)y>$ and $<x-1,xy,(xy-1)y-1>$. Here there will be primes present in one side but not the other so even the shifted entropy won't be exactly the same.
previous answer
- The missing black dot at n=19,d=4 is from  $<6,6,6,1>,<9,2,4,4>$ which have equal entropy yet the corresponding multinomial coefficients have ratio 25/28.
 - The missing black dot at n=20,d=5 is from  $<8,3,3,3,3>,<6,6,4,2,2>$ which have equal entropy yet the corresponding multinomial coefficients have ratio 21/20
.
 - What are some interesting examples of equal entropy and equal multinomial coefficients?
 - The ratio of similar binomial coeffcients will usually consist of powers of relatively small primes so coincidences are likely.
 - There are an enormous number of equal multinomial coefficients and they do not lead to equal entropy in most cases (not that you say they will).