an army commander wishing to arrange his soldiers, who were 8289 in number in the form of a square found that there were 8 soldiers left over. how many soldiers were there in each row?​