Java tutorial
import java.math.BigInteger; public class Util { public static boolean isEven(BigInteger number) { return number.getLowestSetBit() != 0; } }