Function to find the smallest number which is not coprime with any element of the array arr [ ]
static void findMinimumNumber ( long [ ] arr , long N ) { ArrayList < Long > primes = new ArrayList < Long > ( ) ;