Skip to content

MC-Webdevelopment/prime-numbers-solution

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Solution to the prime numbers lab

This is one potential solution to the prime numbers lab. It builds upon the fact that all non-prime numbers (composite numbers) are built from (2,3,5, and 7).

Examples:

  • 9 (not prime) = 3 * 3
  • 10 (not prime) = 5 * 2
  • 11 (prime) = no two numbers can make this number
  • 12 (not prime) = 2 * 2 * 3
  • 13 (prime) = no two numbers can make this number
  • 14 (not prime) = 2 * 7
  • etc..

Test it out! Try different numbers :D

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published