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

    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 Online
                      P Online
                      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
                      • J Jorgen Sigvardsson

                        Have you checked them all?

                        -- Kein Mitleid Für Die Mehrheit

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

                        yeah, I was drunk around googol, but the rest should be on the safe side.


                        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
                        • 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

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

                          :doh: Now I feel like a stupid...

                          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 Paul Conrad

                            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 Offline
                            B Offline
                            Blake Miller
                            wrote on last edited by
                            #25

                            Okay, now this is really funny. When someone says 'every day you learn something new', I think it means they learn something new to them every day. Just because a forum has been there for a year does not mean they knew about it. Nor does it seem to imply they meant the forum was new either. We have had DNA for quite awhile now, but as a civilization, its discovery is relatively new. But anyway, all in good fun!

                            P 1 Reply Last reply
                            0
                            • B Blake Miller

                              Okay, now this is really funny. When someone says 'every day you learn something new', I think it means they learn something new to them every day. Just because a forum has been there for a year does not mean they knew about it. Nor does it seem to imply they meant the forum was new either. We have had DNA for quite awhile now, but as a civilization, its discovery is relatively new. But anyway, all in good fun!

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

                              Blake Miller wrote:

                              We have had DNA for quite awhile now, but as a civilization, its discovery is relatively new.

                              Good point.

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

                              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