Arithmetic properties of certain recurring sequences