How many distinct rectangles of perimeter not more than 258 cm have both length and breadth as positive integers(in cm)???
Ente approach sheri aavunilla... Onnu paranju tharuo???



@Ash27Winz said:How many distinct rectangles of perimeter not more than 258 cm have both length and breadth as positive integers(in cm)???Ente approach sheri aavunilla... Onnu paranju tharuo???
@seetharam7 said:l + bWhen l=1, b=1,2,3......127l=2, b=1,2,3......126.....l=127, b=1So, for l=1, b has 127 values, for l=2 b has 126 values etc. So add 1+2+3...127.127*128/2 = 8128Then eliminate double cases.l+bSo, 8256...Which are the double cases???Options are 4160, 129, 4158 and 65
i am getting 4160 as the answer
@seetharam7 said:@Kevin88 @Ash27Winz I have edited my post. Its "not more than".And there will be double cases as whenl=40 b=60l=60 b=40They are same rectangles. So, we need to eliminate half of them. Ans should be somewhere around 4000.

i did this way.
@Ash27Winz said:Arent l=1, b=2 and l=2 b=1 different rectangles???
@raku1989 said:Proceeding further for L+B = 3 and L+B = 2 we have 2 values.
I am just reading DI questions and answers. Not solving, just looking at the methods. 😃
@raku1989 said:Breadth cannot be more than length. Among two values whichever is more we call it as length and the smaller side as breadth
