Calculating the density of solutions of equations related to the Pólya-Ostrowski group through Markov chains