question: public int nextInt ( int n , double p ) { if ( n * Math . min ( p , 1 - p ) <= 0.0 ) throw new IllegalArgumentException ( ) ; return generateBinomial ( n , p ) ; }
target:  Returns a random number from the distribution with the given parameters n and p; bypasses the internal state.