A prime number has exactly two factors, 1 and itself: 2, 3, 5, 7, 11 and so on. A composite number has more than two factors, such as 12 = 2 × 2 × 3. The number 1 is neither, because it has only one factor.
- 2 is the only even prime. Every other even number is divisible by 2.
- There are 25 primes up to 100 and 168 up to 1,000.
- Every whole number above 1 is either prime or a product of primes in exactly one way.
Prime questions in SSC and railway papers test two things: whether you can check a number quickly, and whether you recognise numbers that only look prime.