Difficulty: Easy
Correct Answer: 127
Explanation:
Introduction:
Arranging soldiers in a square means using the greatest perfect square not exceeding the total. Any leftovers indicate how far the count is from a perfect square.
Given Data / Assumptions:
Concept / Approach:
If 31 are left, then the number used is 16160 − 31 = 16129. If 16129 is a perfect square, its square root gives the front row size.
Step-by-Step Solution:
Used soldiers = 16160 − 31 = 16129Check: 127^2 = 16129Therefore, side of the square (front row) = 127
Verification / Alternative check:
Compute (126)^2 = 15876 and (128)^2 = 16384 to see that 16129 sits exactly at 127^2.
Why Other Options Are Wrong:
125, 126, 128: Their squares are not 16129.
Common Pitfalls:
Forgetting to subtract the leftover before taking the square root; confusing nearest higher vs lower perfect square.
Final Answer:
127
Discussion & Comments