What is a prime number?
6 November 2022 (Updated 6 November 2022)
A prime number is a number that’s divisible only by itself and 1. Examples include: 2, 3, 5, 7, 11
Here’s a TypeScript function that checks if a number is prime.
Tagged:
Mathematics
Thanks for your comment 🙏. Once it's approved, it will appear here.
Leave a comment