Art of Problem Solving: Testing if a Number is Prime