In a certain binary star system, the masses of the stars are M and 3M respectively and their separation is d. If the period of revolution of the stars is πGMnd3​​, the value of n is