Sheng Sheng planted some saplings into a solid square as large as possible, and as a result, there were 5 more saplings; later, 11 more saplings were brought in, which happened to be able to make up a larger solid square. How many trees are there on each side of the layer?
盛盛把一些树苗栽种成一个尽量大的实心方阵，结果还多出5棵树苗；后来又运来11棵树苗，恰好能补成一个更大的实心方阵，那么后来的方阵最外层每边有多少棵树？
<gadget id="calculator">5 + 11</gadget>
<output>16</output>

<gadget id="calculator">16 / 4</gadget>
<output>4</output>

<gadget id="calculator">4 + 1</gadget>
<output>5</output>

<result>5</result>