code: public static int kronecker(BigInteger a, BigInteger p) {
      return INSTANCE.get().kroneckerImpl(a, p);
    }
docs: Calculate kronecker symbol a|p.  Generalization of legendre and jacobi.
  
  @param a an integer
  @param p the modulus
  @return a|p