Question: 100 coins are placed in a line on the table. 100 people are in front of the table. Each person is asked to turm

100 coins are placed in a line on the table. 100 people 

100 coins are placed in a line on the table. 100 people are in front of the table. Each person is asked to turm over or flip every i th coin start from i. For e.g., P1 flips every coin. P2 flips every alternate coin starting from 2. P3 flips every third coin starting from 3. (5) 0 How many times is the 100th coin flipped/turned over? (i) How many coins have been flipped/turned over exactly twice? (i1i) How many coins are flipped/turned over odd number of times? (iv) Let f(i) denote that number of times coin i has been flipped. What is the maximum value among all f(i) and what is the minimum value among all f(). You need to justify all your answers.

Step by Step Solution

3.38 Rating (160 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

i The 100th coin was flipped 100 times because all the 100 people in front of the ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!