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. To test a theory. (Shared Birthdays)

To test a theory. (Shared Birthdays)

Scheduled Pinned Locked Moved The Lounge
cssquestion
87 Posts 71 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.
  • N NandoMan

    I believe you are a bit wrong. If you have 366 people, you can guarantee that at least 2 people share birthdays. It´s called "the Pigeonhole principle" http://en.wikipedia.org/wiki/Pigeonhole_principle[^]

    B Offline
    B Offline
    blackjack2150
    wrote on last edited by
    #36

    The way I know it: If you have 366 people in a room, it's guaranteed (100%) that at least 2 share their birthday, which is obvious. If you have 23 people in a room, it's likely (> 50%) that at least 2 share their birthday, which is not obvious, but it's mathematically proved to be true.

    1 Reply Last reply
    0
    • D Dalek Dave

      Young Henry mentioned his mother's Birthday below and it reminded me of a probability experiment that states if 23 people are in a room, it is more likely than less that 2 of them share a birthday. What date is your birthday people? Mine is 31st March. Let us see if the first 23 posters to this can get a matching pair?

      ------------------------------------ "When Belly Full, Chin Hit Chest" Confucius 502BC

      C Offline
      C Offline
      CPallini
      wrote on last edited by
      #37

      19th Jun.

      If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
      This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
      [My articles]

      1 Reply Last reply
      0
      • D Dalek Dave

        Young Henry mentioned his mother's Birthday below and it reminded me of a probability experiment that states if 23 people are in a room, it is more likely than less that 2 of them share a birthday. What date is your birthday people? Mine is 31st March. Let us see if the first 23 posters to this can get a matching pair?

        ------------------------------------ "When Belly Full, Chin Hit Chest" Confucius 502BC

        S Offline
        S Offline
        smcnulty2000
        wrote on last edited by
        #38

        June 7. First day of Vestalia.

        _____________________________ Will work for ... BRAINS!!! BRAINS!!!!

        1 Reply Last reply
        0
        • D Dalek Dave

          Young Henry mentioned his mother's Birthday below and it reminded me of a probability experiment that states if 23 people are in a room, it is more likely than less that 2 of them share a birthday. What date is your birthday people? Mine is 31st March. Let us see if the first 23 posters to this can get a matching pair?

          ------------------------------------ "When Belly Full, Chin Hit Chest" Confucius 502BC

          J Offline
          J Offline
          Johann Gerell
          wrote on last edited by
          #39

          July 16. When can we se your analysis of this experiment? ;)

          -- Time you enjoy wasting is not wasted time - Bertrand Russel

          D 1 Reply Last reply
          0
          • C Christian Graus

            17 Feb

            Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

            K Offline
            K Offline
            kduffingb
            wrote on last edited by
            #40

            17 Feb also :laugh: :laugh:

            S 1 Reply Last reply
            0
            • O Oakman

              Jun 10

              Jon "One loves to possess arms, though they hope never to have occasion for them." --Thomas Jefferson to George Washington, 1796. Soap Box 1.0: the first, the original, reborn troll-less

              J Offline
              J Offline
              JDL EPM
              wrote on last edited by
              #41

              Oakman wrote:

              Jun 10

              Does it count if this is my wife's birthday?

              O 1 Reply Last reply
              0
              • D Dalek Dave

                Young Henry mentioned his mother's Birthday below and it reminded me of a probability experiment that states if 23 people are in a room, it is more likely than less that 2 of them share a birthday. What date is your birthday people? Mine is 31st March. Let us see if the first 23 posters to this can get a matching pair?

                ------------------------------------ "When Belly Full, Chin Hit Chest" Confucius 502BC

                M Offline
                M Offline
                Mustafa Ismail Mustafa
                wrote on last edited by
                #42

                February 12

                If the post was helpful, please vote, eh! Current activities: Book: Devils by Fyodor Dostoyevsky Project: Hospital Automation, final stage Learning: Image analysis, LINQ Now and forever, defiant to the end. What is Multiple Sclerosis[^]?

                1 Reply Last reply
                0
                • J Johann Gerell

                  July 16. When can we se your analysis of this experiment? ;)

                  -- Time you enjoy wasting is not wasted time - Bertrand Russel

                  D Offline
                  D Offline
                  Dalek Dave
                  wrote on last edited by
                  #43

                  I will publish an analysis later today, but already there are several shared birthdays.

                  ------------------------------------ "When Belly Full, Chin Hit Chest" Confucius 502BC

                  M 1 Reply Last reply
                  0
                  • D Dalek Dave

                    I will publish an analysis later today, but already there are several shared birthdays.

                    ------------------------------------ "When Belly Full, Chin Hit Chest" Confucius 502BC

                    M Offline
                    M Offline
                    Mustafa Ismail Mustafa
                    wrote on last edited by
                    #44

                    So long as we get presents...

                    If the post was helpful, please vote, eh! Current activities: Book: Devils by Fyodor Dostoyevsky Project: Hospital Automation, final stage Learning: Image analysis, LINQ Now and forever, defiant to the end. What is Multiple Sclerosis[^]?

                    1 Reply Last reply
                    0
                    • D Dalek Dave

                      Young Henry mentioned his mother's Birthday below and it reminded me of a probability experiment that states if 23 people are in a room, it is more likely than less that 2 of them share a birthday. What date is your birthday people? Mine is 31st March. Let us see if the first 23 posters to this can get a matching pair?

                      ------------------------------------ "When Belly Full, Chin Hit Chest" Confucius 502BC

                      P Offline
                      P Offline
                      Pete OHanlon
                      wrote on last edited by
                      #45

                      This is just basic probability. One of my favourite maths experiments is to ask people whether or not they are more likely to roll two consecutive 6s with a dice or a 2 then a 3.

                      "WPF has many lovers. It's a veritable porn star!" - Josh Smith

                      As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.

                      My blog | My articles | MoXAML PowerToys | Onyx

                      1 Reply Last reply
                      0
                      • N NandoMan

                        I believe you are a bit wrong. If you have 366 people, you can guarantee that at least 2 people share birthdays. It´s called "the Pigeonhole principle" http://en.wikipedia.org/wiki/Pigeonhole_principle[^]

                        C Offline
                        C Offline
                        Chris Quinn
                        wrote on last edited by
                        #46

                        You would need 367 if one of the people in the room was my younger brother - 29th Feb

                        ==================================== Transvestites - Roberts in Disguise! ====================================

                        B 1 Reply Last reply
                        0
                        • C Chris Quinn

                          You would need 367 if one of the people in the room was my younger brother - 29th Feb

                          ==================================== Transvestites - Roberts in Disguise! ====================================

                          B Offline
                          B Offline
                          blackjack2150
                          wrote on last edited by
                          #47

                          Chris Quinn wrote:

                          You would need 367 if one of the people in the room was my younger brother - 29th Feb

                          Or my former boss.

                          1 Reply Last reply
                          0
                          • D Dalek Dave

                            Young Henry mentioned his mother's Birthday below and it reminded me of a probability experiment that states if 23 people are in a room, it is more likely than less that 2 of them share a birthday. What date is your birthday people? Mine is 31st March. Let us see if the first 23 posters to this can get a matching pair?

                            ------------------------------------ "When Belly Full, Chin Hit Chest" Confucius 502BC

                            A Offline
                            A Offline
                            AndyStephens
                            wrote on last edited by
                            #48

                            The probability of at least two people sharing the same birthday is 0.5073. Yay, I've found a use for Wolfram Alpha! http://www04.wolframalpha.com/input/?i=same+birthday&f1=23&f=BirthdayProblem.n_23&x=5&y=9[^]

                            B 1 Reply Last reply
                            0
                            • A AndyStephens

                              The probability of at least two people sharing the same birthday is 0.5073. Yay, I've found a use for Wolfram Alpha! http://www04.wolframalpha.com/input/?i=same+birthday&f1=23&f=BirthdayProblem.n_23&x=5&y=9[^]

                              B Offline
                              B Offline
                              blackjack2150
                              wrote on last edited by
                              #49

                              That crashed my IE8.

                              1 Reply Last reply
                              0
                              • D Dalek Dave

                                Young Henry mentioned his mother's Birthday below and it reminded me of a probability experiment that states if 23 people are in a room, it is more likely than less that 2 of them share a birthday. What date is your birthday people? Mine is 31st March. Let us see if the first 23 posters to this can get a matching pair?

                                ------------------------------------ "When Belly Full, Chin Hit Chest" Confucius 502BC

                                D Offline
                                D Offline
                                Dan_Martin
                                wrote on last edited by
                                #50

                                9th May

                                1 Reply Last reply
                                0
                                • D Dalek Dave

                                  Young Henry mentioned his mother's Birthday below and it reminded me of a probability experiment that states if 23 people are in a room, it is more likely than less that 2 of them share a birthday. What date is your birthday people? Mine is 31st March. Let us see if the first 23 posters to this can get a matching pair?

                                  ------------------------------------ "When Belly Full, Chin Hit Chest" Confucius 502BC

                                  O Offline
                                  O Offline
                                  ormonds
                                  wrote on last edited by
                                  #51

                                  10 Dec

                                  1 Reply Last reply
                                  0
                                  • L Lost User

                                    Trafalgar Day. (that might make some scratch their heads!)

                                    O Offline
                                    O Offline
                                    ormonds
                                    wrote on last edited by
                                    #52

                                    Now that has to be Oct 30 1805, doesn't it?

                                    L T H 3 Replies Last reply
                                    0
                                    • D Dalek Dave

                                      Young Henry mentioned his mother's Birthday below and it reminded me of a probability experiment that states if 23 people are in a room, it is more likely than less that 2 of them share a birthday. What date is your birthday people? Mine is 31st March. Let us see if the first 23 posters to this can get a matching pair?

                                      ------------------------------------ "When Belly Full, Chin Hit Chest" Confucius 502BC

                                      J Offline
                                      J Offline
                                      John Oxley
                                      wrote on last edited by
                                      #53

                                      16th of August

                                      1 Reply Last reply
                                      0
                                      • D Dalek Dave

                                        Young Henry mentioned his mother's Birthday below and it reminded me of a probability experiment that states if 23 people are in a room, it is more likely than less that 2 of them share a birthday. What date is your birthday people? Mine is 31st March. Let us see if the first 23 posters to this can get a matching pair?

                                        ------------------------------------ "When Belly Full, Chin Hit Chest" Confucius 502BC

                                        0 Offline
                                        0 Offline
                                        0x3c0
                                        wrote on last edited by
                                        #54

                                        July 19th. There's that theory broken ;P

                                        Between the idea And the reality Between the motion And the act Falls the Shadow

                                        S 1 Reply Last reply
                                        0
                                        • O ormonds

                                          Now that has to be Oct 30 1805, doesn't it?

                                          T Offline
                                          T Offline
                                          The Real Geek
                                          wrote on last edited by
                                          #55

                                          Hmm, 21st I think, which is a shame because it would have matched mine - 30th Oct :-)

                                          L 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