Why are all non-prime numbers divisible by a prime number?












20












$begingroup$


In Euclid's infinite prime numbers proof, the logic is as follows:



Assume a set $S$ of all prime numbers in existence is finite (there are a finite amount of primes)



Then there must be a greatest prime $p$



$$n = (2 cdot 3 cdot 5cdots p) + 1$$



$n > p$, and under the proof's assumption, $n$ cannot be prime.*



This is where the logic confuses me. Why is it that given that the if a number is not prime, then it is automatically divisible by a prime. I can't think of an example to contradict, but that's not proof that there exists no number that is not prime and non divisible by primes.










share|cite|improve this question











$endgroup$








  • 4




    $begingroup$
    Well, $1$ is not. But all other positive integers are.
    $endgroup$
    – André Nicolas
    Aug 28 '14 at 4:15








  • 2




    $begingroup$
    It is not true that Euclid's proof was by contradiction, although many great mathematicians have written that it is. See my answer below.
    $endgroup$
    – Michael Hardy
    Aug 28 '14 at 4:20










  • $begingroup$
    @TylerHG, that isn't true though? All numbers divisible are not prime, but that doesn't mean all nonprime numbers are divisible by 2. For example, 21 isn't prime and it isn't divisible by 2.
    $endgroup$
    – Jake Byman
    Aug 28 '14 at 4:51






  • 3




    $begingroup$
    Euclid's Elements itself makes this fact explicit, see Book VII, proposition 31, "Any composite number is measured by some prime number".
    $endgroup$
    – Jeppe Stig Nielsen
    Aug 28 '14 at 9:58
















20












$begingroup$


In Euclid's infinite prime numbers proof, the logic is as follows:



Assume a set $S$ of all prime numbers in existence is finite (there are a finite amount of primes)



Then there must be a greatest prime $p$



$$n = (2 cdot 3 cdot 5cdots p) + 1$$



$n > p$, and under the proof's assumption, $n$ cannot be prime.*



This is where the logic confuses me. Why is it that given that the if a number is not prime, then it is automatically divisible by a prime. I can't think of an example to contradict, but that's not proof that there exists no number that is not prime and non divisible by primes.










share|cite|improve this question











$endgroup$








  • 4




    $begingroup$
    Well, $1$ is not. But all other positive integers are.
    $endgroup$
    – André Nicolas
    Aug 28 '14 at 4:15








  • 2




    $begingroup$
    It is not true that Euclid's proof was by contradiction, although many great mathematicians have written that it is. See my answer below.
    $endgroup$
    – Michael Hardy
    Aug 28 '14 at 4:20










  • $begingroup$
    @TylerHG, that isn't true though? All numbers divisible are not prime, but that doesn't mean all nonprime numbers are divisible by 2. For example, 21 isn't prime and it isn't divisible by 2.
    $endgroup$
    – Jake Byman
    Aug 28 '14 at 4:51






  • 3




    $begingroup$
    Euclid's Elements itself makes this fact explicit, see Book VII, proposition 31, "Any composite number is measured by some prime number".
    $endgroup$
    – Jeppe Stig Nielsen
    Aug 28 '14 at 9:58














20












20








20


1



$begingroup$


In Euclid's infinite prime numbers proof, the logic is as follows:



Assume a set $S$ of all prime numbers in existence is finite (there are a finite amount of primes)



Then there must be a greatest prime $p$



$$n = (2 cdot 3 cdot 5cdots p) + 1$$



$n > p$, and under the proof's assumption, $n$ cannot be prime.*



This is where the logic confuses me. Why is it that given that the if a number is not prime, then it is automatically divisible by a prime. I can't think of an example to contradict, but that's not proof that there exists no number that is not prime and non divisible by primes.










share|cite|improve this question











$endgroup$




In Euclid's infinite prime numbers proof, the logic is as follows:



Assume a set $S$ of all prime numbers in existence is finite (there are a finite amount of primes)



Then there must be a greatest prime $p$



$$n = (2 cdot 3 cdot 5cdots p) + 1$$



$n > p$, and under the proof's assumption, $n$ cannot be prime.*



This is where the logic confuses me. Why is it that given that the if a number is not prime, then it is automatically divisible by a prime. I can't think of an example to contradict, but that's not proof that there exists no number that is not prime and non divisible by primes.







number-theory prime-numbers divisibility






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Aug 28 '14 at 4:14









Michael Hardy

1




1










asked Aug 28 '14 at 4:12









Jake BymanJake Byman

208127




208127








  • 4




    $begingroup$
    Well, $1$ is not. But all other positive integers are.
    $endgroup$
    – André Nicolas
    Aug 28 '14 at 4:15








  • 2




    $begingroup$
    It is not true that Euclid's proof was by contradiction, although many great mathematicians have written that it is. See my answer below.
    $endgroup$
    – Michael Hardy
    Aug 28 '14 at 4:20










  • $begingroup$
    @TylerHG, that isn't true though? All numbers divisible are not prime, but that doesn't mean all nonprime numbers are divisible by 2. For example, 21 isn't prime and it isn't divisible by 2.
    $endgroup$
    – Jake Byman
    Aug 28 '14 at 4:51






  • 3




    $begingroup$
    Euclid's Elements itself makes this fact explicit, see Book VII, proposition 31, "Any composite number is measured by some prime number".
    $endgroup$
    – Jeppe Stig Nielsen
    Aug 28 '14 at 9:58














  • 4




    $begingroup$
    Well, $1$ is not. But all other positive integers are.
    $endgroup$
    – André Nicolas
    Aug 28 '14 at 4:15








  • 2




    $begingroup$
    It is not true that Euclid's proof was by contradiction, although many great mathematicians have written that it is. See my answer below.
    $endgroup$
    – Michael Hardy
    Aug 28 '14 at 4:20










  • $begingroup$
    @TylerHG, that isn't true though? All numbers divisible are not prime, but that doesn't mean all nonprime numbers are divisible by 2. For example, 21 isn't prime and it isn't divisible by 2.
    $endgroup$
    – Jake Byman
    Aug 28 '14 at 4:51






  • 3




    $begingroup$
    Euclid's Elements itself makes this fact explicit, see Book VII, proposition 31, "Any composite number is measured by some prime number".
    $endgroup$
    – Jeppe Stig Nielsen
    Aug 28 '14 at 9:58








4




4




$begingroup$
Well, $1$ is not. But all other positive integers are.
$endgroup$
– André Nicolas
Aug 28 '14 at 4:15






$begingroup$
Well, $1$ is not. But all other positive integers are.
$endgroup$
– André Nicolas
Aug 28 '14 at 4:15






2




2




$begingroup$
It is not true that Euclid's proof was by contradiction, although many great mathematicians have written that it is. See my answer below.
$endgroup$
– Michael Hardy
Aug 28 '14 at 4:20




$begingroup$
It is not true that Euclid's proof was by contradiction, although many great mathematicians have written that it is. See my answer below.
$endgroup$
– Michael Hardy
Aug 28 '14 at 4:20












$begingroup$
@TylerHG, that isn't true though? All numbers divisible are not prime, but that doesn't mean all nonprime numbers are divisible by 2. For example, 21 isn't prime and it isn't divisible by 2.
$endgroup$
– Jake Byman
Aug 28 '14 at 4:51




