Math, base number 4, Java BigInteger