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. Puzzle time - How many bits

Puzzle time - How many bits

Scheduled Pinned Locked Moved General Discussion
33 Posts 5 Posters 257 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.
  • jon-nycJ Online
    jon-nycJ Online
    jon-nyc
    wrote on last edited by jon-nyc
    #6

    Yes find something smaller than 4.

    I found 3 cleanly, and one solution that maxes at 3 with expected value 2.5 but it might be cheating. Haven’t seen official solution.

    And of course they can have a strategy in common and are both aware of the 16 teams.

    Only non-witches get due process.

    • Cotton Mather, Salem Massachusetts, 1692
    1 Reply Last reply
    • AxtremusA Offline
      AxtremusA Offline
      Axtremus
      wrote on last edited by
      #7

      May be I can cheat by pre-compiling a dictionary of all possible outcomes and then use the timing of signal transmission to index into that dictionary. In that case only one “pulse” needs to be sent at the right time, which you can then argue is merely “one bit.”

      jon-nycJ 1 Reply Last reply
      • AxtremusA Axtremus

        May be I can cheat by pre-compiling a dictionary of all possible outcomes and then use the timing of signal transmission to index into that dictionary. In that case only one “pulse” needs to be sent at the right time, which you can then argue is merely “one bit.”

        jon-nycJ Online
        jon-nycJ Online
        jon-nyc
        wrote on last edited by
        #8

        @axtremus said in Puzzle time - How many bits:

        May be I can cheat by pre-compiling a dictionary of all possible outcomes and then use the timing of signal transmission to index into that dictionary. In that case only one “pulse” needs to be sent at the right time, which you can then argue is merely “one bit.”

        Screen Shot 2021-07-11 at 9.46.10 PM.png

        Only non-witches get due process.

        • Cotton Mather, Salem Massachusetts, 1692
        1 Reply Last reply
        • jon-nycJ Online
          jon-nycJ Online
          jon-nyc
          wrote on last edited by
          #9

          In engineering school I used to wonder why you couldn't, in theory, send an unlimited amount of information on a superconducting channel just by setting the voltage a very precise amount, say 3.141592674......

          Only non-witches get due process.

          • Cotton Mather, Salem Massachusetts, 1692
          KlausK 1 Reply Last reply
          • jon-nycJ jon-nyc

            In engineering school I used to wonder why you couldn't, in theory, send an unlimited amount of information on a superconducting channel just by setting the voltage a very precise amount, say 3.141592674......

            KlausK Offline
            KlausK Offline
            Klaus
            wrote on last edited by
            #10

            @jon-nyc said in Puzzle time - How many bits:

            In engineering school I used to wonder why you couldn't, in theory, send an unlimited amount of information on a superconducting channel just by setting the voltage a very precise amount, say 3.141592674......

            Wouldn't the measurement influence the voltage? I guess that would be the main reason. Also, if you measure current, you'd at some point measure single electrons, which are discrete.

            AxtremusA 1 Reply Last reply
            • KlausK Klaus

              Does H know what K knows? Does H know what K wants to know? Can they have a common strategy they both know about?

              KlausK Offline
              KlausK Offline
              Klaus
              wrote on last edited by
              #11

              @klaus said in Puzzle time - How many bits:

              Does H know what K knows?

              In that case, one bit would be sufficient. If both know it must be team A or team B, then H can send 0 for team A or 1 for team B.

              1 Reply Last reply
              • HoraceH Horace

                What is K wearing?

                KlausK Offline
                KlausK Offline
                Klaus
                wrote on last edited by
                #12

                @horace said in Puzzle time - How many bits:

                What is K wearing?

                :::

                865717e5-77cd-4631-8720-8a7b564c71f7-image.png Spoiler Text

                :::

                1 Reply Last reply
                • jon-nycJ Online
                  jon-nycJ Online
                  jon-nyc
                  wrote on last edited by jon-nyc
                  #13

                  @klaus said in Puzzle time - How many bits:

                  @klaus said in Puzzle time - How many bits:

                  Does H know what K knows?

                  In that case, one bit would be sufficient. If both know it must be team A or team B, then H can send 0 for team A or 1 for team B.

                  The puzzle states that K knows the two teams but not the winner and H knows only the winner but not the other team. What they both know in advance are the 16 possible teams and whatever strategy they devise.

                  Only non-witches get due process.

                  • Cotton Mather, Salem Massachusetts, 1692
                  1 Reply Last reply
                  • KlausK Offline
                    KlausK Offline
                    Klaus
                    wrote on last edited by Klaus
                    #14

                    Hm. I think this one would work with two bits, but it would only work in 75% of all cases.

                    :::

                    K asks one of two boolean questions:

                    1. Even? - is the winning team on an even position
                    2. Lower? - is the winning team among the lower half of team numbers

                    Transmitting the question requires one bit, the answer requires one bit.

                    Of course, K is screwed if both teams have equal parity and are in the same half.
                    :::

                    and here's an extension of the idea with three bits that presumably works in 100% of all cases.

                    :::

                    K sends a second bit which asks H to either shuffle the team order or not before answering the question.

                    The shuffling is such that equal parity and equal half cannot happen in both the unshuffled and shuffled order. I'm not quite sure whether that's even possible, but let's call this a solution just for fucks sake!
                    :::

                    1 Reply Last reply
                    • jon-nycJ Online
                      jon-nycJ Online
                      jon-nyc
                      wrote on last edited by
                      #15

                      I dont think you could get the second answer to work.

                      Only non-witches get due process.

                      • Cotton Mather, Salem Massachusetts, 1692
                      1 Reply Last reply
                      • KlausK Klaus

                        @jon-nyc said in Puzzle time - How many bits:

                        In engineering school I used to wonder why you couldn't, in theory, send an unlimited amount of information on a superconducting channel just by setting the voltage a very precise amount, say 3.141592674......

                        Wouldn't the measurement influence the voltage? I guess that would be the main reason. Also, if you measure current, you'd at some point measure single electrons, which are discrete.

                        AxtremusA Offline
                        AxtremusA Offline
                        Axtremus
                        wrote on last edited by
                        #16

                        @klaus said in Puzzle time - How many bits:

                        @jon-nyc said in Puzzle time - How many bits:

                        In engineering school I used to wonder why you couldn't, in theory, send an unlimited amount of information on a superconducting channel just by setting the voltage a very precise amount, say 3.141592674......

                        Wouldn't the measurement influence the voltage? I guess that would be the main reason. Also, if you measure current, you'd at some point measure single electrons, which are discrete.

                        Yes, you can get precision only down to the Planck scale and then you're limited by Heisenberg's uncertainty principle.

                        KlausK 1 Reply Last reply
                        • AxtremusA Axtremus

                          @klaus said in Puzzle time - How many bits:

                          @jon-nyc said in Puzzle time - How many bits:

                          In engineering school I used to wonder why you couldn't, in theory, send an unlimited amount of information on a superconducting channel just by setting the voltage a very precise amount, say 3.141592674......

                          Wouldn't the measurement influence the voltage? I guess that would be the main reason. Also, if you measure current, you'd at some point measure single electrons, which are discrete.

                          Yes, you can get precision only down to the Planck scale and then you're limited by Heisenberg's uncertainty principle.

                          KlausK Offline
                          KlausK Offline
                          Klaus
                          wrote on last edited by
                          #17

                          @axtremus said in Puzzle time - How many bits:

                          @klaus said in Puzzle time - How many bits:

                          @jon-nyc said in Puzzle time - How many bits:

                          In engineering school I used to wonder why you couldn't, in theory, send an unlimited amount of information on a superconducting channel just by setting the voltage a very precise amount, say 3.141592674......

                          Wouldn't the measurement influence the voltage? I guess that would be the main reason. Also, if you measure current, you'd at some point measure single electrons, which are discrete.

                          Yes, you can get precision only down to the Planck scale and then you're limited by Heisenberg's uncertainty principle.

                          My point was more immediate: Voltage is measured by sending a small current through a resistor. That current would necessarily cause a drop in the voltage.

                          1 Reply Last reply
                          • AxtremusA Offline
                            AxtremusA Offline
                            Axtremus
                            wrote on last edited by
                            #18

                            Yes, I just go straight to the theoretical limit of known physics. :man-shrugging:

                            1 Reply Last reply
                            • jon-nycJ Online
                              jon-nycJ Online
                              jon-nyc
                              wrote on last edited by
                              #19

                              Here's a solution that gets it with three bits every time:

                              :::

                              K and H have prearranged a mapping of teams to 4 bit binary codes. K sends a two bit message to H indicating a bit where the two teams' digital representation differs. H responds with the value of that bit. That gives K the answer in 3, every time.

                              :::

                              Only non-witches get due process.

                              • Cotton Mather, Salem Massachusetts, 1692
                              AxtremusA 1 Reply Last reply
                              • jon-nycJ Online
                                jon-nycJ Online
                                jon-nyc
                                wrote on last edited by
                                #20

                                An addendum to that that keeps max 3 but makes the expected value less than 2.5:

                                :::

                                Instead of always sending 2 bits to indicate the differing digit every time, send only one bit if it's bit 0 or 1. In other words, send:
                                0 -> 1st bit
                                1 -> 2nd bit
                                10 -> third bit
                                11 -> 4th bit

                                I don't feel like calculating the exact expected value, but given that many pairs of digital words will differ in multiple places, you can always choose to send the more efficient representation when possible. Therefore it should be < 2.5.

                                :::

                                Only non-witches get due process.

                                • Cotton Mather, Salem Massachusetts, 1692
                                jon-nycJ 1 Reply Last reply
                                • KlausK Offline
                                  KlausK Offline
                                  Klaus
                                  wrote on last edited by
                                  #21

                                  I like your 3 bit solution, but the 2.5 bit one looks unsound.

                                  If you send messages of variable length, you'd have to transmit the length of the message. Otherwise you could easily cheat by saying that "the empty message", for instance, also transmits information.

                                  jon-nycJ 1 Reply Last reply
                                  • KlausK Klaus

                                    I like your 3 bit solution, but the 2.5 bit one looks unsound.

                                    If you send messages of variable length, you'd have to transmit the length of the message. Otherwise you could easily cheat by saying that "the empty message", for instance, also transmits information.

                                    jon-nycJ Online
                                    jon-nycJ Online
                                    jon-nyc
                                    wrote on last edited by
                                    #22

                                    @klaus said in Puzzle time - How many bits:

                                    I like your 3 bit solution, but the 2.5 bit one looks unsound.

                                    That's why I wrote this earlier:

                                    I found 3 cleanly, and one solution that maxes at 3 with expected value 2.5 but it might be cheating.

                                    Only non-witches get due process.

                                    • Cotton Mather, Salem Massachusetts, 1692
                                    1 Reply Last reply
                                    • jon-nycJ jon-nyc

                                      Here's a solution that gets it with three bits every time:

                                      :::

                                      K and H have prearranged a mapping of teams to 4 bit binary codes. K sends a two bit message to H indicating a bit where the two teams' digital representation differs. H responds with the value of that bit. That gives K the answer in 3, every time.

                                      :::

                                      AxtremusA Offline
                                      AxtremusA Offline
                                      Axtremus
                                      wrote on last edited by jon-nyc
                                      #23

                                      @jon-nyc said in Puzzle time - How many bits:

                                      Here's a solution that gets it with three bits every time:

                                      :::

                                      K and H have prearranged a mapping of teams to 4 bit binary codes. K sends a two bit message to H indicating a bit where the two teams' digital representation differs. H responds with the value of that bit. That gives K the answer in 3, every time.

                                      :::

                                      :::

                                      How does it work when two teams’ binary representation differ by two or more bits?

                                      :::

                                      1 Reply Last reply
                                      • jon-nycJ Online
                                        jon-nycJ Online
                                        jon-nyc
                                        wrote on last edited by jon-nyc
                                        #24

                                        Ax - just pick one. Doesn't matter. A value for any of them will tell Klaus who the winner is.

                                        Only non-witches get due process.

                                        • Cotton Mather, Salem Massachusetts, 1692
                                        1 Reply Last reply
                                        • KlausK Offline
                                          KlausK Offline
                                          Klaus
                                          wrote on last edited by
                                          #25

                                          Here's a quite simple strategy with an expected number of bits of only 1.875.

                                          H sends 0 if the winner is in the first half and 1 else.

                                          With probability 0.5 K knows the winner after this one bit.

                                          Then H sends 0 if the winner is in the first half of the remaining half and 1 else.

                                          With probability 0.25 K knows the winner after the second bit.

                                          Continuing similarly, K knows the winner after 3 bits with probability 0.125 and after 4 bits with 0.125.

                                          On average, that makes 1.875 bits.

                                          One slightly inelegant aspect of the approach is that H doesn't know when to stop sending bits.

                                          1 Reply Last reply
                                          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
                                          • Users
                                          • Groups