Glossary term

What is prime number? Meaning for developers

A whole number greater than 1 whose only divisors are 1 and itself: 2, 3, 5, 7, 11 … 1 is not prime.

Learn it properly · DSALesson 13: Basic Maths for DSADigits, divisors, primes, the sieve, GCD and LCM, and fast powers.

All DSA terms

Related terms

← All glossary terms, A to Z