A bag contains (2n+1) coins. It is known that n of these have a head on both the sides, where as 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 value of n is