Research: Integer and modular arithmetic