In this jailor problem i dont understand that in 12 door why it include only divisor of 12.In this we know that door is open when we reach odd no of times bt we are not including odd numbers. Plz clear my doubt and tell me in 12 door why is only divisors of 12 included
Assignment problem
hello @manoj2597
we need to find out the rounds in which jailor will come to 12.
he will come to 12 in following rounds->
1 because 12 is divisble by 1.
2 because 12 is divisble by 2
3 because 12 is divisble by 3.
4 because 12 is divisble by 4.
6 because 12 is divisble by 6.
12 because 12 is divisble by 12.
there is no other round in which jailor will visit to 12.
so total even number of times jailor visited 12 , thats why it will remain as original state
i dont understand ur answer. i dont know why there is 1,2,3,4,6,12 rounds not 5,7 and so on
in round 5 he will visit only multiples of 5.
5,10,15,20 so on (he will never visit 12)
same is case with 7 , he will visit only in multiples of 7
7 , 14, 21 so on (12 will never come)
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.