$begingroup$
@TylerHG, that isn't true though? All numbers divisible are not prime, but that doesn't mean all nonprime numbers are divisible by 2. For example, 21 isn't prime and it isn't divisible by 2.
$endgroup$
– Jake Byman
Aug 28 '14 at 4:51




3




3




$begingroup$
Euclid's Elements itself makes this fact explicit, see Book VII, proposition 31, "Any composite number is measured by some prime number".
$endgroup$
– Jeppe Stig Nielsen
Aug 28 '14 at 9:58




$begingroup$
Euclid's Elements itself makes this fact explicit, see Book VII, proposition 31, "Any composite number is measured by some prime number".
$endgroup$
– Jeppe Stig Nielsen
Aug 28 '14 at 9:58










5 Answers
5






active

oldest

votes


















24












$begingroup$

One can prove this for all integers greater than $1$ by induction: we know that $2$ is a prime. Now for ou inductive step assume that for all $i<n$, $i$ is either prime or divisible by a prime. Case 1: $n$ is prime; we're done. Case 2: $n$ is composite, so $ab = n$ for $a, b < n$. So each of those is divisible by a prime. We're done.



Essentially the same argument shows that all integers greater than $1$ can be written as a product of primes.






share|cite|improve this answer











$endgroup$













  • $begingroup$
    'Essentially the same argument shows that all integers greater than 1 can be written as a product of primes.' -- except prime numbers I would assume.
    $endgroup$
    – krowe
    Aug 28 '14 at 6:24






  • 15




    $begingroup$
    @krowe A product of only one number is still considered a product in mathematics. :) (Actually, the product of no numbers is usually defined to be $1$, so one could say that $1$ can be written as a product of primes, too.)
    $endgroup$
    – JiK
    Aug 28 '14 at 7:25










  • $begingroup$
    I have heard that said before but I've always assumed that is because, 3*1 ~ 3. I guess this is where my disconnect lies. If I'm understanding you right then you are saying that it's because 3*NULL ~ 3. Also, you are saying that NULLNULL ~ 1. I'm sorry but I reject any math based on what appears to be the concept that NULL ~ 1 when multiplying. The way I see it, 3*NULL ~ NULL and NULLNULL ~ NULL. Fortunately, so does every computer language I've ever used.
    $endgroup$
    – krowe
    Aug 28 '14 at 9:36






  • 7




    $begingroup$
    @krowe: When forming the product of $n$ numbers, only $n-1$ multiplications are involved. Hence in forming the product of one number, no (zero) multiplications are performed; no notion of NULL is involved at all. Calling it a product is only a manner of speaking, or better, is a notion that is defined in terms of multiplication, but without necessarily invoking any multiplication in each concrete case. Actually, the product of $0$ numbers (which would normally involve $-1$ multiplications, obviously absurd) is purely conventionally defined to be the neutral element $1$ for multiplication.
    $endgroup$
    – Marc van Leeuwen
    Aug 28 '14 at 10:16








  • 4




    $begingroup$
    @krowe - What do you mean by "NULL"? Perhaps you would find this Wikipedia article: en.wikipedia.org/wiki/Empty_product useful in helping you to understand why mathematicians find it natural to make the convention that the product of no numbers at all is 1.
    $endgroup$
    – Hammerite
    Aug 28 '14 at 10:22



















8












$begingroup$

Lemma $ $ The least factor $>1,$ of $ n>1,$ is prime.



Proof $ $$,n>1$ has at least one factor $> 1,,$ viz. $,n.,$ Let $,p,$ be its least factor $>1.,$ Then $,p,$ is prime (else $,p,$ has a proper divisor $,1 < d < p,$ and $,dmid pmid n,Rightarrow,dmid n,,$ contra minimality of $,p).$



Remark $ $ More generally it proves prime the least element of any set $,S,$ of integers $> 1$ that is closed under divisors $> 1,,$ i.e. $ $ if $,S,$ contains $,n,$ then $,S,$ contains every divisor $> 1$ of $,n.,$ Above the set $,S,$ is the set of factors $>1$ of $,n.$



We can interpret the proof constructively as follows. Suppose we have an algorithm $,nmapsto f(n),$ that yields a proper factor of every nonprime $,n > 1.,$ Then iterating the algorithm must eventually terminate at a prime factor of $,n,,$ for otherwise it would yield an infinite strictly descending sequence of proper factors (see below), contra $,Bbb N,$ is well-ordered



$$ n > f(n) > f(f(n)) > f(f(f(n))) >, cdots$$






share|cite|improve this answer











