Number of army commander tried to put in the form of square = 8289
Number of soldiers left = 8
So originally the number of soldiers in square = 8289 - 8 = 8281
So to find the number of soldiers in each row , find the square root of 8281
![8281 = 91 * 91](https://img.qammunity.org/2019/formulas/mathematics/high-school/qah6wblwcg643qdesl8mfruisj64vg6de7.png)
![√(8281) = 91](https://img.qammunity.org/2019/formulas/mathematics/high-school/1s6apir19mt7cr115lfoonwzxulp0xwugv.png)
So there are 91 soldiers in each row