Six goes into 31 five times with a remainder of 1. This can be calculated by dividing 31 by 6 using long division, which results in a quotient of 5 and a remainder of 1. The remainder represents the amount left over after dividing as many times as possible by the divisor.