4,279 views
1 1 vote

A rectangle of height 100 squares and width 200 squares is drawn on a graph paper. It is colored square by square from top left the corner and moving across in a spiral turning right whenever a side of the rectangle or a colored square is reached. Which square is colored last? (give its row and column numbers – the bottom right square is on row 100 and column 200)

a) 50,50
b) 51,50
c) 51,150
d) 50,150

1 Answer

0 0 votes
I think answer shold be B(51,50)

you can take first small size for understanding

suppose i took (4,8) rectangle that ends at (3,2).

(1,1) – – – – – – (1,8)

…..so on

so on …..it's end at (3,2).

For(2,4), ends at (2,1)

For(3,6) ends at (2,5)

For(4,8) ends at (3,2)

For(5,10) ,ends at (3,8)

For(6,12) ends at (4,3).

For(7,14) rectangle ends at (4,11)

For (8,16) ...ends at (5,4)

We can get some idea that,

For Even number of rows,  column increases 1 by previous column.

For Odd number of rows,  difference of the present column and the previous even number column we get that particular column.

For  row, the value repeats two times from row 2.

In this problem, (100, 200) i.e.

Even number row,

So  column value must be 50 for 200 columns and  row value must be 51 for 100 rows.

For even number of rows and columns,

Condition: Column =2*Row

(R, C) = {((Row/2) +1), Column/4} (this is generalize formula for this type of question).
Position:
Show:

Related questions

1 1 vote
1 1 answer
3.9k
3.9k views
__ asked Sep 12, 2016
3,940 views
B moves by taking 3 steps forward and 1 step backward (each step in one second ) He walks up a stationary escalator in 118 sec. However on moving escalator he takes 40 se...
1 1 vote
1 1 answer
3.5k
3.5k views
__ asked Sep 15, 2016
3,544 views
There are two bags. One bag contains 4 white and 2 black balls. Second bad contains 5 white and 4 black balls. 2 balls are transferred from first bag to second bag. Then ...
0 0 votes
1 answers 1 answer
3.3k
3.3k views
__ asked Sep 13, 2016
3,339 views
College T has 1000 students. Of the 200 students majoring in one or more of the sciences,130 are majoring in Chemistry and 150 are majoring in Biology. If at least 30 of ...
0 0 votes
2 answers 2 answers
5.2k
5.2k views
__ asked Sep 12, 2016
5,196 views
What is the remainder of (16937^30)/31 ? ( 1 Marks )1234
1 1 vote
1 answers 1 answer
7.1k
7.1k views
__ asked Sep 12, 2016
7,074 views
A dealer buys a product at Rs.1920. he sells at a discount of 20% still he gets the profit of 20%. what is the selling price?534230023042403