Function to check if count of even divisors is even and count of odd divisors is odd
function checkFactors ( N ) { if ( isPerfectSquare ( N ) ) document . write ( " " + " " ) ; else document . write ( " " + " " ) ; }