Alternate Proof using Modular Arithmetic