We are given the function \( f(n) = n!(31-n)! \). To minimize this function, we need to find the value of \( n \) that minimizes the product of the two factorials. This occurs when \( n = 15 \), as the product of the factorials \( 15! \) and \( 16! \) will yield the smallest value.
Thus, the minimum value of \( f(n) \) is \( (15!)(16!) \).