If prime number doesn't have a pattern, how it is programmed to check if a number is prime or not or to display the list of prime number under a given number.(adsbygoogle = window.adsbygoogle || []).push({});

Or it just check the divisibility with each number.

Thanks.

**Physics Forums - The Fusion of Science and Community**

# How is prime number programmed

Know someone interested in this topic? Share a link to this question via email,
Google+,
Twitter, or
Facebook

- Similar discussions for: How is prime number programmed

Loading...

**Physics Forums - The Fusion of Science and Community**