A school has exactly 50 lockers, numbered 1 to 50. On the first day of school, the custodian opened all the lockers. When the janitor came, he closed every locker with an even number. When the principal arrived he "reversed" every fifth locker. That is, if the locker is, close, he opens it. If the locker is open, he closes it. How many lockers remained open when the principal left? What are the locker numbers?

1

Answers

2016-08-04T19:53:37+08:00
1,3,7,9,10,11,13,17,19,20,21,23,27,29,30,31,33,37,39,40,41,43,47,49,50

25 in all

1 4 1