A bag contains $(2 n+1)$ coins. It is known that $n$ of these coins have a head on both sides, whereas the remaining $(n+1)$ coins are fair. $A$ coin is picked up at random from the bag and tossed. If the probability that the toss results in a head is $31 / 42$, then $n$ is equal to