
|
| physics chemistry maths science forums |
|
|
|
| |
|
|

| Author |
Message |
![[Post New]](/templates/default/images/icon_minipost_new.gif) 11 Mar 2008 19:16:53 IST
|
|
|
Heres anoder interesting question There are (n > 1) lamps L 0, L 1, ... , L n-1 in a circle. We use L n+k to mean L k. A lamp is at all times either on or off. Initially they are all on. Perform steps s 0, s 1, ... as follows: at step s i, if L i-1 is lit, then switch L i from on to off or vice versa, otherwise do nothing. Show that: (a) There is a positive integer M(n) such that after M(n) steps all the lamps are on again; (b) If n = 2 k, then we can take M(n) = n 2 - 1. (c) If n = 2k + 1, then we can take M(n) = n2 - n + 1.
|
|
|
|
|
|
|
|
This is again another famous olympiad problem. (IMO - 1993) Solution to (A) First, the sequence cannot terminate: it can only terminate if it reaches configuration with all lamps off, which is not possible, since if after some step the configuration is all lamps off, that must have been the configuration before step , so backtracking, the initial configuration must have been all off, which isn't true. Consider the infinite set of configurations after steps for some integer . Since there are only finitely many different configurations, some two must coincide. Choose the first such pair, after say and steps. So after steps, the configurations just cycle. Now consider backtracking from step to step (by backtracking, replace the relavent pair of switches as follows: (0,0) and (0,1) are unchanged, (1,0) goes to (1,1) and (1,1) goes to (1,0) ) : consider the sequence of steps taking step to step . Now applying the same sequence of steps to step , we can see by backtracking, after exactly steps we will reach a configuration with all lamps on.
|
Guide to latex:
http://www.goiit.com/posts/list/community-shelf-a-guide-to-latex-48056.htm
JEE and OLYMPIA INFINATUM
http://iit-redefined.theforum.name/index.php
|
this reply: 10 points
(with 2 
in 2 votes ) [?]
|
|
You have to be logged on to rate
|
|
|
![[Post New]](/templates/default/images/icon_minipost_new.gif) 11 Mar 2008 22:13:22 IST
|
|
|
Solution to (B) Let's looking at the configurations  , where  is the configuration obtained after  steps. Denote  be the number assigned to light  in configuration  .It's easy to see that, working in  ,  . (This is true, since two adjacent numbers (1,1), (1,0), (0,0), (0,1) are changed to (1,0), (1,1), (0,0), (0,1) respectively). From there, an induction gives us, that for  ,  . Looking at Pascal's triangle, for  we notice that the sequence:  is identical to  . Using  , and well-known properties of Pascal triangle (i.e.:  ), and induction, we can see that this pattern is true  . In particular, let's look at configuration  : for  , we have  . But since the binary representation of  contains at least one  , and  contains only  -s, it follows that, working in  ,  for  - so after  steps we end up with a configuration with a  for light #  , and a  for every other light. From there, after  steps, since each following steps toggles one light, we will have configuration with all lights on.
|
Guide to latex:
http://www.goiit.com/posts/list/community-shelf-a-guide-to-latex-48056.htm
JEE and OLYMPIA INFINATUM
http://iit-redefined.theforum.name/index.php
|
this reply: 10 points
(with 2 
in 2 votes ) [?]
|
|
You have to be logged on to rate
|
|
|
![[Post New]](/templates/default/images/icon_minipost_new.gif) 11 Mar 2008 22:15:19 IST
|
|
|
Solution to (C) Let's keep the notation from proof of (b) (i.e., the  notation), and let  denote the arrangement obtained after  turns (but here  , and not  ). By looking at case  and comparing  with  , the following pattern becomes obvious: for  , configuration  is obtained from  , by shifting  in cyclic direction twice, and adding in a  for the lamp in position #  . We can prove this by using induction, and our equation  which tells us how to get configuration  from  . Using this, we can see that  , every lamp except for lamp #  is a  . Using equation  ,  consists of all lamps except lamp #  being a  . Thus, after one more step, all the lamps become  -s - so in  steps, all lamps are on again. Hence proved.
|
Guide to latex:
http://www.goiit.com/posts/list/community-shelf-a-guide-to-latex-48056.htm
JEE and OLYMPIA INFINATUM
http://iit-redefined.theforum.name/index.php
|
this reply: 10 points
(with 2 
in 2 votes ) [?]
|
|
You have to be logged on to rate
|
|
|
![[Post New]](/templates/default/images/icon_minipost_new.gif) 12 Mar 2008 09:24:13 IST
|
|
|
Here is the official solution. (IMO 1993) (PS. Please dont rate me for the above solutions. They are not entirely mine).
|
Guide to latex:
http://www.goiit.com/posts/list/community-shelf-a-guide-to-latex-48056.htm
JEE and OLYMPIA INFINATUM
http://iit-redefined.theforum.name/index.php
|
this reply: 0 points
(with 0 
in 0 votes ) [?]
|
|
You have to be logged on to rate
|
|
|
![[Post New]](/templates/default/images/icon_minipost_new.gif) 12 Mar 2008 09:33:05 IST
|
|
|
Sorry dude ! I can't restrain myself from rating you.
|
Caution: Radioactive Hazard |
this reply: 0 points
(with 0 
in 0 votes ) [?]
|
|
You have to be logged on to rate
|
|
|
![[Post New]](/templates/default/images/icon_minipost_new.gif) 12 Mar 2008 20:53:01 IST
|
|
|
I dont know how to do it mathematically but the word retracing caught my eyes i retraced the sequence and obtained the following figure let all lamps are lit steps(each cycle) no. of lamps (1 on)(0 of) 1111(initially all lamps are lit) (steps are retraced ) 1000 1100 1010 1111 after every one in previous step of previous column change the state 11 0 as you can see that for 4 lamps after 4 steps back lamps are relit proceed same way you get for power of 2 I dont know how to write it mathematically but can these tupe of question come in IIT
|
those who dont believe in god closes the gates of miracles in their life |
this reply: 0 points
(with 0 
in 0 votes ) [?]
|
|
You have to be logged on to rate
|
|
|
|
|
|
|
|
|
|