Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Another Question

Another Question

Scheduled Pinned Locked Moved The Lounge
question
26 Posts 16 Posters 6 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P pbraun

    If you consider all prime numbers to be odd, would you then consider the number 2 to be odd?

    Phil

    R Offline
    R Offline
    Rob Graham
    wrote on last edited by
    #3

    pbraun wrote:

    consider all prime numbers to be odd

    Why would you do that, since two is prime and by definition, even. clearly, oddness and primeness are different properties.

    1 Reply Last reply
    0
    • P pbraun

      If you consider all prime numbers to be odd, would you then consider the number 2 to be odd?

      Phil

      C Offline
      C Offline
      Clickok
      wrote on last edited by
      #4

      pbraun wrote:

      If you consider

      I don't consider... :~


      For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life.(John 3:16) :badger:

      P 1 Reply Last reply
      0
      • P pbraun

        If you consider all prime numbers to be odd, would you then consider the number 2 to be odd?

        Phil

        P Offline
        P Offline
        Paul Conrad
        wrote on last edited by
        #5

        No I wouldn't consider 2 an odd since it a prime number... You ought to direct this question to the Math Forum...[^]

        "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon

        F 1 Reply Last reply
        0
        • P pbraun

          If you consider all prime numbers to be odd, would you then consider the number 2 to be odd?

          Phil

          G Offline
          G Offline
          Gary Kirkham
          wrote on last edited by
          #6

          There is no requirement for a prime number to be odd. The only requirement is that the number is a natural number and is divisible by one and itself.

          Gary Kirkham Forever Forgiven and Alive in the Spirit He is no fool who gives what he cannot keep to gain what he cannot lose. - Jim Elliot Me blog, You read

          1 Reply Last reply
          0
          • P Paul Conrad

            No I wouldn't consider 2 an odd since it a prime number... You ought to direct this question to the Math Forum...[^]

            "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon

            F Offline
            F Offline
            Fernando A Gomez F
            wrote on last edited by
            #7

            Paul Conrad wrote:

            the Math Forum...

            :omg: Didn't know about such forum. Every day you learn something new. :)

            A polar bear is a bear whose coordinates has been changed in terms of sine and cosine. Quanehsti Pah Nation States

            P 1 Reply Last reply
            0
            • F Fernando A Gomez F

              Paul Conrad wrote:

              the Math Forum...

              :omg: Didn't know about such forum. Every day you learn something new. :)

              A polar bear is a bear whose coordinates has been changed in terms of sine and cosine. Quanehsti Pah Nation States

              P Offline
              P Offline
              Paul Conrad
              wrote on last edited by
              #8

              The Math/Algorithm Forum has been around for a while now. I think about a year and a half or so...

              "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon

              B 1 Reply Last reply
              0
              • P pbraun

                If you consider all prime numbers to be odd, would you then consider the number 2 to be odd?

                Phil

                J Offline
                J Offline
                Justin Jones 0
                wrote on last edited by
                #9

                pbraun wrote:

                If you consider all prime numbers to be odd, would you then consider the number 2 to be odd?

                I don't believe that the definition of a prime number requires it to be odd. The definition of a prime number is that it only has two factors, 1 and itself. Two is the only even number that fits that definition since all other even numbers have two as a factor. Please correct me if I'm wrong. I'm not a mathmatician. -------------------------------- Of course reading a litte further into the replies now that point has been made several times over, hasn't it ;P

                J Make the logo bigger

                P 1 Reply Last reply
                0
                • C Clickok

                  pbraun wrote:

                  If you consider

                  I don't consider... :~


                  For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life.(John 3:16) :badger:

                  P Offline
                  P Offline
                  pbraun
                  wrote on last edited by
                  #10

                  You seem to be the only one who read and understood the question.

                  Phil

                  F 1 Reply Last reply
                  0
                  • P pbraun

                    You seem to be the only one who read and understood the question.

                    Phil

                    F Offline
                    F Offline
                    Fernando A Gomez F
                    wrote on last edited by
                    #11

                    I believe I understood it as well*. See, the thing is that if you consider it, you are creating an unstable logical system, which will lead you to contradictions. And therefore you'll be able to deduce whaterver you want, say, that the moon is made of cheese. Therefore considering such scenario is simply not worthy, from the logical point of view. Unless your comment was intended as a joke, in which case you should have selected the joke/game icon. * Of course, since it's almost midnight here and I already drank like eight beers and my thoughts are becoming senseless, there are high chances that I didn't understand you in the first place. In such case, would you care to explain?

                    A polar bear is a bear whose coordinates has been changed in terms of sine and cosine. Quanehsti Pah Nation States

                    P 1 Reply Last reply
                    0
                    • F Fernando A Gomez F

                      I believe I understood it as well*. See, the thing is that if you consider it, you are creating an unstable logical system, which will lead you to contradictions. And therefore you'll be able to deduce whaterver you want, say, that the moon is made of cheese. Therefore considering such scenario is simply not worthy, from the logical point of view. Unless your comment was intended as a joke, in which case you should have selected the joke/game icon. * Of course, since it's almost midnight here and I already drank like eight beers and my thoughts are becoming senseless, there are high chances that I didn't understand you in the first place. In such case, would you care to explain?

                      A polar bear is a bear whose coordinates has been changed in terms of sine and cosine. Quanehsti Pah Nation States

                      P Offline
                      P Offline
                      pbraun
                      wrote on last edited by
                      #12

                      He gave an answer that indicated that he didn't need or want to think about the answer to the question or give a long logically precise explanation. I am assuming his reasoning to be that he found the lack of logic in the question.

                      Phil

                      1 Reply Last reply
                      0
                      • P pbraun

                        If you consider all prime numbers to be odd, would you then consider the number 2 to be odd?

                        Phil

                        P Offline
                        P Offline
                        peterchen
                        wrote on last edited by
                        #13

                        Yes, 2 is odd because it is the only even prime.


                        We are a big screwed up dysfunctional psychotic happy family - some more screwed up, others more happy, but everybody's psychotic joint venture definition of CP
                        My first real C# project | Linkify!|FoldWithUs! | sighist

                        J F 2 Replies Last reply
                        0
                        • P pbraun

                          If you consider all prime numbers to be odd, would you then consider the number 2 to be odd?

                          Phil

                          R Offline
                          R Offline
                          R Giskard Reventlov
                          wrote on last edited by
                          #14

                          A touch eccentric perhaps but odd? No.

                          home
                          tastier than delicious

                          1 Reply Last reply
                          0
                          • J Justin Jones 0

                            pbraun wrote:

                            If you consider all prime numbers to be odd, would you then consider the number 2 to be odd?

                            I don't believe that the definition of a prime number requires it to be odd. The definition of a prime number is that it only has two factors, 1 and itself. Two is the only even number that fits that definition since all other even numbers have two as a factor. Please correct me if I'm wrong. I'm not a mathmatician. -------------------------------- Of course reading a litte further into the replies now that point has been made several times over, hasn't it ;P

                            J Make the logo bigger

                            P Offline
                            P Offline
                            peterchen
                            wrote on last edited by
                            #15

                            no it doesn't, so yes, 2 is a prime


                            We are a big screwed up dysfunctional psychotic happy family - some more screwed up, others more happy, but everybody's psychotic joint venture definition of CP
                            My first real C# project | Linkify!|FoldWithUs! | sighist

                            1 Reply Last reply
                            0
                            • F Fernando A Gomez F

                              No. Not every prime number is odd.

                              A polar bear is a bear whose coordinates has been changed in terms of sine and cosine. Quanehsti Pah Nation States

                              D Offline
                              D Offline
                              Dario Solera
                              wrote on last edited by
                              #16

                              Fernando A. Gomez F. wrote:

                              No. Not every prime number is odd.

                              All except 2.

                              If you truly believe you need to pick a mobile phone that "says something" about your personality, don't bother. You don't have a personality. A mental illness, maybe - but not a personality. - Charlie Brooker My Blog - My Photos - ScrewTurn Wiki

                              F 1 Reply Last reply
                              0
                              • P peterchen

                                Yes, 2 is odd because it is the only even prime.


                                We are a big screwed up dysfunctional psychotic happy family - some more screwed up, others more happy, but everybody's psychotic joint venture definition of CP
                                My first real C# project | Linkify!|FoldWithUs! | sighist

                                J Offline
                                J Offline
                                Jorgen Sigvardsson
                                wrote on last edited by
                                #17

                                Have you checked them all?

                                -- Kein Mitleid Für Die Mehrheit

                                P 1 Reply Last reply
                                0
                                • P pbraun

                                  If you consider all prime numbers to be odd, would you then consider the number 2 to be odd?

                                  Phil

                                  L Offline
                                  L Offline
                                  Lost User
                                  wrote on last edited by
                                  #18

                                  Your original premise is obviously wrong.

                                  Visit http://www.readytogiveup.com/[^] and do something special today.

                                  1 Reply Last reply
                                  0
                                  • P pbraun

                                    If you consider all prime numbers to be odd, would you then consider the number 2 to be odd?

                                    Phil

                                    A Offline
                                    A Offline
                                    Ashley van Gerven
                                    wrote on last edited by
                                    #19

                                    I consider all people who consider all prime numbers to be odd in need of better education. ;P

                                    "For fifty bucks I'd put my face in their soup and blow." - George Costanza

                                    CP article: SmartPager - a Flickr-style pager control with go-to-page popup layer.

                                    1 Reply Last reply
                                    0
                                    • P pbraun

                                      If you consider all prime numbers to be odd, would you then consider the number 2 to be odd?

                                      Phil

                                      G Offline
                                      G Offline
                                      Gary R Wheeler
                                      wrote on last edited by
                                      #20

                                      It's a lot better off than 1[^]...


                                      Software Zen: delete this;

                                      Fold With Us![^]

                                      1 Reply Last reply
                                      0
                                      • D Dario Solera

                                        Fernando A. Gomez F. wrote:

                                        No. Not every prime number is odd.

                                        All except 2.

                                        If you truly believe you need to pick a mobile phone that "says something" about your personality, don't bother. You don't have a personality. A mental illness, maybe - but not a personality. - Charlie Brooker My Blog - My Photos - ScrewTurn Wiki

                                        F Offline
                                        F Offline
                                        Fernando A Gomez F
                                        wrote on last edited by
                                        #21

                                        Exactly. Thus, not every prime number is odd. Did I miss something here?

                                        A polar bear is a bear whose coordinates has been changed in terms of sine and cosine. Quanehsti Pah Nation States

                                        1 Reply Last reply
                                        0
                                        • P pbraun

                                          If you consider all prime numbers to be odd, would you then consider the number 2 to be odd?

                                          Phil

                                          P Offline
                                          P Offline
                                          PIEBALDconsult
                                          wrote on last edited by
                                          #22

                                          As written, yes, but if you change it to: " If you consider only odd numbers may be prime, would you then consider the number 2 to be odd? " Then, no, I would consider 2 to be non-prime. Look at it this way... I know 2 is the only even prime, so when I write a Sieve of Eratosthenes program I don't consider any even numbers, and therefore 2 does not appear in my sieve!

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups