where rn−rn−1=rn+1