The relation between the Markov constant of an acyclic cluster algebra of rank 3 and the dimension of the first Hochschild cohomology group of the corresponding hereditary algebra will be shown.