Find the number of factors of n
boolean ok = factors ( n , k ) ; if ( ! ok && ! answered ) { answered = true ; System . out . println ( " No " ) ; } if ( ok && ! answered ) System . out . println ( " Yes " ) ; }