If in the expansion of (1+x)20, the coefficients of rth and (r+4)th terms are equal, then the value of r is equal to: