Function that returns true if there are no common prime factors between x and other numbers of the array
function check ( $ x ) { global $ spf , $ MAXN , $ hash1 ; while ( $ x != 1 ) { $ temp = $ spf [ $ x ] ;