Discrete time Markov chain of a dynamical system with a rest phase. (2016)