write variation of rn with n