Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; plgContentJComments has a deprecated constructor in /var/www/astarmathsandphysics/plugins/content/jcomments/jcomments.php on line 25 Call Stack: 0.0001 362024 1. {main}() /var/www/astarmathsandphysics/index.php:0 0.0800 1211216 2. Joomla\CMS\Application\SiteApplication->execute() /var/www/astarmathsandphysics/index.php:49 0.0800 1211216 3. Joomla\CMS\Application\SiteApplication->doExecute() /var/www/astarmathsandphysics/libraries/src/Application/CMSApplication.php:267 0.1455 4104448 4. Joomla\CMS\Application\SiteApplication->dispatch() /var/www/astarmathsandphysics/libraries/src/Application/SiteApplication.php:233 0.1468 4131792 5. Joomla\CMS\Component\ComponentHelper::renderComponent() /var/www/astarmathsandphysics/libraries/src/Application/SiteApplication.php:194 0.1475 4149504 6. Joomla\CMS\Component\ComponentHelper::executeComponent() /var/www/astarmathsandphysics/libraries/src/Component/ComponentHelper.php:356 0.1475 4166512 7. require_once('/var/www/astarmathsandphysics/components/com_content/content.php') /var/www/astarmathsandphysics/libraries/src/Component/ComponentHelper.php:381 0.1482 4174248 8. ContentController->execute() /var/www/astarmathsandphysics/components/com_content/content.php:42 0.1482 4174248 9. ContentController->display() /var/www/astarmathsandphysics/libraries/src/MVC/Controller/BaseController.php:710 0.1967 4409816 10. ContentController->display() /var/www/astarmathsandphysics/components/com_content/controller.php:113 0.1980 4427216 11. Joomla\CMS\Cache\Controller\ViewController->get() /var/www/astarmathsandphysics/libraries/src/MVC/Controller/BaseController.php:663 0.1986 4448144 12. ContentViewArticle->display() /var/www/astarmathsandphysics/libraries/src/Cache/Controller/ViewController.php:102 0.2067 4510536 13. Joomla\CMS\Plugin\PluginHelper::importPlugin() /var/www/astarmathsandphysics/components/com_content/views/article/view.html.php:189 0.2067 4510792 14. Joomla\CMS\Plugin\PluginHelper::import() /var/www/astarmathsandphysics/libraries/src/Plugin/PluginHelper.php:182

Prime Numbers

A number is a prime number if the only numbers which divide it are 1 AND the number itself. This means that every prime number has two numbers that divide it. 1 is not a prime number cos the only number that divides 1 is 1.

The prime numbers less than 100 are

2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97

A number which is not prime is composite. All composite numbers can be written as a product of smaller numbers bigger than 1. For example, 20=4*5 so 20 is composite.

Prime numbers have several important properties.

There is no rule for finding all the prime number. A rule here means a formula or a method. For example, the expressionproduces the first prime number 2 whenbut does not produce the second prime number for any integer value of

There is no rule for finding only prime numbers. For example, ifthen not all values ofwhich are substituted into this expression will produce prime numbers.

Ifthenwhich is prime

Ifthenwhich is prime

Ifthenwhich is prime

Ifthenwhich is not prime since 21=3*7.

There is only one even prime number, 2. Every even number bigger than 2 is a composite number, so can be written as a product of prime numbers.

When checking whether or not a number is prime, we have only to check if the number is divisible by prime numbers up to the biggest whole number less than the square root of that number. If it is not divisible by any of these numbers then it is prime. For example:

Is 31 prime?

The biggest whole number less than the square root of 31 is 5, and the prime numbers less than or equal to 5 are 3 and 5. 31 is not divisible by 3 and 5 so 31 is prime.

There are an infinite number of prime numbers. This was proved by the ancient Greeks, one of the first abstract and rigorous proofs in maths. The proof goes something like:

Suppose there are only two prime numbers 3 and 5. Then every number can be written as a product of 3's and 5's. Consider 3*5+1=16. This is not divisible by 3 and 5, so must capable of being written as a product of prime numbers (not 3's or 5's. In fact 16=2*2*2*2 and 2 is prime). So 3 and 5 are not the only prime numbers and there must be some other. This argument can be extended, proving there are an infinite number of prime numbers.