A teacher wrote a number on the board and asked the students to tell about the divisors of the number one by one.
- The 1st student said, "The number is divisible by 2."
- The 2nd student said, "The number is divisible by 3."
- The 3rd student said, "The number is divisible by 4."
- ⋮
- The 30th student said, "The number is divisible by 31."
The teacher then said that exactly two consecutive students were incorrect.
Which two students were incorrect?
If the mth and (m+1)th students spoke wrongly, then enter m.