long L1 = ((long)Math.pow(123,17)) % 3233; long L2 = ((long)Math.pow(L1,2753)) % 3233; System.out.format("L1 = %d%n", L1); System.out.format("L2 = %d%n", L2);
// implementation of 'long L1 = ((long)Math.pow(123,17)) % 3233;' BigInteger b = new BigInteger("123"); BigInteger e = new BigInteger("17"); BigInteger m = new BigInteger("3233"); BigInteger r; r = b.modPow(e, m);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)