Discover the answers you need at Westonci.ca, where experts provide clear and concise information on various topics. Join our Q&A platform to connect with experts dedicated to providing accurate answers to your questions in various fields. Discover detailed answers to your questions from a wide network of experts on our comprehensive Q&A platform.

At Mathville Middle School, there were 50 students and 50 lockers. Each year for Pi Day (March 14), the students lined up in alphabetical order and performed the following strange ritual. The first student opened every locker. The second student went to every second locker and closed it. The third student went to every third locker and changed it (i.e. if the locker was open, the student closed it; if the locker was closed, the student opened it). In a similar manner, the fourth, fifth, sixth, . . . student changed every fourth, fifth, sixth, . . . locker. After all 50 students had passed by the lockers, which lockers were left open?

HELP ASAP PLZZZ :C