Better Experience Download iQuanta App

Google PlayApp Store
Learner
22d
#Doubt Responded

Doubt

Can someone send a video solution of this set ?

Comments1

Superman - iQuanta

Superman - iQuanta

Door n gets flipped once for every divisor of n (person k flips all multiples of k). A door ends open only if it's flipped an odd number of times, which happens only when n has an odd number of divisors, i.e. n is a perfect square. Q42. Perfect squares from 1 to 100: 1,4,9,16,25,36,49,64,81,100. 10 Q43. 49 = 7^2, so divisors are 1, 7, 49, that's 3 flips, door ends open. Open Q44. 60 = 2^2 * 3 * 5, number of divisors = 3*2*2 = 12. 12 Q45. Now only persons 1 to 50 act. Door n is flipped by each divisor of n that is <= 50. For n <= 50: all divisors of n are <= 50, so count = total divisors. Odd only for perfect squares. Squares here: 1,4,9,16,25,36,49 => 7 open. For n from 51 to 100: the only divisor > 50 is n itself (no other divisor d > 50 exists since d*2 > 100 >= n would force n > 100). So counted divisors = total - 1. For a non-perfect square total is even, so even - 1 = odd => open. For a perfect square total is odd, so odd - 1 = even => closed. Perfect squares in 51-100: 64, 81, 100 => 3 doors closed; remaining 47 non-squares open. Total open = 7 + 47 = 54.

Log in to join the discussion.