the number of rows and the number of columns remains the same this is the given condition
so the number of plants must be a square number .
1000 is not a perfect square , the nearest perfect square no is 1024 which is a square of 32
so he will need 1024- 1000= 24 more plants