Identify square numbers (#824)