logo

Crowdly

Lockers labelled from 1 to 2020 are lined up in a row. Initially, all the locker...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

Lockers labelled from 1 to 2020 are lined up in a row. Initially, all the lockers’ doors are open. A student walks by and closes all the lockers. Another student walks by and opens all lockers whose labels are divisible by two. Yet another student walks by and switches the state of lockers (that is, the students opens closed lockers and closes opened lockers) with labels divisible by three. This process continues, with the nth student switching the state of lockers with labels divisible by n. After 2020 students have walked by, how many lockers are closed?

0%
100%
0%
0%
More questions like this

Want instant access to all verified answers on do.ipo.kpi.ua?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!