| Author |
Message |
![[Post New]](/templates/default/images/icon_minipost_new.gif) 8 Aug 2007 15:46:38 IST
|
|
|
there are n students standing in a row. every second student is asked to sit down.Then every third student is asked to change their positions from sitting to standing or vice versa.then every fourth fifth, sixth and so on.finally the nth student is asked to change his position.Find the students who r sitting.
|
I like to be myself. |
|
|
|
![[Post New]](/templates/default/images/icon_minipost_new.gif) 8 Aug 2007 15:49:26 IST
|
|
|
if n = even,n/2 r sitting................. if n = odd,(n+1)/2 r sitting.........................
|
The inevitable truth of life.....everyone in our life is going 2 hurt sooner or later......u just have 2 realise who is worth.....
the PAIN or the PERSON...!!! |
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) 8 Aug 2007 16:00:05 IST
|
|
|
Ans) ( n - 2 ) children are finally sitting
*PLZ RATE*
|
---------------------------------------------------------------
* Gaurav Ragtah ( aka Artemis Fowl )
* Agent 'G' [sniper] - SD-6 (Alliance of Twelve)
* Your friendly neighborhood spideyunlimited |
this reply: 0 points
(with 0 
in 0 votes ) [?]
|
|
You have to be logged on to rate
|
|
|
|
|
|
|
every integer starting from 1 which is a perfect square of an integer will be standing at the end and all others are sitting...
so if the process is repeated n times, then the total numbers between 1 to n which are squares of an integer will be standing and remaining will be sitting...
im sure abt this... but it is a sort of question which is required to be done for exams like CAT.. i dont think jee would ever contain such sort of ques...
|
Keep working....................Iam comming..
your's only,
Success!! |
this reply: 2 points
(with 0 
in 1 votes ) [?]
|
|
You have to be logged on to rate
|
|
|
![[Post New]](/templates/default/images/icon_minipost_new.gif) 8 Aug 2007 17:15:28 IST
|
|
|
rini see my answer.. it is correct :) u can even check it by putting values
|
---------------------------------------------------------------
* Gaurav Ragtah ( aka Artemis Fowl )
* Agent 'G' [sniper] - SD-6 (Alliance of Twelve)
* Your friendly neighborhood spideyunlimited |
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) 8 Aug 2007 18:24:12 IST
|
|
|
spidey u r wrong................chk for 6 people person 1,3,5 will remain standing, 2,4,6 will sit..................
|
The inevitable truth of life.....everyone in our life is going 2 hurt sooner or later......u just have 2 realise who is worth.....
the PAIN or the PERSON...!!! |
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) 8 Aug 2007 19:26:55 IST
|
|
|
no...2,3,5,6 will be sitting
|
---------------------------------------------------------------
* Gaurav Ragtah ( aka Artemis Fowl )
* Agent 'G' [sniper] - SD-6 (Alliance of Twelve)
* Your friendly neighborhood spideyunlimited |
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) 8 Aug 2007 19:30:27 IST
|
|
|
no.... see 1st one will b standing,2,3,4,5,6 will be sitting....
then, 3,4,5,6 will stand......... then 4,5,6 will sit...............read the question properly.... then 5,6 will stand....... then 6 will sit..................!!!!!!!!!!!
|
The inevitable truth of life.....everyone in our life is going 2 hurt sooner or later......u just have 2 realise who is worth.....
the PAIN or the PERSON...!!! |
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) 8 Aug 2007 19:36:55 IST
|
|
|
no 1st 1 stands , 2sits, 3 stands, 4 sits, 5 stands, 6 sits..
the question says that first every second person sits down then in next round every 3rd person reverses wht his position currently is and so on
|
---------------------------------------------------------------
* Gaurav Ragtah ( aka Artemis Fowl )
* Agent 'G' [sniper] - SD-6 (Alliance of Twelve)
* Your friendly neighborhood spideyunlimited |
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) 8 Aug 2007 19:56:36 IST
|
|
|
see even u got 3 persons sitting..............then how can u say tht n-2 will sit............!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
The inevitable truth of life.....everyone in our life is going 2 hurt sooner or later......u just have 2 realise who is worth.....
the PAIN or the PERSON...!!! |
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) 8 Aug 2007 21:04:09 IST
|
|
|
ohho.. first 1,2,3,4,5,6, are standing then 1 up, 2 down , 3 up , 4 down , 5 up , 6 down then 1 up, 2 down, 3 down, 4 down , 5 up, 6 up, then 1 up, 2 down, 3 down, 4 up, 5 up, 6 up, then 1 up, 2 down , 3 down, 4 up, 5 down ,6 up then 1 up, 2 down , 3 down, 4 up, 5 down ,6 down
now see n-2 ie. 6 - 2 ie. 4 ppl are sitting. got it?
|
---------------------------------------------------------------
* Gaurav Ragtah ( aka Artemis Fowl )
* Agent 'G' [sniper] - SD-6 (Alliance of Twelve)
* Your friendly neighborhood spideyunlimited |
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) 9 Aug 2007 18:03:08 IST
|
|
|
spideyunlimited, ur ans is wrong... it seems right for smaller values of n. luk, i have applied this logic: first all of them are standing.. the process of reversing their condition starts from the second person.. so. the 1st person is not disterbed at all.. the 2nd person is disturbed once, 3rd - disturbed once.. 4th-disturbed twice ( in 2nd and 4th round..) it is obvious that if number of disturbance is even the person will remain standing and vise versa... now, the number of disturbance caused to a perticular no.= total factors of that no.excluding 1(as process started frm 2nd person). you can check by putting values that every no. which is the square of an integer have even no. of factors(excluding 1) and all other no. have odd no. of factors excluding 1... spideylimited, put n=10 and check... ur logic will fail.. plz rate!!!!
|
Keep working....................Iam comming..
your's only,
Success!! |
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) 9 Aug 2007 18:22:32 IST
|
|
|
Rini is right , that is the answer.
|
I like to be myself. |
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) 9 Aug 2007 23:35:32 IST
|
|
|
got it :)... yes.we have to see which numbers are affected by other numbers so their postion will change a number of times.
|
---------------------------------------------------------------
* Gaurav Ragtah ( aka Artemis Fowl )
* Agent 'G' [sniper] - SD-6 (Alliance of Twelve)
* Your friendly neighborhood spideyunlimited |
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) 13 Aug 2007 10:37:04 IST
|
|
|