Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • 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

The New Coffee Room

  1. TNCR
  2. General Discussion
  3. Today’s puzzle

Today’s puzzle

Scheduled Pinned Locked Moved General Discussion
18 Posts 5 Posters 148 Views
  • 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.
  • J Online
    J Online
    jon-nyc
    wrote on 25 May 2020, 10:54 last edited by
    #1

    Amy asks Brad to pick ten different numbers between 1 and 100, and to write them down secretly on a piece of paper.

    She now tells him she's willing to bet $100 to $1 that his numbers contain two nonempty disjoint subsets with the same sum! Is she nuts?

    "You never know what worse luck your bad luck has saved you from."
    -Cormac McCarthy

    K 1 Reply Last reply 25 May 2020, 15:53
    • H Offline
      H Offline
      Horace
      wrote on 25 May 2020, 14:18 last edited by
      #2

      Determining whether Amy is nuts would require a clinical evaluation by a trained professional and should not be attempted by laymen on internet forums.

      Education is extremely important.

      1 Reply Last reply
      • D Offline
        D Offline
        Doctor Phibes
        wrote on 25 May 2020, 14:23 last edited by
        #3

        alt text

        I was only joking

        G 1 Reply Last reply 25 May 2020, 14:59
        • D Doctor Phibes
          25 May 2020, 14:23

          alt text

          G Offline
          G Offline
          George K
          wrote on 25 May 2020, 14:59 last edited by
          #4

          @Doctor-Phibes

          g6857_u3848_sir_winston_churchill.jpg

          "Now look here, you Baltic gas passer... " - Mik, 6/14/08

          The saying, "Lite is just one damn thing after another," is a gross understatement. The damn things overlap.

          1 Reply Last reply
          • D Offline
            D Offline
            Doctor Phibes
            wrote on 25 May 2020, 15:26 last edited by
            #5

            How vulgar.

            I was only joking

            1 Reply Last reply
            • J jon-nyc
              25 May 2020, 10:54

              Amy asks Brad to pick ten different numbers between 1 and 100, and to write them down secretly on a piece of paper.

              She now tells him she's willing to bet $100 to $1 that his numbers contain two nonempty disjoint subsets with the same sum! Is she nuts?

              K Offline
              K Offline
              Klaus
              wrote on 25 May 2020, 15:53 last edited by Klaus
              #6

              @jon-nyc said in Today’s puzzle:

              Amy asks Brad to pick ten different numbers between 1 and 100, and to write them down secretly on a piece of paper.

              She now tells him she's willing to bet $100 to $1 that his numbers contain two nonempty disjoint subsets with the same sum! Is she nuts?

              My first guess would be that there are so many ways to form subsets that two disjoint ones necessarily must have the same sum. A kind of pigeonhole principle.

              That would involve the addition of a couple of binomial coefficients...

              Will look into this more later. No time right now.

              1 Reply Last reply
              • J Online
                J Online
                jon-nyc
                wrote on 30 May 2020, 16:32 last edited by
                #7

                Bumping this in case Klaus wants to revisit.

                Will post answer later if he doesn’t.

                "You never know what worse luck your bad luck has saved you from."
                -Cormac McCarthy

                1 Reply Last reply
                • H Offline
                  H Offline
                  Horace
                  wrote on 30 May 2020, 17:29 last edited by
                  #8

                  It seems tempting to count the number of disjoint set pairs (which I take to mean not overlapping) available from a set of 10 things, and compare that with the total number of possible different sums, which seems to be around 955 (the possible range being 1 to 955). If that ratio is greater than 1, it's impossible for the guy to win the bet. It still may be impossible if the ratio is less than 1, but greater than 1 is sufficient proof that it is impossible.

                  Education is extremely important.

                  1 Reply Last reply
                  • J Online
                    J Online
                    jon-nyc
                    wrote on 30 May 2020, 17:36 last edited by
                    #9

                    That’s a reasonable starting place.

                    "You never know what worse luck your bad luck has saved you from."
                    -Cormac McCarthy

                    1 Reply Last reply
                    • J Online
                      J Online
                      jon-nyc
                      wrote on 30 May 2020, 17:38 last edited by
                      #10

                      The total number of possible sums is a bit less than that, since the min is 1+2+3+...+10.

                      "You never know what worse luck your bad luck has saved you from."
                      -Cormac McCarthy

                      H 1 Reply Last reply 30 May 2020, 17:49
                      • J Online
                        J Online
                        jon-nyc
                        wrote on 30 May 2020, 17:38 last edited by
                        #11

                        There’s a key insight which makes it trivial to compute in your head in milliseconds.

                        "You never know what worse luck your bad luck has saved you from."
                        -Cormac McCarthy

                        1 Reply Last reply
                        • J jon-nyc
                          30 May 2020, 17:38

                          The total number of possible sums is a bit less than that, since the min is 1+2+3+...+10.

                          H Offline
                          H Offline
                          Horace
                          wrote on 30 May 2020, 17:49 last edited by
                          #12

                          @jon-nyc said in Today’s puzzle:

                          The total number of possible sums is a bit less than that, since the min is 1+2+3+...+10.

                          We are supposed to consider sets of any size.

                          Education is extremely important.

                          1 Reply Last reply
                          • J Online
                            J Online
                            jon-nyc
                            wrote on 30 May 2020, 17:52 last edited by
                            #13

                            Of course. My bad.

                            "You never know what worse luck your bad luck has saved you from."
                            -Cormac McCarthy

                            1 Reply Last reply
                            • H Offline
                              H Offline
                              Horace
                              wrote on 30 May 2020, 20:45 last edited by Horace
                              #14

                              well it doesn't have the nice insight that you're looking for but it's not too difficult to count the number of 10 choose n for n of 1 to 5 and multiply the sum by 2. You multiply by 2 because for every combination of n from 10, for n=1 to 5, you have the complementary set of size 10-n. Each set must sum to a unique number. Except you don't multiply by 2 for the size 5 set, since 10 choose 5 accounts for both the primary and complimentary sets.

                              10 choose 1 = 10
                              10 choose 2 = 45
                              10 choose 3 = 120
                              10 choose 4 = 210
                              10 choose 5 = 252

                              (10+45+120+210)*2 + 252 = 1022, meaning the bet is impossible for the guy to win because that's more than the possible number of unique sums.

                              Education is extremely important.

                              1 Reply Last reply
                              • J Online
                                J Online
                                jon-nyc
                                wrote on 30 May 2020, 21:28 last edited by jon-nyc
                                #15

                                The insight is that 'disjoint sets' is a red herring.

                                If you had non-disjoint sets that had equal sums, then you just take out the common member(s) and they still are equal.

                                So you just figure out how many unique sets you can make out of 10 objects, which is 2^10, but subtract 1 because 0000000000 isn't a valid set.

                                So 1023 non-empty sets, which is greater than 955.

                                "You never know what worse luck your bad luck has saved you from."
                                -Cormac McCarthy

                                1 Reply Last reply
                                • H Offline
                                  H Offline
                                  Horace
                                  wrote on 30 May 2020, 21:35 last edited by
                                  #16

                                  I don't find that insight useful to arrive at the idea of counting unique combinations, but YMMV.

                                  Education is extremely important.

                                  1 Reply Last reply
                                  • J Online
                                    J Online
                                    jon-nyc
                                    wrote on 30 May 2020, 21:39 last edited by
                                    #17

                                    No, just the easy calc. It's all the 10 digit binary numbers.

                                    "You never know what worse luck your bad luck has saved you from."
                                    -Cormac McCarthy

                                    1 Reply Last reply
                                    • H Offline
                                      H Offline
                                      Horace
                                      wrote on 30 May 2020, 21:40 last edited by
                                      #18

                                      Yes, I like how binary digits map to the idea of including/excluding things from a set.

                                      Education is extremely important.

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

                                      9/18

                                      30 May 2020, 17:36


                                      • Login

                                      • Don't have an account? Register

                                      • Login or register to search.
                                      9 out of 18
                                      • First post
                                        9/18
                                        Last post
                                      0
                                      • Categories
                                      • Recent
                                      • Tags
                                      • Popular
                                      • Users
                                      • Groups