A lady grows cabbage in her garden that is in the shape of a square. Each cabbage takes 1 square foot of area in her garden. This year, she has increased her output by 127 cabbages when compared to last year. The shape of the area used for growing the cabbage has remained a square in both these years. How many cabbages did she produce this year?  Choose the correct choice from the following choices
A) 4096  B) 4098  C) 5000  D) 5096  E) can not be determined

Rationale: "explanatory answer the shape of the area used for growing cabbage has remained a square in both the years . let the side of the square area used for growing cabbage this year be x ft . therefore , the area of the ground used for cultivation this year = x 2 sq . ft . let the side of the square area used for growing cabbage last year be y ft . therefore , the area of the ground used for cultivation last year = y 2 sq . ft . as the number of cabbage grown has increased by 127 , the area would have increased by 127 sq ft because each cabbage takes 1 sq ft space . hence , x 2 - y 2 = 127 ( x + y ) ( x - y ) = 127 . 127 is a prime number and hence it will have only two factors . i . e . , 127 and 1 . therefore , 127 can be expressed as product of 2 numbers in only way = 127 * 1 i . e . , ( x + y ) ( x - y ) = 127 * 1 so , ( x + y ) should be 127 and ( x - y ) should be 1 . solving the two equations we get x = 64 and y = 63 . therefore , number of cabbage produced this year = x 2 = 642 = 4096 . alternative approach : use answer choices the area in both the years are squares of two numbers . that rules out choice b , c and d . as 4098,5000 and 5096 are not the square of any number . check choice a : if this year ' s produce is 4096 , last year ' s produce would have been 4096 - 127 = 3969 3969 is the square of 63 . so , 4096 is the answer . choice a"
Answer: A