On the characteristic word of the inhomogeneous Beatty sequence