If the co-efficients of \( x^7 \) and \( x^8 \) in the expansion of \( \left(2 + \dfrac{x}{3}\right)^n \) are equal, then the value of \( n \) is equal to ________.