$endgroup$





















    4












    $begingroup$

    You are in good company in your error. Some great mathematicians, including Dirichlet, have made the same mistake: falsely reporting that Euclid's proof was by contradiction.



    Euclid's proof says that if you take any finite set of prime numbers (for example, $2$, $11$, and $19$) and multiply them and then add $1$, the resulting number is not divisible by any of the primes in the finite set you started with (thus $(2cdot11cdot19)+1$ is not divisible by $2$, $11$, or $19$ because its remainder on division by any of those numbers is $1$.



    Therefore, the finite set you started with can be extended to a larger finite set: the prime factors of (in this example) $(2cdot11cdot19)+1$.)



    The reason the number $(2cdot11cdot19)+1$ must be divisible by some prime is that if it is not divisible by any prime other than itself, then it is prime and it is of course divisible by itself.



    PS: Some people commenting below are unhappy with my last paragraph above, so I'll add this: Let's do a proof by contradiction on this one: Consider the smallest number $N$ that is not divisible by any prime. It cannot be divisble by anything smaller than itself except $1$, since that not-necessarily-prime factor, being smaller than the smallest counterexample, would be divisible by some prime, and then $N$ would be divisible by that prime. So not being divisible by anything except itself and $1$, $N$ would be prime, and hence divisible by some prime, namely itself.






    share|cite|improve this answer











    $endgroup$









    • 6




      $begingroup$
      This is not an answer to the question (which is not about history).
      $endgroup$
      – Bill Dubuque
      Aug 28 '14 at 4:24






    • 1




      $begingroup$
      ^True, but still very interesting!
      $endgroup$
      – Jake Byman
      Aug 28 '14 at 4:34










    • $begingroup$
      @Jake This is by now very-well-known, having been mentioned here many times, going back to the dawn of the site $4$ years ago e.g. here. It was widely popularized on sci.math long ago.
      $endgroup$
      – Bill Dubuque
      Aug 28 '14 at 4:53












    • $begingroup$
      @BillDubuque : It does answer the question, after the comments about history. But you'll notice that the question itself began with comments about history, and the confusion had to be cleared up.
      $endgroup$
      – Michael Hardy
      Aug 28 '14 at 5:07






    • 3




      $begingroup$
      @MichaelHardy You end your answer with "if it is not divisible by any prime other than itself, then it is prime and it is of course divisible by itself.", which is the starting point of the question.
      $endgroup$
      – JiK
      Aug 28 '14 at 7:27



















    0












    $begingroup$

    Assume your "non-prime number" is not divisible by a prime. Because of the unique factorization theorem, all numbers can be written as a product of primes. This means your "non-prime number" can be written as a product of primes. But it can't be written as a product of primes by definition, so it must be divisible by only itself - making your "non-prime number" a prime number.






    share|cite|improve this answer









    $endgroup$





















      0












      $begingroup$

      The answer by @Don Larynx gives me an idea without further looking at the unique factorization theorem.



      Why a non-prime is always divisible by a prime? When a number P is divisible by n1 then n1 is a factor of P. For example P = n1 x n2 x n3. So P is divisible by either n1, n2, n3 (the quotient is a positive whole number) and these 3 numbers are factors of P. Lets say we want to factor P, we can start with 2 factors, P = n1 x n2. If both n1 and n2 are primes then we have answered the question. If any of the factor is non-prime, then we can continue to break down that non-prime factor until eventually all the factors is a prime (divisible by itself and 1) and the factor is a whole number greater than 1 (cant be 1 or less). For example:



      1.) 200 = 10 x 20

      2.) 200 = (5 x 2) x (5 x 4)

      3.) 200 = (5 x 2) x (5 x (2 x 2))

      200 = 5 x 2 x 5 x 2 x 2



      1.) 200 = 100 x 2

      2.) 200 = (25 x 4) x 2

      3.) 200 = (5 x 5) x (2 x 2)) x 2

      200 = 5 x 5 x 2 x 2 x 2



      So we can say a prime can only be a product of itself and 1. A non-prime can eventually be reduced to a product of 2 or more prime numbers. Therefore a non-prime is always divisible by a prime.






      share|cite|improve this answer











      $endgroup$













        Your Answer





        StackExchange.ifUsing("editor", function () {
        return StackExchange.using("mathjaxEditing", function () {
        StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
        StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
        });
        });
        }, "mathjax-editing");

        StackExchange.ready(function() {
        var channelOptions = {
        tags: "".split(" "),
        id: "69"
        };
        initTagRenderer("".split(" "), "".split(" "), channelOptions);

        StackExchange.using("externalEditor", function() {
        // Have to fire editor after snippets, if snippets enabled
        if (StackExchange.settings.snippets.snippetsEnabled) {
        StackExchange.using("snippets", function() {
        createEditor();
        });
        }
        else {
        createEditor();
        }
        });

        function createEditor() {
        StackExchange.prepareEditor({
        heartbeatType: 'answer',
        autoActivateHeartbeat: false,
        convertImagesToLinks: true,
        noModals: true,
        showLowRepImageUploadWarning: true,
        reputationToPostImages: 10,
        bindNavPrevention: true,
        postfix: "",
        imageUploader: {
        brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
        contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
        allowUrls: true
        },
        noCode: true, onDemand: true,
        discardSelector: ".discard-answer"
        ,immediatelyShowMarkdownHelp:true
        });


        }
        });














        draft saved

        draft discarded


















        StackExchange.ready(
        function () {
        StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f911655%2fwhy-are-all-non-prime-numbers-divisible-by-a-prime-number%23new-answer', 'question_page');
        }
        );

        Post as a guest















        Required, but never shown

























        5 Answers
        5






        active

        oldest

        votes








        5 Answers
        5






        active

        oldest

        votes









        active

        oldest

        votes






        active

        oldest

        votes









        24












        $begingroup$

        One can prove this for all integers greater than $1$ by induction: we know that $2$ is a prime. Now for ou inductive step assume that for all $i<n$, $i$ is either prime or divisible by a prime. Case 1: $n$ is prime; we're done. Case 2: $n$ is composite, so $ab = n$ for $a, b < n$. So each of those is divisible by a prime. We're done.



        Essentially the same argument shows that all integers greater than $1$ can be written as a product of primes.






        share|cite|improve this answer











        $endgroup$













        • $begingroup$
          'Essentially the same argument shows that all integers greater than 1 can be written as a product of primes.' -- except prime numbers I would assume.
          $endgroup$
          – krowe
          Aug 28 '14 at 6:24






        • 15




          $begingroup$
          @krowe A product of only one number is still considered a product in mathematics. :) (Actually, the product of no numbers is usually defined to be $1$, so one could say that $1$ can be written as a product of primes, too.)
          $endgroup$
          – JiK
          Aug 28 '14 at 7:25










        • $begingroup$
          I have heard that said before but I've always assumed that is because, 3*1 ~ 3. I guess this is where my disconnect lies. If I'm understanding you right then you are saying that it's because 3*NULL ~ 3. Also, you are saying that NULLNULL ~ 1. I'm sorry but I reject any math based on what appears to be the concept that NULL ~ 1 when multiplying. The way I see it, 3*NULL ~ NULL and NULLNULL ~ NULL. Fortunately, so does every computer language I've ever used.
          $endgroup$
          – krowe
          Aug 28 '14 at 9:36






        • 7




          $begingroup$
          @krowe: When forming the product of $n$ numbers, only $n-1$ multiplications are involved. Hence in forming the product of one number, no (zero) multiplications are performed; no notion of NULL is involved at all. Calling it a product is only a manner of speaking, or better, is a notion that is defined in terms of multiplication, but without necessarily invoking any multiplication in each concrete case. Actually, the product of $0$ numbers (which would normally involve $-1$ multiplications, obviously absurd) is purely conventionally defined to be the neutral element $1$ for multiplication.
          $endgroup$
          – Marc van Leeuwen
          Aug 28 '14 at 10:16








        • 4




          $begingroup$
          @krowe - What do you mean by "NULL"? Perhaps you would find this Wikipedia article: en.wikipedia.org/wiki/Empty_product useful in helping you to understand why mathematicians find it natural to make the convention that the product of no numbers at all is 1.
          $endgroup$
          – Hammerite
          Aug 28 '14 at 10:22
















        24












        $begingroup$

        One can prove this for all integers greater than $1$ by induction: we know that $2$ is a prime. Now for ou inductive step assume that for all $i<n$, $i$ is either prime or divisible by a prime. Case 1: $n$ is prime; we're done. Case 2: $n$ is composite, so $ab = n$ for $a, b < n$. So each of those is divisible by a prime. We're done.



        Essentially the same argument shows that all integers greater than $1$ can be written as a product of primes.






        share|cite|improve this answer











        $endgroup$













        • $begingroup$
          'Essentially the same argument shows that all integers greater than 1 can be written as a product of primes.' -- except prime numbers I would assume.
          $endgroup$
          – krowe
          Aug 28 '14 at 6:24






        • 15




          $begingroup$
          @krowe A product of only one number is still considered a product in mathematics. :) (Actually, the product of no numbers is usually defined to be $1$, so one could say that $1$ can be written as a product of primes, too.)
          $endgroup$
          – JiK
          Aug 28 '14 at 7:25










        • $begingroup$
          I have heard that said before but I've always assumed that is because, 3*1 ~ 3. I guess this is where my disconnect lies. If I'm understanding you right then you are saying that it's because 3*NULL ~ 3. Also, you are saying that NULLNULL ~ 1. I'm sorry but I reject any math based on what appears to be the concept that NULL ~ 1 when multiplying. The way I see it, 3*NULL ~ NULL and NULLNULL ~ NULL. Fortunately, so does every computer language I've ever used.
          $endgroup$
          – krowe
          Aug 28 '14 at 9:36






        • 7




          $begingroup$
          @krowe: When forming the product of $n$ numbers, only $n-1$ multiplications are involved. Hence in forming the product of one number, no (zero) multiplications are performed; no notion of NULL is involved at all. Calling it a product is only a manner of speaking, or better, is a notion that is defined in terms of multiplication, but without necessarily invoking any multiplication in each concrete case. Actually, the product of $0$ numbers (which would normally involve $-1$ multiplications, obviously absurd) is purely conventionally defined to be the neutral element $1$ for multiplication.
          $endgroup$
          – Marc van Leeuwen
          Aug 28 '14 at 10:16








        • 4




          $begingroup$
          @krowe - What do you mean by "NULL"? Perhaps you would find this Wikipedia article: en.wikipedia.org/wiki/Empty_product useful in helping you to understand why mathematicians find it natural to make the convention that the product of no numbers at all is 1.
          $endgroup$
          – Hammerite
          Aug 28 '14 at 10:22














        24












        24








        24





        $begingroup$

        One can prove this for all integers greater than $1$ by induction: we know that $2$ is a prime. Now for ou inductive step assume that for all $i<n$, $i$ is either prime or divisible by a prime. Case 1: $n$ is prime; we're done. Case 2: $n$ is composite, so $ab = n$ for $a, b < n$. So each of those is divisible by a prime. We're done.



        Essentially the same argument shows that all integers greater than $1$ can be written as a product of primes.






        share|cite|improve this answer











        $endgroup$



        One can prove this for all integers greater than $1$ by induction: we know that $2$ is a prime. Now for ou inductive step assume that for all $i<n$, $i$ is either prime or divisible by a prime. Case 1: $n$ is prime; we're done. Case 2: $n$ is composite, so $ab = n$ for $a, b < n$. So each of those is divisible by a prime. We're done.



        Essentially the same argument shows that all integers greater than $1$ can be written as a product of primes.







        share|cite|improve this answer














        share|cite|improve this answer



        share|cite|improve this answer








        edited Aug 28 '14 at 14:35

























        answered Aug 28 '14 at 4:18









        Mike MillerMike Miller

        36.6k470137




        36.6k470137












        • $begingroup$
          'Essentially the same argument shows that all integers greater than 1 can be written as a product of primes.' -- except prime numbers I would assume.
          $endgroup$
          – krowe
          Aug 28 '14 at 6:24






        • 15




          $begingroup$
          @krowe A product of only one number is still considered a product in mathematics. :) (Actually, the product of no numbers is usually defined to be $1$, so one could say that $1$ can be written as a product of primes, too.)
          $endgroup$
          – JiK
          Aug 28 '14 at 7:25










        • $begingroup$
          I have heard that said before but I've always assumed that is because, 3*1 ~ 3. I guess this is where my disconnect lies. If I'm understanding you right then you are saying that it's because 3*NULL ~ 3. Also, you are saying that NULLNULL ~ 1. I'm sorry but I reject any math based on what appears to be the concept that NULL ~ 1 when multiplying. The way I see it, 3*NULL ~ NULL and NULLNULL ~ NULL. Fortunately, so does every computer language I've ever used.
          $endgroup$
          – krowe
          Aug 28 '14 at 9:36






        • 7




          $begingroup$
          @krowe: When forming the product of $n$ numbers, only $n-1$ multiplications are involved. Hence in forming the product of one number, no (zero) multiplications are performed; no notion of NULL is involved at all. Calling it a product is only a manner of speaking, or better, is a notion that is defined in terms of multiplication, but without necessarily invoking any multiplication in each concrete case. Actually, the product of $0$ numbers (which would normally involve $-1$ multiplications, obviously absurd) is purely conventionally defined to be the neutral element $1$ for multiplication.
          $endgroup$
          – Marc van Leeuwen
          Aug 28 '14 at 10:16








        • 4




          $begingroup$
          @krowe - What do you mean by "NULL"? Perhaps you would find this Wikipedia article: en.wikipedia.org/wiki/Empty_product useful in helping you to understand why mathematicians find it natural to make the convention that the product of no numbers at all is 1.
          $endgroup$
          – Hammerite
          Aug 28 '14 at 10:22


















        • $begingroup$
          'Essentially the same argument shows that all integers greater than 1 can be written as a product of primes.' -- except prime numbers I would assume.
          $endgroup$
          – krowe
          Aug 28 '14 at 6:24






        • 15




          $begingroup$
          @krowe A product of only one number is still considered a product in mathematics. :) (Actually, the product of no numbers is usually defined to be $1$, so one could say that $1$ can be written as a product of primes, too.)
          $endgroup$
          – JiK
          Aug 28 '14 at 7:25










        • $begingroup$
          I have heard that said before but I've always assumed that is because, 3*1 ~ 3. I guess this is where my disconnect lies. If I'm understanding you right then you are saying that it's because 3*NULL ~ 3. Also, you are saying that NULLNULL ~ 1. I'm sorry but I reject any math based on what appears to be the concept that NULL ~ 1 when multiplying. The way I see it, 3*NULL ~ NULL and NULLNULL ~ NULL. Fortunately, so does every computer language I've ever used.
          $endgroup$
          – krowe
          Aug 28 '14 at 9:36






        • 7




          $begingroup$
          @krowe: When forming the product of $n$ numbers, only $n-1$ multiplications are involved. Hence in forming the product of one number, no (zero) multiplications are performed; no notion of NULL is involved at all. Calling it a product is only a manner of speaking, or better, is a notion that is defined in terms of multiplication, but without necessarily invoking any multiplication in each concrete case. Actually, the product of $0$ numbers (which would normally involve $-1$ multiplications, obviously absurd) is purely conventionally defined to be the neutral element $1$ for multiplication.
          $endgroup$
          – Marc van Leeuwen
          Aug 28 '14 at 10:16








        • 4




          $begingroup$
          @krowe - What do you mean by "NULL"? Perhaps you would find this Wikipedia article: en.wikipedia.org/wiki/Empty_product useful in helping you to understand why mathematicians find it natural to make the convention that the product of no numbers at all is 1.
          $endgroup$
          – Hammerite
          Aug 28 '14 at 10:22
















        $begingroup$
        'Essentially the same argument shows that all integers greater than 1 can be written as a product of primes.' -- except prime numbers I would assume.
        $endgroup$
        – krowe
        Aug 28 '14 at 6:24




        $begingroup$
        'Essentially the same argument shows that all integers greater than 1 can be written as a product of primes.' -- except prime numbers I would assume.
        $endgroup$
        – krowe
        Aug 28 '14 at 6:24




        15




        15




        $begingroup$
        @krowe A product of only one number is still considered a product in mathematics. :) (Actually, the product of no numbers is usually defined to be $1$, so one could say that $1$ can be written as a product of primes, too.)
        $endgroup$
        – JiK
        Aug 28 '14 at 7:25




        $begingroup$
        @krowe A product of only one number is still considered a product in mathematics. :) (Actually, the product of no numbers is usually defined to be $1$, so one could say that $1$ can be written as a product of primes, too.)
        $endgroup$
        – JiK
        Aug 28 '14 at 7:25












        $begingroup$
        I have heard that said before but I've always assumed that is because, 3*1 ~ 3. I guess this is where my disconnect lies. If I'm understanding you right then you are saying that it's because 3*NULL ~ 3. Also, you are saying that NULLNULL ~ 1. I'm sorry but I reject any math based on what appears to be the concept that NULL ~ 1 when multiplying. The way I see it, 3*NULL ~ NULL and NULLNULL ~ NULL. Fortunately, so does every computer language I've ever used.
        $endgroup$
        – krowe
        Aug 28 '14 at 9:36




        $begingroup$
        I have heard that said before but I've always assumed that is because, 3*1 ~ 3. I guess this is where my disconnect lies. If I'm understanding you right then you are saying that it's because 3*NULL ~ 3. Also, you are saying that NULLNULL ~ 1. I'm sorry but I reject any math based on what appears to be the concept that NULL ~ 1 when multiplying. The way I see it, 3*NULL ~ NULL and NULLNULL ~ NULL. Fortunately, so does every computer language I've ever used.
        $endgroup$
        – krowe
        Aug 28 '14 at 9:36




        7




        7




        $begingroup$
        @krowe: When forming the product of $n$ numbers, only $n-1$ multiplications are involved. Hence in forming the product of one number, no (zero) multiplications are performed; no notion of NULL is involved at all. Calling it a product is only a manner of speaking, or better, is a notion that is defined in terms of multiplication, but without necessarily invoking any multiplication in each concrete case. Actually, the product of $0$ numbers (which would normally involve $-1$ multiplications, obviously absurd) is purely conventionally defined to be the neutral element $1$ for multiplication.
        $endgroup$
        – Marc van Leeuwen
        Aug 28 '14 at 10:16






        $begingroup$
        @krowe: When forming the product of $n$ numbers, only $n-1$ multiplications are involved. Hence in forming the product of one number, no (zero) multiplications are performed; no notion of NULL is involved at all. Calling it a product is only a manner of speaking, or better, is a notion that is defined in terms of multiplication, but without necessarily invoking any multiplication in each concrete case. Actually, the product of $0$ numbers (which would normally involve $-1$ multiplications, obviously absurd) is purely conventionally defined to be the neutral element $1$ for multiplication.
        $endgroup$
        – Marc van Leeuwen
        Aug 28 '14 at 10:16






        4




        4




        $begingroup$
        @krowe - What do you mean by "NULL"? Perhaps you would find this Wikipedia article: en.wikipedia.org/wiki/Empty_product useful in helping you to understand why mathematicians find it natural to make the convention that the product of no numbers at all is 1.
        $endgroup$
        – Hammerite
        Aug 28 '14 at 10:22




        $begingroup$
        @krowe - What do you mean by "NULL"? Perhaps you would find this Wikipedia article: en.wikipedia.org/wiki/Empty_product useful in helping you to understand why mathematicians find it natural to make the convention that the product of no numbers at all is 1.
        $endgroup$
        – Hammerite
        Aug 28 '14 at 10:22











        8












        $begingroup$

        Lemma $ $ The least factor $>1,$ of $ n>1,$ is prime.



        Proof $ $$,n>1$ has at least one factor $> 1,,$ viz. $,n.,$ Let $,p,$ be its least factor $>1.,$ Then $,p,$ is prime (else $,p,$ has a proper divisor $,1 < d < p,$ and $,dmid pmid n,Rightarrow,dmid n,,$ contra minimality of $,p).$



        Remark $ $ More generally it proves prime the least element of any set $,S,$ of integers $> 1$ that is closed under divisors $> 1,,$ i.e. $ $ if $,S,$ contains $,n,$ then $,S,$ contains every divisor $> 1$ of $,n.,$ Above the set $,S,$ is the set of factors $>1$ of $,n.$



        We can interpret the proof constructively as follows. Suppose we have an algorithm $,nmapsto f(n),$ that yields a proper factor of every nonprime $,n > 1.,$ Then iterating the algorithm must eventually terminate at a prime factor of $,n,,$ for otherwise it would yield an infinite strictly descending sequence of proper factors (see below), contra $,Bbb N,$ is well-ordered



        $$ n > f(n) > f(f(n)) > f(f(f(n))) >, cdots$$






        share|cite|improve this answer











        $endgroup$


















          8












          $begingroup$

          Lemma $ $ The least factor $>1,$ of $ n>1,$ is prime.



          Proof $ $$,n>1$ has at least one factor $> 1,,$ viz. $,n.,$ Let $,p,$ be its least factor $>1.,$ Then $,p,$ is prime (else $,p,$ has a proper divisor $,1 < d < p,$ and $,dmid pmid n,Rightarrow,dmid n,,$ contra minimality of $,p).$



          Remark $ $ More generally it proves prime the least element of any set $,S,$ of integers $> 1$ that is closed under divisors $> 1,,$ i.e. $ $ if $,S,$ contains $,n,$ then $,S,$ contains every divisor $> 1$ of $,n.,$ Above the set $,S,$ is the set of factors $>1$ of $,n.$



          We can interpret the proof constructively as follows. Suppose we have an algorithm $,nmapsto f(n),$ that yields a proper factor of every nonprime $,n > 1.,$ Then iterating the algorithm must eventually terminate at a prime factor of $,n,,$ for otherwise it would yield an infinite strictly descending sequence of proper factors (see below), contra $,Bbb N,$ is well-ordered



          $$ n > f(n) > f(f(n)) > f(f(f(n))) >, cdots$$






          share|cite|improve this answer











          $endgroup$
















            8












            8








            8





            $begingroup$

            Lemma $ $ The least factor $>1,$ of $ n>1,$ is prime.



            Proof $ $$,n>1$ has at least one factor $> 1,,$ viz. $,n.,$ Let $,p,$ be its least factor $>1.,$ Then $,p,$ is prime (else $,p,$ has a proper divisor $,1 < d < p,$ and $,dmid pmid n,Rightarrow,dmid n,,$ contra minimality of $,p).$



            Remark $ $ More generally it proves prime the least element of any set $,S,$ of integers $> 1$ that is closed under divisors $> 1,,$ i.e. $ $ if $,S,$ contains $,n,$ then $,S,$ contains every divisor $> 1$ of $,n.,$ Above the set $,S,$ is the set of factors $>1$ of $,n.$



            We can interpret the proof constructively as follows. Suppose we have an algorithm $,nmapsto f(n),$ that yields a proper factor of every nonprime $,n > 1.,$ Then iterating the algorithm must eventually terminate at a prime factor of $,n,,$ for otherwise it would yield an infinite strictly descending sequence of proper factors (see below), contra $,Bbb N,$ is well-ordered



            $$ n > f(n) > f(f(n)) > f(f(f(n))) >, cdots$$






            share|cite|improve this answer











            $endgroup$



            Lemma $ $ The least factor $>1,$ of $ n>1,$ is prime.



            Proof $ $$,n>1$ has at least one factor $> 1,,$ viz. $,n.,$ Let $,p,$ be its least factor $>1.,$ Then $,p,$ is prime (else $,p,$ has a proper divisor $,1 < d < p,$ and $,dmid pmid n,Rightarrow,dmid n,,$ contra minimality of $,p).$



            Remark $ $ More generally it proves prime the least element of any set $,S,$ of integers $> 1$ that is closed under divisors $> 1,,$ i.e. $ $ if $,S,$ contains $,n,$ then $,S,$ contains every divisor $> 1$ of $,n.,$ Above the set $,S,$ is the set of factors $>1$ of $,n.$



            We can interpret the proof constructively as follows. Suppose we have an algorithm $,nmapsto f(n),$ that yields a proper factor of every nonprime $,n > 1.,$ Then iterating the algorithm must eventually terminate at a prime factor of $,n,,$ for otherwise it would yield an infinite strictly descending sequence of proper factors (see below), contra $,Bbb N,$ is well-ordered



            $$ n > f(n) > f(f(n)) > f(f(f(n))) >, cdots$$







            share|cite|improve this answer














            share|cite|improve this answer



            share|cite|improve this answer








            edited Aug 28 '14 at 15:24

























            answered Aug 28 '14 at 4:45









            Bill DubuqueBill Dubuque

            209k29191633




            209k29191633























                4












                $begingroup$

                You are in good company in your error. Some great mathematicians, including Dirichlet, have made the same mistake: falsely reporting that Euclid's proof was by contradiction.



                Euclid's proof says that if you take any finite set of prime numbers (for example, $2$, $11$, and $19$) and multiply them and then add $1$, the resulting number is not divisible by any of the primes in the finite set you started with (thus $(2cdot11cdot19)+1$ is not divisible by $2$, $11$, or $19$ because its remainder on division by any of those numbers is $1$.



                Therefore, the finite set you started with can be extended to a larger finite set: the prime factors of (in this example) $(2cdot11cdot19)+1$.)



                The reason the number $(2cdot11cdot19)+1$ must be divisible by some prime is that if it is not divisible by any prime other than itself, then it is prime and it is of course divisible by itself.



                PS: Some people commenting below are unhappy with my last paragraph above, so I'll add this: Let's do a proof by contradiction on this one: Consider the smallest number $N$ that is not divisible by any prime. It cannot be divisble by anything smaller than itself except $1$, since that not-necessarily-prime factor, being smaller than the smallest counterexample, would be divisible by some prime, and then $N$ would be divisible by that prime. So not being divisible by anything except itself and $1$, $N$ would be prime, and hence divisible by some prime, namely itself.






                share|cite|improve this answer











                $endgroup$









                • 6




                  $begingroup$
                  This is not an answer to the question (which is not about history).
                  $endgroup$
                  – Bill Dubuque
                  Aug 28 '14 at 4:24






                • 1




                  $begingroup$
                  ^True, but still very interesting!
                  $endgroup$
                  – Jake Byman
                  Aug 28 '14 at 4:34










                • $begingroup$
                  @Jake This is by now very-well-known, having been mentioned here many times, going back to the dawn of the site $4$ years ago e.g. here. It was widely popularized on sci.math long ago.
                  $endgroup$
                  – Bill Dubuque
                  Aug 28 '14 at 4:53












                • $begingroup$
                  @BillDubuque : It does answer the question, after the comments about history. But you'll notice that the question itself began with comments about history, and the confusion had to be cleared up.
                  $endgroup$
                  – Michael Hardy
                  Aug 28 '14 at 5:07






                • 3




                  $begingroup$
                  @MichaelHardy You end your answer with "if it is not divisible by any prime other than itself, then it is prime and it is of course divisible by itself.", which is the starting point of the question.
                  $endgroup$
                  – JiK
                  Aug 28 '14 at 7:27
















                4












                $begingroup$

                You are in good company in your error. Some great mathematicians, including Dirichlet, have made the same mistake: falsely reporting that Euclid's proof was by contradiction.



                Euclid's proof says that if you take any finite set of prime numbers (for example, $2$, $11$, and $19$) and multiply them and then add $1$, the resulting number is not divisible by any of the primes in the finite set you started with (thus $(2cdot11cdot19)+1$ is not divisible by $2$, $11$, or $19$ because its remainder on division by any of those numbers is $1$.



                Therefore, the finite set you started with can be extended to a larger finite set: the prime factors of (in this example) $(2cdot11cdot19)+1$.)



                The reason the number $(2cdot11cdot19)+1$ must be divisible by some prime is that if it is not divisible by any prime other than itself, then it is prime and it is of course divisible by itself.



                PS: Some people commenting below are unhappy with my last paragraph above, so I'll add this: Let's do a proof by contradiction on this one: Consider the smallest number $N$ that is not divisible by any prime. It cannot be divisble by anything smaller than itself except $1$, since that not-necessarily-prime factor, being smaller than the smallest counterexample, would be divisible by some prime, and then $N$ would be divisible by that prime. So not being divisible by anything except itself and $1$, $N$ would be prime, and hence divisible by some prime, namely itself.






                share|cite|improve this answer











                $endgroup$









                • 6




                  $begingroup$
                  This is not an answer to the question (which is not about history).
                  $endgroup$
                  – Bill Dubuque
                  Aug 28 '14 at 4:24






                • 1




                  $begingroup$
                  ^True, but still very interesting!
                  $endgroup$
                  – Jake Byman
                  Aug 28 '14 at 4:34










                • $begingroup$
                  @Jake This is by now very-well-known, having been mentioned here many times, going back to the dawn of the site $4$ years ago e.g. here. It was widely popularized on sci.math long ago.
                  $endgroup$
                  – Bill Dubuque
                  Aug 28 '14 at 4:53












                • $begingroup$
                  @BillDubuque : It does answer the question, after the comments about history. But you'll notice that the question itself began with comments about history, and the confusion had to be cleared up.
                  $endgroup$
                  – Michael Hardy
                  Aug 28 '14 at 5:07






                • 3




                  $begingroup$
                  @MichaelHardy You end your answer with "if it is not divisible by any prime other than itself, then it is prime and it is of course divisible by itself.", which is the starting point of the question.
                  $endgroup$
                  – JiK
                  Aug 28 '14 at 7:27














                4












                4








                4





                $begingroup$

                You are in good company in your error. Some great mathematicians, including Dirichlet, have made the same mistake: falsely reporting that Euclid's proof was by contradiction.



                Euclid's proof says that if you take any finite set of prime numbers (for example, $2$, $11$, and $19$) and multiply them and then add $1$, the resulting number is not divisible by any of the primes in the finite set you started with (thus $(2cdot11cdot19)+1$ is not divisible by $2$, $11$, or $19$ because its remainder on division by any of those numbers is $1$.



                Therefore, the finite set you started with can be extended to a larger finite set: the prime factors of (in this example) $(2cdot11cdot19)+1$.)



                The reason the number $(2cdot11cdot19)+1$ must be divisible by some prime is that if it is not divisible by any prime other than itself, then it is prime and it is of course divisible by itself.



                PS: Some people commenting below are unhappy with my last paragraph above, so I'll add this: Let's do a proof by contradiction on this one: Consider the smallest number $N$ that is not divisible by any prime. It cannot be divisble by anything smaller than itself except $1$, since that not-necessarily-prime factor, being smaller than the smallest counterexample, would be divisible by some prime, and then $N$ would be divisible by that prime. So not being divisible by anything except itself and $1$, $N$ would be prime, and hence divisible by some prime, namely itself.






                share|cite|improve this answer











                $endgroup$



                You are in good company in your error. Some great mathematicians, including Dirichlet, have made the same mistake: falsely reporting that Euclid's proof was by contradiction.



                Euclid's proof says that if you take any finite set of prime numbers (for example, $2$, $11$, and $19$) and multiply them and then add $1$, the resulting number is not divisible by any of the primes in the finite set you started with (thus $(2cdot11cdot19)+1$ is not divisible by $2$, $11$, or $19$ because its remainder on division by any of those numbers is $1$.



                Therefore, the finite set you started with can be extended to a larger finite set: the prime factors of (in this example) $(2cdot11cdot19)+1$.)



                The reason the number $(2cdot11cdot19)+1$ must be divisible by some prime is that if it is not divisible by any prime other than itself, then it is prime and it is of course divisible by itself.



                PS: Some people commenting below are unhappy with my last paragraph above, so I'll add this: Let's do a proof by contradiction on this one: Consider the smallest number $N$ that is not divisible by any prime. It cannot be divisble by anything smaller than itself except $1$, since that not-necessarily-prime factor, being smaller than the smallest counterexample, would be divisible by some prime, and then $N$ would be divisible by that prime. So not being divisible by anything except itself and $1$, $N$ would be prime, and hence divisible by some prime, namely itself.







                share|cite|improve this answer














                share|cite|improve this answer



                share|cite|improve this answer








                edited Aug 28 '14 at 17:00

























                answered Aug 28 '14 at 4:20









                Michael HardyMichael Hardy

                1




                1








                • 6




                  $begingroup$
                  This is not an answer to the question (which is not about history).
                  $endgroup$
                  – Bill Dubuque
                  Aug 28 '14 at 4:24






                • 1




                  $begingroup$
                  ^True, but still very interesting!
                  $endgroup$
                  – Jake Byman
                  Aug 28 '14 at 4:34










                • $begingroup$
                  @Jake This is by now very-well-known, having been mentioned here many times, going back to the dawn of the site $4$ years ago e.g. here. It was widely popularized on sci.math long ago.
                  $endgroup$
                  – Bill Dubuque
                  Aug 28 '14 at 4:53












                • $begingroup$
                  @BillDubuque : It does answer the question, after the comments about history. But you'll notice that the question itself began with comments about history, and the confusion had to be cleared up.
                  $endgroup$
                  – Michael Hardy
                  Aug 28 '14 at 5:07






                • 3




                  $begingroup$
                  @MichaelHardy You end your answer with "if it is not divisible by any prime other than itself, then it is prime and it is of course divisible by itself.", which is the starting point of the question.
                  $endgroup$
                  – JiK
                  Aug 28 '14 at 7:27














                • 6




                  $begingroup$
                  This is not an answer to the question (which is not about history).
                  $endgroup$
                  – Bill Dubuque
                  Aug 28 '14 at 4:24






                • 1




                  $begingroup$
                  ^True, but still very interesting!
                  $endgroup$
                  – Jake Byman
                  Aug 28 '14 at 4:34










                • $begingroup$
                  @Jake This is by now very-well-known, having been mentioned here many times, going back to the dawn of the site $4$ years ago e.g. here. It was widely popularized on sci.math long ago.
                  $endgroup$
                  – Bill Dubuque
                  Aug 28 '14 at 4:53












                • $begingroup$
                  @BillDubuque : It does answer the question, after the comments about history. But you'll notice that the question itself began with comments about history, and the confusion had to be cleared up.
                  $endgroup$
                  – Michael Hardy
                  Aug 28 '14 at 5:07






                • 3




                  $begingroup$
                  @MichaelHardy You end your answer with "if it is not divisible by any prime other than itself, then it is prime and it is of course divisible by itself.", which is the starting point of the question.
                  $endgroup$
                  – JiK
                  Aug 28 '14 at 7:27








                6




                6




                $begingroup$
                This is not an answer to the question (which is not about history).
                $endgroup$
                – Bill Dubuque
                Aug 28 '14 at 4:24




                $begingroup$
                This is not an answer to the question (which is not about history).
                $endgroup$
                – Bill Dubuque
                Aug 28 '14 at 4:24




                1




                1




                $begingroup$
                ^True, but still very interesting!
                $endgroup$
                – Jake Byman
                Aug 28 '14 at 4:34




                $begingroup$
                ^True, but still very interesting!
                $endgroup$
                – Jake Byman
                Aug 28 '14 at 4:34












                $begingroup$
                @Jake This is by now very-well-known, having been mentioned here many times, going back to the dawn of the site $4$ years ago e.g. here. It was widely popularized on sci.math long ago.
                $endgroup$
                – Bill Dubuque
                Aug 28 '14 at 4:53






                $begingroup$
                @Jake This is by now very-well-known, having been mentioned here many times, going back to the dawn of the site $4$ years ago e.g. here. It was widely popularized on sci.math long ago.
                $endgroup$
                – Bill Dubuque
                Aug 28 '14 at 4:53














                $begingroup$
                @BillDubuque : It does answer the question, after the comments about history. But you'll notice that the question itself began with comments about history, and the confusion had to be cleared up.
                $endgroup$
                – Michael Hardy
                Aug 28 '14 at 5:07




                $begingroup$
                @BillDubuque : It does answer the question, after the comments about history. But you'll notice that the question itself began with comments about history, and the confusion had to be cleared up.
                $endgroup$
                – Michael Hardy
                Aug 28 '14 at 5:07




                3




                3




                $begingroup$
                @MichaelHardy You end your answer with "if it is not divisible by any prime other than itself, then it is prime and it is of course divisible by itself.", which is the starting point of the question.
                $endgroup$
                – JiK
                Aug 28 '14 at 7:27




                $begingroup$
                @MichaelHardy You end your answer with "if it is not divisible by any prime other than itself, then it is prime and it is of course divisible by itself.", which is the starting point of the question.
                $endgroup$
                – JiK
                Aug 28 '14 at 7:27











                0












                $begingroup$

                Assume your "non-prime number" is not divisible by a prime. Because of the unique factorization theorem, all numbers can be written as a product of primes. This means your "non-prime number" can be written as a product of primes. But it can't be written as a product of primes by definition, so it must be divisible by only itself - making your "non-prime number" a prime number.






                share|cite|improve this answer









                $endgroup$


















                  0












                  $begingroup$

                  Assume your "non-prime number" is not divisible by a prime. Because of the unique factorization theorem, all numbers can be written as a product of primes. This means your "non-prime number" can be written as a product of primes. But it can't be written as a product of primes by definition, so it must be divisible by only itself - making your "non-prime number" a prime number.






                  share|cite|improve this answer









                  $endgroup$
















                    0












                    0








                    0





                    $begingroup$

                    Assume your "non-prime number" is not divisible by a prime. Because of the unique factorization theorem, all numbers can be written as a product of primes. This means your "non-prime number" can be written as a product of primes. But it can't be written as a product of primes by definition, so it must be divisible by only itself - making your "non-prime number" a prime number.






                    share|cite|improve this answer









                    $endgroup$



                    Assume your "non-prime number" is not divisible by a prime. Because of the unique factorization theorem, all numbers can be written as a product of primes. This means your "non-prime number" can be written as a product of primes. But it can't be written as a product of primes by definition, so it must be divisible by only itself - making your "non-prime number" a prime number.







                    share|cite|improve this answer












                    share|cite|improve this answer



                    share|cite|improve this answer










                    answered Jan 12 '15 at 18:38









                    Don LarynxDon Larynx

                    2,83222648




                    2,83222648























                        0












                        $begingroup$

                        The answer by @Don Larynx gives me an idea without further looking at the unique factorization theorem.



                        Why a non-prime is always divisible by a prime? When a number P is divisible by n1 then n1 is a factor of P. For example P = n1 x n2 x n3. So P is divisible by either n1, n2, n3 (the quotient is a positive whole number) and these 3 numbers are factors of P. Lets say we want to factor P, we can start with 2 factors, P = n1 x n2. If both n1 and n2 are primes then we have answered the question. If any of the factor is non-prime, then we can continue to break down that non-prime factor until eventually all the factors is a prime (divisible by itself and 1) and the factor is a whole number greater than 1 (cant be 1 or less). For example:



                        1.) 200 = 10 x 20

                        2.) 200 = (5 x 2) x (5 x 4)

                        3.) 200 = (5 x 2) x (5 x (2 x 2))

                        200 = 5 x 2 x 5 x 2 x 2



                        1.) 200 = 100 x 2

                        2.) 200 = (25 x 4) x 2

                        3.) 200 = (5 x 5) x (2 x 2)) x 2

                        200 = 5 x 5 x 2 x 2 x 2



                        So we can say a prime can only be a product of itself and 1. A non-prime can eventually be reduced to a product of 2 or more prime numbers. Therefore a non-prime is always divisible by a prime.






                        share|cite|improve this answer











                        $endgroup$


















                          0












                          $begingroup$

                          The answer by @Don Larynx gives me an idea without further looking at the unique factorization theorem.



                          Why a non-prime is always divisible by a prime? When a number P is divisible by n1 then n1 is a factor of P. For example P = n1 x n2 x n3. So P is divisible by either n1, n2, n3 (the quotient is a positive whole number) and these 3 numbers are factors of P. Lets say we want to factor P, we can start with 2 factors, P = n1 x n2. If both n1 and n2 are primes then we have answered the question. If any of the factor is non-prime, then we can continue to break down that non-prime factor until eventually all the factors is a prime (divisible by itself and 1) and the factor is a whole number greater than 1 (cant be 1 or less). For example:



                          1.) 200 = 10 x 20

                          2.) 200 = (5 x 2) x (5 x 4)

                          3.) 200 = (5 x 2) x (5 x (2 x 2))

                          200 = 5 x 2 x 5 x 2 x 2



                          1.) 200 = 100 x 2

                          2.) 200 = (25 x 4) x 2

                          3.) 200 = (5 x 5) x (2 x 2)) x 2

                          200 = 5 x 5 x 2 x 2 x 2



                          So we can say a prime can only be a product of itself and 1. A non-prime can eventually be reduced to a product of 2 or more prime numbers. Therefore a non-prime is always divisible by a prime.






                          share|cite|improve this answer











                          $endgroup$
















                            0












                            0








                            0





                            $begingroup$

                            The answer by @Don Larynx gives me an idea without further looking at the unique factorization theorem.



                            Why a non-prime is always divisible by a prime? When a number P is divisible by n1 then n1 is a factor of P. For example P = n1 x n2 x n3. So P is divisible by either n1, n2, n3 (the quotient is a positive whole number) and these 3 numbers are factors of P. Lets say we want to factor P, we can start with 2 factors, P = n1 x n2. If both n1 and n2 are primes then we have answered the question. If any of the factor is non-prime, then we can continue to break down that non-prime factor until eventually all the factors is a prime (divisible by itself and 1) and the factor is a whole number greater than 1 (cant be 1 or less). For example:



                            1.) 200 = 10 x 20

                            2.) 200 = (5 x 2) x (5 x 4)

                            3.) 200 = (5 x 2) x (5 x (2 x 2))

                            200 = 5 x 2 x 5 x 2 x 2



                            1.) 200 = 100 x 2

                            2.) 200 = (25 x 4) x 2

                            3.) 200 = (5 x 5) x (2 x 2)) x 2

                            200 = 5 x 5 x 2 x 2 x 2



                            So we can say a prime can only be a product of itself and 1. A non-prime can eventually be reduced to a product of 2 or more prime numbers. Therefore a non-prime is always divisible by a prime.






                            share|cite|improve this answer











                            $endgroup$



                            The answer by @Don Larynx gives me an idea without further looking at the unique factorization theorem.



                            Why a non-prime is always divisible by a prime? When a number P is divisible by n1 then n1 is a factor of P. For example P = n1 x n2 x n3. So P is divisible by either n1, n2, n3 (the quotient is a positive whole number) and these 3 numbers are factors of P. Lets say we want to factor P, we can start with 2 factors, P = n1 x n2. If both n1 and n2 are primes then we have answered the question. If any of the factor is non-prime, then we can continue to break down that non-prime factor until eventually all the factors is a prime (divisible by itself and 1) and the factor is a whole number greater than 1 (cant be 1 or less). For example:



                            1.) 200 = 10 x 20

                            2.) 200 = (5 x 2) x (5 x 4)

                            3.) 200 = (5 x 2) x (5 x (2 x 2))

                            200 = 5 x 2 x 5 x 2 x 2



                            1.) 200 = 100 x 2

                            2.) 200 = (25 x 4) x 2

                            3.) 200 = (5 x 5) x (2 x 2)) x 2

                            200 = 5 x 5 x 2 x 2 x 2



                            So we can say a prime can only be a product of itself and 1. A non-prime can eventually be reduced to a product of 2 or more prime numbers. Therefore a non-prime is always divisible by a prime.







                            share|cite|improve this answer














                            share|cite|improve this answer



                            share|cite|improve this answer








                            edited Jan 8 at 16:16

























                            answered Feb 28 '18 at 1:45









                            Roy AliinRoy Aliin

                            11




                            11






























                                draft saved

                                draft discarded




















































                                Thanks for contributing an answer to Mathematics Stack Exchange!


                                • Please be sure to answer the question. Provide details and share your research!

                                But avoid



                                • Asking for help, clarification, or responding to other answers.

                                • Making statements based on opinion; back them up with references or personal experience.


                                Use MathJax to format equations. MathJax reference.


                                To learn more, see our tips on writing great answers.




                                draft saved


                                draft discarded














                                StackExchange.ready(
                                function () {
                                StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f911655%2fwhy-are-all-non-prime-numbers-divisible-by-a-prime-number%23new-answer', 'question_page');
                                }
                                );

                                Post as a guest















                                Required, but never shown





















































                                Required, but never shown














                                Required, but never shown












                                Required, but never shown







                                Required, but never shown

































                                Required, but never shown














                                Required, but never shown












                                Required, but never shown







                                Required, but never shown







                                Popular posts from this blog

                                Mario Kart Wii

                                The Binding of Isaac: Rebirth/Afterbirth

                                What does “Dominus providebit” mean?