Primality by trial division: Difference between revisions