{"id":791,"date":"2021-10-21T14:34:37","date_gmt":"2021-10-21T09:04:37","guid":{"rendered":"https:\/\/gmat.wizako.com\/online-gmat-preparation\/blog\/?p=791"},"modified":"2024-04-27T22:03:48","modified_gmt":"2024-04-27T16:33:48","slug":"what-are-prime-numbers-how-to-find-prime-numbers","status":"publish","type":"post","link":"https:\/\/gmat.wizako.com\/online-gmat-preparation\/blog\/gmatshots\/quantitative-reasoning\/what-are-prime-numbers-how-to-find-prime-numbers\/","title":{"rendered":"What are prime numbers &#038; how to find prime numbers?"},"content":{"rendered":"\n<p>This is a GMAT Shots blog, aimed at providing GMAT aspirants with concise, useful information that&#8217;ll help with their GMAT Preparation. This blog deals with &#8216;What are Prime numbers, and how to determine if a number is prime?&#8217;<\/p>\n\n\n\n<p>Be sure to check out our other posts in the <a href=\"https:\/\/gmat.wizako.com\/online-gmat-preparation\/blog\/gmat-shots\/\" target=\"_blank\" rel=\"noreferrer noopener\">GMAT Shots<\/a> Series.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-css-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"what-are-prime-numbers\">What are prime numbers?<\/h2>\n\n\n\n<p>A Prime number put simply, is a positive integer that can only be divided by 1 and itself. A prime number has no other factors or divisors.<br><br>One important note &#8211; Prime numbers are a subset of natural numbers. So, when determining if a number is prime, we only talk about positive integers.<br><\/p>\n\n\n\n<hr class=\"wp-block-separator has-css-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"how-to-determine-whether-a-given-positive-integer-is-a-prime-number\">How to determine whether a given positive integer is a prime number?<\/h3>\n\n\n\n<p>There&#8217;s a simple 4-step method to determine if a given number &#8216;n&#8217; is prime.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Find the closest perfect square that&#8217;s less than n.<\/strong><\/li>\n\n\n\n<li><strong>Find the square root of the aforementioned perfect square.<\/strong><\/li>\n\n\n\n<li><strong>List all prime numbers up to that square root.<\/strong><\/li>\n\n\n\n<li><strong>Check divisibility of n by listed primes.<\/strong><\/li>\n<\/ol>\n\n\n\n<p>If any one of the listed primes divides our number &#8216;n&#8217;, then you know that &#8216;n&#8217; is not a prime number.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-css-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"determining-a-prime-number-example-1\">Determining a Prime Number Example 1<\/h3>\n\n\n\n<p>Let&#8217;s take an example &#8211; the number 41.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>The closest perfect square to 41 is 36.<\/li>\n\n\n\n<li>The square root of 36 is 6.<\/li>\n\n\n\n<li>The prime numbers up to 6 are 2, 3, and 5.<\/li>\n\n\n\n<li>41 is not divisible by any of 2, 3, or 5.<\/li>\n<\/ol>\n\n\n\n<p>Because 41 is not divisible by any of the prime numbers listed in step 3, we can conclude that 41 is a prime number.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"prime-number-example-2\">Prime Number Example 2<\/h3>\n\n\n\n<p>Let&#8217;s take another example &#8211; the number 39.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>The closest perfect square to 39 is 36.<\/li>\n\n\n\n<li>The square root of 36 is 6.<\/li>\n\n\n\n<li>The prime numbers up to 6 are 2, 3, and 5.<\/li>\n\n\n\n<li>The digits of 39 (3 and 9) add up to 12, and hence, 39 is divisible by 3.<\/li>\n<\/ol>\n\n\n\n<p>Because 39 is divisible by one of the prime numbers listed in step 3, we can conclude that 39 is not a prime number.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<hr class=\"wp-block-separator has-css-opacity\"\/>\n\n\n\n<p>This was originally a <a href=\"https:\/\/youtu.be\/JED6qVSkbWg?list=PL3JsYBL14ZlvUGkrVXiS2brn_vC7ohU1i\" target=\"_blank\" rel=\"noreferrer noopener\">GMAT Shots video<\/a> on our YouTube channel. <br>You can watch it there or through the embedded section below.<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"How to check whether a number is prime? | GMAT Preparation Online | GMAT Maths | GMAT Shots\" width=\"1290\" height=\"726\" src=\"https:\/\/www.youtube.com\/embed\/JED6qVSkbWg?list=PL3JsYBL14ZlvUGkrVXiS2brn_vC7ohU1i\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-css-opacity\"\/>\n\n\n\n<figure class=\"wp-block-pullquote\"><blockquote><p>Want to learn easier ways to tackle GMAT Topics? Wizako can help you with a GMAT Study Plan. Sign up for a Free <a href=\"https:\/\/wzko.in\/demo\" target=\"_blank\" rel=\"noreferrer noopener\">GMAT Live Online Class Demo<\/a>.<\/p><\/blockquote><\/figure>\n\n\n\n<p>Check out our&nbsp;<a href=\"https:\/\/gmat.wizako.com\/gmat-online-course-gmat-online-coaching-classes.shtml\" target=\"_blank\" rel=\"noreferrer noopener\">online courses<\/a>, and sign up for a free trial today!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>What are prime numbers, and how to determine if a number is prime? Simple 4-step method to determine prime numbers.<\/p>\n","protected":false},"author":1,"featured_media":4281,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_gspb_post_css":"","footnotes":""},"categories":[117],"tags":[],"class_list":["post-791","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-quantitative-reasoning"],"blocksy_meta":[],"_links":{"self":[{"href":"https:\/\/gmat.wizako.com\/online-gmat-preparation\/blog\/wp-json\/wp\/v2\/posts\/791","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gmat.wizako.com\/online-gmat-preparation\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gmat.wizako.com\/online-gmat-preparation\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gmat.wizako.com\/online-gmat-preparation\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/gmat.wizako.com\/online-gmat-preparation\/blog\/wp-json\/wp\/v2\/comments?post=791"}],"version-history":[{"count":0,"href":"https:\/\/gmat.wizako.com\/online-gmat-preparation\/blog\/wp-json\/wp\/v2\/posts\/791\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/gmat.wizako.com\/online-gmat-preparation\/blog\/wp-json\/wp\/v2\/media\/4281"}],"wp:attachment":[{"href":"https:\/\/gmat.wizako.com\/online-gmat-preparation\/blog\/wp-json\/wp\/v2\/media?parent=791"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gmat.wizako.com\/online-gmat-preparation\/blog\/wp-json\/wp\/v2\/categories?post=791"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gmat.wizako.com\/online-gmat-preparation\/blog\/wp-json\/wp\/v2\/tags?post=791"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}