### Question:
Chains { static JacobianPoint mxChain(JacobianPoint p) { JacobianPoint q = p.dbl(); int[] ndoubles = {2, 3, 9, 32, 16}; for (int n : ndoubles) { q = q.add(p); for (int j = 0; j < n; j++) { q = q.dbl(); } } return q; }    }### Answer:
@Test void mxChainTest() { assertEquals( multiply( a, bigFromHex( "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000d201000000010000")), mxChain(a)); }