Relations for Grothendieck groups of n-cluster tilting subcategories