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