Dynamics of a certain sequence of powers