Let the number of bangles in a side of square = x According to the question, ${{x}^{2}}+38\text{ }=$Total no. of bangles            ...(1) Also, ${{(x+1)}^{2}}-25=$ Total no. of bangles ....(2) From (1) and (2), we have ${{x}^{2}}+38={{(x+1)}^{2}}-25$ $\Rightarrow$            $38+24=2x$ $\Rightarrow$ $x=31$ $\therefore$ Total no. of bangles $={{(31)}^{2}}+38=999$