public boolean METHOD_1 ( int n ) { if ( n == INT_1 ) { return true ; } for ( int i = INT_2 ; i <= ( n / INT_1 ) ; i += INT_1 ) { if ( ( n % i ) == 0 ) { return false ; } } return true ; }

public boolean METHOD_1 ( long n ) { if ( n == 1 ) { return false ; } if ( n == INT_1 ) { return true ; } if ( ( n % INT_1 ) == 0 ) { return false ; } for ( int i = INT_2 ; i <= ( n / INT_1 ) ; i += INT_1 ) { if ( ( n % i ) == 0 ) { return false ; } } return true ; }
