public static boolean isPrimeWeb(BigInteger n) {
		System.out.println("n: "+ n);
		if(n.compareTo(BigInteger.valueOf(2L)) == -1) return false;
		if(n.compareTo(BigInteger.valueOf(2L)) == 0 || n.compareTo(BigInteger.valueOf(3L)) == 0) return true;
		if(n.mod(BigInteger.valueOf(2L)).compareTo(BigInteger.ZERO) == 0 || n.mod(BigInteger.valueOf(3L)).compareTo(BigInteger.ZERO) == 0) return false;
		long sqrtN = (long)Math.sqrt(n.longValue())+1;
		for(long i = 6L; i <= sqrtN; i += 6) {
			if(n.mod(BigInteger.valueOf(i-1L)).longValue() == 0 || n.mod(BigInteger.valueOf(i+1L)).longValue() == 0) return false;
		}
		return true;
	}