Checking For Prime

Checking For Prime

prime numbers are surprisingly easy to check for. to check if a number is prime, we divide it by it’s factors. 1 is not prime

we take all numbers from 2 to the num and we start dividing by 2, 3, 4, 5, … but really we need only to go to half the… Continue Reading Checking For Prime