From: johndeer@yabbs To: Perspex@yabbs Subject: c Date: Tue Nov 9 22:39:50 1993 just use the modulus command in C that ruturns the remainder when dividing. if you divide the number being tested by all odd numbers up to the square root of that number, and at any point if you get a 0, then it is not prime.. john Deere