Upgraded performance by using Arithmetic Series instead of looping through every individual number and checking for modulo 0