Let b be the number of students that were in each bus, since 111 students were on the trip, 23 students rode in cars, and the rest filled 4 buses, then we can set the following equation:
Subtracting 23 from the above equation we get:
Dividing the above equation by 4 we get:
Answer: 22 students.