Function to check if any such number exists
function ifNumberExists ( X , Y ) { var C , dsum ; C = X - Y - 1 ; dsum = factorize ( X ) ; if ( dsum >= C ) document . write ( " " ) ; else document . write ( " " ) ; }