ไม่สามารถเล่นวิดีโอนี้
ขออภัยในความไม่สะดวก

New Wikipedia sized proof explained with a puzzle

แชร์
ฝัง
  • เผยแพร่เมื่อ 23 ก.พ. 2014
  • A new mathematical proof was in the news this week, which partially solves the Erdos Discrepancy Problem. The proof was described as "bigger than Wikipedia". I attempt to explain the problem using a puzzle which you can try at home.
    The puzzle was my idea to explain it to you - that's not really how the problem is stated.
    New Scientist: www.newscientist.com/article/d...
    The Independent: www.independent.co.uk/life-sty...
    Tim Gowers Blog: gowers.wordpress.com/2014/02/1...
    PolyMath Project: michaelnielsen.org/polymath1/i...
    The paper: cgi.csc.liv.ac.uk/~konev/SAT14...
    Boris Konev's webpage: cgi.csc.liv.ac.uk/~konev/SAT14/
    One page proof that a sequence of twelve has discrepency of 2 www.dpmms.cam.ac.uk/~ardm/erdo...

ความคิดเห็น • 1.4K

  • @liamdienemann8937
    @liamdienemann8937 8 ปีที่แล้ว +1718

    *gives me the puzzle*
    "Give this to someone you don't like"...
    Message received James :/

    • @logical-functionsmodel9364
      @logical-functionsmodel9364 8 ปีที่แล้ว +30

      +Liam Dienemann
      I was going to mention that....
      :p

    • @kinuux
      @kinuux 7 ปีที่แล้ว +3

      I don't understand neither the puzzle nor James

    • @Peter-sj6yn
      @Peter-sj6yn 7 ปีที่แล้ว +6

      If you're being bullied by bigger boys.....Give them this problem.

    • @redrose3466
      @redrose3466 7 ปีที่แล้ว +1

      666th like right here

    • @IQuick143cz
      @IQuick143cz 7 ปีที่แล้ว

      don't do that if you do they'll buly a smart kid to solve it and when the kid tells them the victim must always die they'll make it in real life where you're the victim

  • @blanmorrison1794
    @blanmorrison1794 7 ปีที่แล้ว +327

    "If your torturer makes you write 1,161 instructions..." sounds torturous enough, Mr. Torturer.

    • @omikronweapon
      @omikronweapon 3 ปีที่แล้ว +6

      I'll take my chances with the snakes mate. I usually have sóme mints on me, so I might not have that much of a problem with their breath

  • @nathanwiles2719
    @nathanwiles2719 10 ปีที่แล้ว +243

    So you give us the impossible version, then tell us to give the impossible version to someone we don't like. I see how it is!

  • @edinbhop
    @edinbhop 7 ปีที่แล้ว +679

    "snakes with really bad breath and stuff..."
    damn, this guy really is british

    • @HKViktor
      @HKViktor 7 ปีที่แล้ว +40

      That sounds like a dragon xD

    • @supersammy00
      @supersammy00 5 ปีที่แล้ว +6

      Look up hognose snakes. They are the snakes with really bad breath. It's a tactic to make themselves seem rotten to predators.

    • @Blitterbug
      @Blitterbug 3 ปีที่แล้ว

      Yes. Yes he is.

  • @fiskfisk33
    @fiskfisk33 7 ปีที่แล้ว +173

    "give it to someone you don't like"
    You just gave it to everyone watching your video seconds ago!

    • @quantumsigmaqed6312
      @quantumsigmaqed6312 7 ปีที่แล้ว +1

      He meant "give it to someone you don't like without the solution"

    • @KasabianFan44
      @KasabianFan44 4 ปีที่แล้ว +6

      QuantumSigma QED
      r/woooosh

    • @darkseid856
      @darkseid856 4 ปีที่แล้ว +3

      @@KasabianFan44 oh look . An intellectual wooshing someone who commented 3 years ago .

    • @KasabianFan44
      @KasabianFan44 4 ปีที่แล้ว +3

      Apurva Nayak
      Better late than never. (S)he deserved the whoosh.

    • @genericusername4206
      @genericusername4206 3 ปีที่แล้ว +1

      @@KasabianFan44 Sbeve

  • @cavalrycome
    @cavalrycome 10 ปีที่แล้ว +408

    If Bond villains were mathematicians...

    • @adambrown1890
      @adambrown1890 10 ปีที่แล้ว +5

      XD

    • @jasonofcompsci
      @jasonofcompsci 10 ปีที่แล้ว +10

      Who's to say he's not a bond villain. I think he is one.

    • @Mathhead2000
      @Mathhead2000 10 ปีที่แล้ว +15

      I'd watch that movie.

    • @cordona_974
      @cordona_974 7 ปีที่แล้ว +8

      How do you like my centrifuge, Mister Bond? When I throw this lever, you will feel centrifugal force crush every bone in your body.

    • @CosmicConical
      @CosmicConical 7 ปีที่แล้ว +2

      minerguy31 centripetal*

  • @ianbelletti6241
    @ianbelletti6241 9 ปีที่แล้ว +188

    Solution: shrink step size to smaller than what the torturer expected.

    • @ChrisStoneinator
      @ChrisStoneinator 7 ปีที่แล้ว +21

      First loophole suggestion that wasn't just "stand still", so for that you get my +1

    • @BagelBrain
      @BagelBrain 7 ปีที่แล้ว +2

      +Chris Stone Yup.
      If a joke seems obvious, don't comment it.

    • @chinglamchoi6385
      @chinglamchoi6385 5 ปีที่แล้ว

      Exponential learning rate decay, hence step size decay

  • @gimpdoctor8362
    @gimpdoctor8362 10 ปีที่แล้ว +49

    i really like how you give us a chance to work at the problem before telling us the answer, it was so rewarding to deduce it was impossible myself first :D

  • @liucyrus22
    @liucyrus22 9 ปีที่แล้ว +317

    Stay, stay, stay, stay, stay, stay, stay, stay, stay, stay, stay, stay

    • @wdujsub7902
      @wdujsub7902 9 ปีที่แล้ว

      liucyrus22 yea but how long does each "stay" instruction take? :P

    • @ipodceiling
      @ipodceiling 9 ปีที่แล้ว +8

      liucyrus22 I've been loving you for quite some time, time, time, time, time, time, time, time, time, time, time, time

    • @if3660
      @if3660 9 ปีที่แล้ว

      Go

    • @jacksims8018
      @jacksims8018 8 ปีที่แล้ว +6

      +ipodceiling You think that it's funny when i'm mad, mad, mad, mad, mad, mad, mad, mad, mad, mad, mad, mad.

    • @Ryquard1
      @Ryquard1 7 ปีที่แล้ว +3

      jump jump jump jump jump...

  • @HeatherSpoonheim
    @HeatherSpoonheim 9 ปีที่แล้ว +54

    This should be called The Waiting at the DMV Problem.

  • @JohnDoe-po3ku
    @JohnDoe-po3ku 10 ปีที่แล้ว +35

    "give it to someone you don't like" you just gave it to me! what the hell man!

    • @Wesyan1999
      @Wesyan1999 10 ปีที่แล้ว +2

      He also gave you the solution...

    • @JohnDoe-po3ku
      @JohnDoe-po3ku 10 ปีที่แล้ว +4

      ...noitulos eht uoy evag osla eH

  • @juliusgroenjes8115
    @juliusgroenjes8115 9 ปีที่แล้ว +391

    Walks to the right. Survives.

    • @jjjaaaccckk1
      @jjjaaaccckk1 9 ปีที่แล้ว +76

      Thug life

    • @1cy3
      @1cy3 9 ปีที่แล้ว +4

      julius groenjes it's a very narrow cliff; that way is also falling and death

    • @jjjaaaccckk1
      @jjjaaaccckk1 9 ปีที่แล้ว +1

      l

    • @SpamDestroyer
      @SpamDestroyer 9 ปีที่แล้ว +31

      julius groenjes Sounds like we need to invent sideways numbers ( ͡° ͜ʖ ͡°)

    • @peterpawinski4914
      @peterpawinski4914 9 ปีที่แล้ว +41

      SpamDestroyer Sounds like a job for "i." :)

  • @dizont
    @dizont 10 ปีที่แล้ว +27

    Thanks for explaining this in such a way. before that by reading articles, didnt really understood the problem. but without this puzzle explanation ,i still wouldnt be able to understand it again

  • @OzTheCactus
    @OzTheCactus 10 ปีที่แล้ว +47

    But what if you have Listerine to fight off bad breath?

  • @jameslang2333
    @jameslang2333 9 ปีที่แล้ว +6

    For anyone wondering, Terence Tao submitted a proof of the Erdos Discrepancy Problem today.
    So the sequence length is finite for all C.

  • @nexusumpra
    @nexusumpra 10 ปีที่แล้ว +131

    "It looks like a clever kind of brute force. I tried to read the paper but I'm not a computer scientist myself so I didn't quite get it."
    Well apparently you did, because your explanation is almost EXACTLY the approach the paper takes :-D
    The automaton is an imaginary machine that reads and executes the instructions it gets. Each instruction brings him to a new state, left or right from its current state. If an instruction takes the machine further than C steps in one direction (C=2, so 3 steps or more) it goes to S_B (the state at the bottom of the cliff) where it can never recover from. The automaton is for all intents and purposes the guy in your torturous trap.
    The phi-formula is a Boolean representation of this automaton and basically says:
    For a given instruction sequence length L and a discrepancy C and obeying every d-th instruction:
    You start in the middle (S0)
    AND each instruction to go right moves you one step to the right
    AND each instruction to go left moves you one step to the left
    AND if you are on the right edge and get an instruction to go right, you die
    AND if you are on the left edge and get an instruction to go left, you die.
    The second phi-formula says:
    You don't die
    AND you try the game for every possible instruction gap
    AND you obey the rules (you don't move without getting the instruction to do so)
    Now, this second equation is fed into a SAT-solver (satisfiability-solver) which tries to find the sequences of instructions that keep you safe.
    It does this in exactly the same way you do: It fixes one instruction (you fixed the first) and deduces everything it can about it.
    When deduction doesn't yield a complete instruction sequence, the SAT-solver chooses an undecided instruction and fixes it once in each direction (brute force)
    When contradictions are deduced, the SAT-solver learns what caused these contradictions, and uses this information to prune the search space (so: a clever kind of brute force)
    They did this clever brute force SAT-solving for several different instruction sequence lengths until they found that no sequence of length 1161 satisfies the equation and thus will certainly get you killed, but at least one of length 1160 does satisfy the equation and thus is able to get you out of your predicament safely.
    They did change the encoding of the automaton states to eliminate a sparse matrix. And this would most certainly affect the speed of the SAT-solving drastically but it doesn't change anything fundamental to the proof.
    I really enjoyed the video and I'm glad I read the paper too. It's nice to see that some computer science concepts can be explained so simple.
    And it's funny how smart people such as yourself sometimes don't realise how close they are to understanding these concepts. You may think you only explained the problem and a simple strategy to solving it (you didn't even need much maths) but you actually explained how the proof worked in rather great detail :-D

    • @singingbanana
      @singingbanana  10 ปีที่แล้ว +66

      Oh this is great. Thank for this full explanation, and it's nice to see that the computer is doing what I would do with pen and paper in slightly different language.

    • @A1rPun
      @A1rPun 5 ปีที่แล้ว +2

      Thanks for your deduction of the paper so I wouldn't have to torture myself reading it :P

    • @genericusername4206
      @genericusername4206 3 ปีที่แล้ว

      true

    • @comodojoe59
      @comodojoe59 3 ปีที่แล้ว +1

      I did not read this but I feel it deserves a like nonetheless.

  • @Red_the_IT_Guy
    @Red_the_IT_Guy 8 ปีที่แล้ว +18

    Does anyone else see the optical illusion of the +'s and-'s bending?

  • @angrycreeper100
    @angrycreeper100 10 ปีที่แล้ว +34

    standstill standstill standstill standstill standstill...

    • @mickenoss
      @mickenoss 10 ปีที่แล้ว +2

      Exactly what I was thinking =)

    • @technodaz
      @technodaz 10 ปีที่แล้ว +3

      Dam it , half threw typing that and I look down to see I'm not the only troll out here!

    • @SBDAVINCI
      @SBDAVINCI 10 ปีที่แล้ว +1

      Give this guy a medal

  • @Cotobruce
    @Cotobruce 10 ปีที่แล้ว +1

    James easy to understand style & manner brings math to us non-math types. Thanks James....keep up the great work.

  • @osiris8645
    @osiris8645 10 ปีที่แล้ว +1

    I just love you the way you explain complex things with just so ease its amazing.

  • @Vixikats
    @Vixikats 9 ปีที่แล้ว +26

    You mean I just spent the last hour writing a program to calculate every possibility only to turn up with 0 applicable solutions *_just_* to be told two seconds later in the video that this is an impossible problem?... Fuck my life...

    • @Vixikats
      @Vixikats 9 ปีที่แล้ว +4

      Kaitlyn Amanda *ARE YOU KIDDING ME?! THAT WAS THE VERY FIRST INSTRUCTION SET I TRIED!! GRRR!!*

    • @Arkhs
      @Arkhs 9 ปีที่แล้ว

      +Kaitlyn Amanda Not going to lie.. I laughed a lot xD hahaha I guess laziness does have some perks

    • @Vixikats
      @Vixikats 9 ปีที่แล้ว +1

      Alex Talbot On the bright side, I now have a program that will brute force calculate solutions to the problem.

    • @ryankoski2499
      @ryankoski2499 8 ปีที่แล้ว

      +Kaitlyn Amanda so basically it had to test 2^12 different scenarios for each of 6 different styles (every, every other, every third, every fourth, every fifth, every sixth). How long did it take to run?

    • @Vixikats
      @Vixikats 8 ปีที่แล้ว +1

      Ryan Koski It could calculate this specific puzzle in a couple seconds, not too difficult. Adding more steps exponentially increases the calculation time, however, but I wasn't going for speed. My method was a brute force method, but I could have designed it to be more modular with more thought, using a similar method as to how he explains how to know whether it's true or not.

  • @R3Cat
    @R3Cat 10 ปีที่แล้ว +17

    Does anyone notice that at the end the dashes in between the plus signs look to me to be curved downwards as they scroll up? Like if it was a rope held by the plus signs. Pretty cool optical illusion!

    • @TheGiagoskap
      @TheGiagoskap 10 ปีที่แล้ว +6

      They seem like that to me as well, but I paused and they were straight. It is a nice optical illusion though.

    • @R3Cat
      @R3Cat 10 ปีที่แล้ว +1

      Yiannis Kaparos Me too. Awesome that I'm not going crazy. :P

    • @mattivc
      @mattivc 10 ปีที่แล้ว +3

      Noticed that as well. Must be some kind of optical illusion. The illusion disappears if you pause the video.

    • @proloycodes
      @proloycodes 2 ปีที่แล้ว

      it didnt work for me :(

    • @Pseudify
      @Pseudify 6 หลายเดือนก่อน

      It’s possibly caused by the fact that the dashes are positioned slightly below the horizontal lines within the plus signs, maybe?

  • @sheet-son
    @sheet-son 10 ปีที่แล้ว +11

    Anytime I have a problem with a snake, I solve it with a gun.

  • @ghuegel
    @ghuegel 10 ปีที่แล้ว +23

    Hmm... gives us a problem and asks us to solve it. Then, he says it's impossible and, at 1:51, tells us to "... give it to someone you don't like."

  • @ykl1277
    @ykl1277 10 ปีที่แล้ว +11

    I will remember that 13700 sequence so that if I am ever put in that situation with a torturer putting me 4 spaces away from harm (either side) and make me write a 13700 sequence, I will survive that.

    • @navarajpanday68
      @navarajpanday68 5 ปีที่แล้ว

      Lol Okay

    • @steviebudden3397
      @steviebudden3397 3 ปีที่แล้ว +1

      Phew! We can all sleep just that bit more soundly tonight for knowing there's at least one thing we don't need to worry about.

  • @wiertara1337
    @wiertara1337 9 ปีที่แล้ว +36

    You should use brown paper :)

  • @LePomologue
    @LePomologue 10 ปีที่แล้ว

    Your youtube channel is really one of my favorite, thank you for all the great content you offer us

  • @dedly13
    @dedly13 10 ปีที่แล้ว

    Thank you for all your work on this channel and numberphile and thank you for commenting on our lecture blog by professor Weber on non transitive dice! You're one of my inspirations and I hope you lecture us one day. I'm a IA mathmo at peterhouse if you were wondering.

    • @singingbanana
      @singingbanana  10 ปีที่แล้ว +1

      No problem! I hope the course is going/went well.

  • @Eevi_
    @Eevi_ 10 ปีที่แล้ว +5

    Haven't watched the rest of the video yet, but I think I'm about to give up. Here's my progress: I've broken it down into a Math(s) problem by giving "move forward" a value of 1, and "move backward" a value of -1. I then input my instructions into a spreadsheet. On a separate cell, I retrieved the total sum of the columns. If that cell's absolute value is greater than or equal to 2, the cell background goes red, indicating a failure.
    Of course, I can't just test for that, so I also tested for numbers divisible by 2,3,4 and so on. Then, I realized that the sum of the steps must also never reach 2 (or -2), so I entered several tests for that.
    I've managed to find some close ones, but it seems that most of the movements are set. For example, 6 must always be the opposite of 12, 1 must be the opposite of 2, and so on. There are only a few values where variations actually matter. I still can't find a perfect solution, and any time I believe that I've reached a solution, I end up discovering another fail condition that I've forgotten to test. I'm almost convinced that this puzzle is impossible, but I'm not a Math(s) genius, so it's more likely that I'm just missing something, somewhere.
    My best solution, thus far, is this: _back, back, back, back, back, back, back, back, back, back, back, back_
    This will ensure that you fall off the cliff. Although I'm not scared of snakes, I _am_ quite frightened by halitosis.

    • @Eevi_
      @Eevi_ 10 ปีที่แล้ว +3

      So, I just watched the rest of the video. I don't want to admit how long I spent trying to figure this out. I even wrote a small program to try and solve it. I blame the Dunning-Kruger effect. I know just enough to _suspect_ what the answer might be, but not enough to actually commit to that answer. I'm still trying to work out the minimum number of conditions that one has to test for in order to make a program to test potential solutions to this problem. I'm also looking at means of making the current test conditions more efficient or eloquent. So I learned a few new programming tricks, and that makes it time well-spent.
      Anyway, considering what he said "after the flash", can we infer that James doesn't like his TH-cam viewers? :)

    • @singingbanana
      @singingbanana  10 ปีที่แล้ว +2

      Brilliant :)

  • @R3Cat
    @R3Cat 10 ปีที่แล้ว +31

    Also, This gives me an idea of making an interactive game of the puzzle he described. :D

    • @R3Cat
      @R3Cat 10 ปีที่แล้ว +10

      I've made a little interactive mini-game based on his puzzle! Check it out!
      i.imgur.com/bLLLWiC.png
      gmc.yoyogames.com/index.php?showtopic=612382

    • @ruinenlust_
      @ruinenlust_ 9 ปีที่แล้ว

      Re
      Very nice!

    • @R3Cat
      @R3Cat 9 ปีที่แล้ว +1

      Roy Prins Thanks :)

  • @yinge101
    @yinge101 10 ปีที่แล้ว +7

    ‘hopefully more accurate than Wikipedia’
    shots fired!

  • @psydunk1
    @psydunk1 10 ปีที่แล้ว +45

    Did he say snakes with really bad breath?? Hahahahahaha

    • @youcheator
      @youcheator 10 ปีที่แล้ว +3

      It must be British.

    • @JorgetePanete
      @JorgetePanete 7 ปีที่แล้ว

      Sharath K Menon well... look down and smell your own snake, bad, isn't it?

  • @Wizzerzak
    @Wizzerzak 10 ปีที่แล้ว +12

    As this is all imaginary I think I'd just go for a +i and avoid the problem altogether.

  • @nerdbot4446
    @nerdbot4446 10 ปีที่แล้ว +9

    btw, the sequences are valid brainf*ck-code. You can compile with a bf-compiler to an executable which ACTUALLY DOES what the sequence is meant to be: it moves (the pointer in memory) forward and backward... esotheric programming languages... an interesting topic for a computerphile-video, isn´t it?

  • @MdaxTKL
    @MdaxTKL 9 ปีที่แล้ว

    Wow, you're a good teacher. People should appreciate that you shot this in only like, 3-4 takes at most. Such charisma!

  • @losveratos
    @losveratos 10 ปีที่แล้ว +1

    I really enjoy your videos and you aren't on numberphile enough. So thanks for keeping this up!

  • @Hythloday71
    @Hythloday71 10 ปีที่แล้ว +12

    Yeah, I think you made a typo at 8,008 step of the final 4 step problem. You fall of the cliff.

  • @tobyzxcd
    @tobyzxcd 7 ปีที่แล้ว +8

    there is a snake pit in front of you, a cliff behind you. Where do you go ?
    Sideways

    • @andy-kg5fb
      @andy-kg5fb 3 ปีที่แล้ว +1

      Its in a 2 d world

  • @jayniesgottagun
    @jayniesgottagun 9 ปีที่แล้ว +2

    I was having some insomnia issues. Thanks for helping out with that. I'll replay and see if I can stay awake. Not being snarky, I was really having trouble sleeping. You must have a soothing voice.

    • @burpie3258
      @burpie3258 9 ปีที่แล้ว

      I think you may have experienced some ASMR
      :-D

  • @iridium8562
    @iridium8562 4 ปีที่แล้ว +1

    -Give this to someone you don’t like
    *proceeds to try to solve it*

  • @mehmetersoy7380
    @mehmetersoy7380 9 ปีที่แล้ว +48

    Aren't you the guy from numberphile?

    • @singingbanana
      @singingbanana  9 ปีที่แล้ว +80

      Dodgy Turk Yes. Can't you tell from my face?

    • @mehmetersoy7380
      @mehmetersoy7380 9 ปีที่แล้ว +13

      I only watched the Futurama episode a while back and remembered your face. I will now watch all your videos :D

    • @skyr8449
      @skyr8449 9 ปีที่แล้ว +16

      +singingbanana i thought i was on numberfile still :/ well then

    • @Hwyadylaw
      @Hwyadylaw 8 ปีที่แล้ว +10

      +Dodgy Turk
      At first I thought you meant you remembered his face from an episode of Futurama ._.

    • @tangyspy
      @tangyspy 7 ปีที่แล้ว +5

      Dodgy Turk He is not Brady, the channel owner. He works with Brady on Numberphile.

  • @mavrshakaryan
    @mavrshakaryan 9 ปีที่แล้ว +5

    I love how enthusiastic you are about math and logic. Like a sneeze it's contagious. I wish more people understand the beauty and the art of math. Most people I see today couldn't care less about math, because they have a computer that does the logic and calculations for them. They don't understand the importance and are like zombies when it comes to making decisions. They do whatever the computer tells them to. They do not understand that the person that made the software/hardware uses math.
    I had a friend watch this video recently and he turned it off half way through. He told me that the computer will do the math for us, lol. I think he got a headache too, probably he had the computer think for him his whole life.
    The older generation appreciates the math, they call it the "foundation of understanding/life"; which I agree.
    You have encouraged me to go back to school to continue my undergrad studies in mathematics (dropped out before). Keep up the good work, and keep posting videos.
    Excuse any grammar or spelling error, English is not my best subject.

  • @philosophertoby
    @philosophertoby 10 ปีที่แล้ว

    Really nice video. I looked up this problem because it talked about it in New Scientist but didn't explain it properly. Then I looked in a few other places like Wikipedia, and it was still completely unclear. This video explains it very well.

    • @singingbanana
      @singingbanana  10 ปีที่แล้ว +1

      I also found it hard to find a good explanation! Glad this helped!

  • @rangedfighter
    @rangedfighter 10 ปีที่แล้ว

    your videos are awesome, it's cool to keep up with math news and actually understand the solved problems !!!

  • @Fiyaaaahh
    @Fiyaaaahh 10 ปีที่แล้ว +15

    You sort of forgot to mention that it is an easy problem to solve, but a hard problem to solve efficiently. It is not hard at all to write a program that solves this problem, but it would take an awful lot of time using a brute-force approach. The SAT solving approach used by the authors is smart approach compared to brute force, but SAT-solvers are still far from efficient (they're still NP-hard programs).

  • @SomeRandomFellow
    @SomeRandomFellow 9 ปีที่แล้ว +172

    *falls off cliff*
    *survives*
    Problem?

    • @oljo0527
      @oljo0527 9 ปีที่แล้ว +2

      Some Random Fellow *450 yard drop into shark-ridden sea and spiky rocks*
      *No shore for literal days*
      *No shelter, food source, anything*
      Yeah whatevah bro

    • @SomeRandomFellow
      @SomeRandomFellow 9 ปีที่แล้ว

      ilikebiskits *finds Doctor Who, takes me to the time period where the elixir of life is discovered, drinks, goes back in time to take cliff/snake test*
      U mad bro?

    • @oljo0527
      @oljo0527 9 ปีที่แล้ว

      Some Random Fellow Yeah, except the TARDIS malfunctions way too often for it to be reliable. But, whatevah.

    • @SomeRandomFellow
      @SomeRandomFellow 9 ปีที่แล้ว

      ilikebiskits Which is why I brought my handy dandy pair of energizer batteries!

    • @frtard
      @frtard 9 ปีที่แล้ว +1

      Some Random Fellow back, back, deploy chute
      BASE jumping FTMFW

  • @maloney670
    @maloney670 10 ปีที่แล้ว

    It's great to see you're making videos again ! :D Interesting as always :p

  • @pi4t651
    @pi4t651 6 ปีที่แล้ว +2

    As an interesting (and belated...) extension to the original puzzle: if your torturer is a little more generous and says that the gap between the instructions he makes you follow will be a power of 2 (so you'll have to follow every step, or every other step, or every fourth or eighth step, etc) then you can survive no matter how long a list of instructions he makes you write, even if the snake and cliff are only 2 away from you. Moreover, the sequence you (have to) use has a name - the Thue-Morse sequence. It has some weird self similarity properties.
    en.wikipedia.org/wiki/Thue%E2%80%93Morse_sequence

  • @sashasokolov6549
    @sashasokolov6549 7 ปีที่แล้ว +7

    +singingbanana I'm just wondering, is there someone who's working on the same problem, but in two dimensions? So instead of two steps forward and two steps back, you would have 2 forward, 2 back, 2 left, and 2 right?

    • @MaB1235813
      @MaB1235813 6 ปีที่แล้ว +1

      Sasha sokolov this would boil down to the same problem. You could always just walk one line and get the same result.

    • @alephnull4044
      @alephnull4044 5 ปีที่แล้ว

      Yes there's no difference. Moving right could, without loss of any generality, be considered the same the same thing as moving forward (and left the same as backward).

    • @zeeshanmehmood4522
      @zeeshanmehmood4522 5 ปีที่แล้ว

      I think you're safe then, because when you get stuck in one dimension, you can repeat the process in the second dimension, then you can go back to the other dimension when you're stuck in the second, the real question is, how would you do it efficiently, as when you rule out moving in one direction, you still have 3 other possible solutions

  • @SourceOfBeing
    @SourceOfBeing 7 ปีที่แล้ว +3

    What happens if the cliff and the snake are not equal distances from you? Say the snake is 2 steps forwards and the cliff is 3 steps back?

  • @carsonking5549
    @carsonking5549 8 ปีที่แล้ว

    You know the plough, the constellation?
    Well, that's about how far above my head this video is but I find it very interesting and enjoyable.

  • @raydredX
    @raydredX 10 ปีที่แล้ว

    For some reason, I'm wondering about periodicity in the biggest safe sequences. Also does allowing +2 steps ever help or is it useless?

  • @jeremywolf2154
    @jeremywolf2154 9 ปีที่แล้ว +8

    1:stand still
    2:follow the instructions
    3:stand still
    4:follow the instructions
    5:stand still
    6:follow the instructions
    7:stand still
    8:follow the instructions
    9:stand still
    10:follow the instructions
    11:stand still
    12:follow the instructions
    Maybe?

    • @ani_adios
      @ani_adios 9 ปีที่แล้ว +6

      ENDR SLIM3R 2recursive4me

    • @thetruthis9
      @thetruthis9 8 ปีที่แล้ว

      +ENDR SLIM3R this made my day...!!! lmao... :-)

  • @NoriMori1992
    @NoriMori1992 9 ปีที่แล้ว +8

    I realized at 1:20 that your accent reminds me of the cabbie in _Sherlock_'s "A Study in Pink". Specifically the part where he says, "Is it a bluff? Or a _double_ bluff? Or a _triple_ bluff?"

    • @singingbanana
      @singingbanana  9 ปีที่แล้ว +3

      NoriMori That particular actor is Phil Davis, he's great. Not sure about our accents though.

    • @NoriMori1992
      @NoriMori1992 9 ปีที่แล้ว

      singingbanana Well, to an English person I'm sure they must sound a lot more distinct, but I'm not English, so to me they sound very similar. XD But it's mostly at 1:20 that a sense of similarity strikes me, since it's not just the accent but the words and intonation. XD

    • @o0WillDaBeast0o
      @o0WillDaBeast0o 9 ปีที่แล้ว

      +NoriMori Isn't the OnYomi for 典 (テン)? I'm not getting anything for no ri, but I may be wrong

    • @NoriMori1992
      @NoriMori1992 9 ปีที่แล้ว

      +William Barnes One of the on'yomi is テン, but one of the nanori (name readings) is のり. It's also read that way in the word meaning "rule" or "law".

  • @taciturnip
    @taciturnip 7 ปีที่แล้ว +2

    Knowledge for the sake of knowledge always has the possibility of a real application. Thank you.

  • @Pulsar77
    @Pulsar77 10 ปีที่แล้ว

    This problem seems related to a random walk between boundaries (or Brownian motion). You could also extend the problem to 2 or more dimensions.

  • @CasperWoude
    @CasperWoude 9 ปีที่แล้ว +9

    "Give this to people you don't Like".
    Not so subtle:(

  • @Christophe_L
    @Christophe_L 10 ปีที่แล้ว +44

    I'm not convinced with the "we do it because it helps the world" argument. Admit it. We do it because we want to do it and someone wants to see us do it and will pay for it.
    That sounded better in my head.

    • @Christophe_L
      @Christophe_L 10 ปีที่แล้ว +5

      Ko Kaian That doesn't contradict anything I said.

    • @0Bariq0
      @0Bariq0 10 ปีที่แล้ว +4

      partha sarathy i agree with Christophe L, he was presistant to find the solution not because he thought it would help the world or might actually thought it would, but he did mainly to satisfy his curiosity.

    • @Christophe_L
      @Christophe_L 10 ปีที่แล้ว +8

      Ko Kaian Wow, I don't know where you got that from; you'll need to brush up on your reading skills. All I'm saying is that we don't need additional incentives to discover things and make science other than it makes us feel good. The fact that it helps the world is just a nice side effect. Partha Sarathy got it right.

    • @-_glowing.redmoon_-
      @-_glowing.redmoon_- 10 ปีที่แล้ว +1

      From Newton's Law of Gravity to the Black-Scholes model used by bankers to predict the markets, equations and math problems, are everywhere - and they are fundamental to everyday life.

    • @Christophe_L
      @Christophe_L 10 ปีที่แล้ว +3

      Ada Repli Yes, science is useful.

  • @TMek42
    @TMek42 10 ปีที่แล้ว +1

    you said you get a sequence to save the guy from 3 steps either way of 1160 instructions, but wouldn't there be two sequences dependant on if you started +1 or -1?

  • @bruney74
    @bruney74 10 ปีที่แล้ว +2

    Awesome video! :)
    One insignificant comment though, Hungarian is a pretty weird language, so Erdős, is actually pronounced with an "e" as in egg, and a long "ő" as a long sounding ea in earl. :)
    You rock!

  • @macacalocaedoida
    @macacalocaedoida 9 ปีที่แล้ว +38

    I spoted a mistake in the line 235 at 9:52. that sequence can't work.

    • @macacalocaedoida
      @macacalocaedoida 9 ปีที่แล้ว +37

      First go to the line i said, then run your finger till the 15th step. There. if you look up there will be a giraffe over your head.

    • @richardwalker3760
      @richardwalker3760 9 ปีที่แล้ว +3

      macacalocaedoida I concur. Seems pretty obvious to me.

    • @invaliduser9412
      @invaliduser9412 6 ปีที่แล้ว +1

      Linushz k

    • @Chris_Cross
      @Chris_Cross 6 ปีที่แล้ว

      What? That's stupid. How can there be a giraffe above our heads?

  • @thunderpi
    @thunderpi 10 ปีที่แล้ว +7

    That's easy. In reality, this cliff is in 3 dimensions. Simply walk perpendicular to this snapshot, and you will go free.

  • @26themir
    @26themir 10 ปีที่แล้ว

    You're finally back :)

  • @Justpooinabush
    @Justpooinabush 10 ปีที่แล้ว +16

    "Hopefully more accurate than wikipedia", my deep rooted wikipedian apologist self is angered!
    But seriously, I will trust wikipedia over a majority of other sources. I firstly check to see if I can read an original journal article and if not, check wikipedia for the summary.

    • @singingbanana
      @singingbanana  10 ปีที่แล้ว +11

      Cheap joke. No actual criticism behind it. Although, the proof needs to contain no mistakes. Wikipedia can't claim that.

    • @unvergebeneid
      @unvergebeneid 10 ปีที่แล้ว +1

      singingbanana As long as it doesn't suddenly say "penis" in the middle of the proof, I'm good.

    • @Justpooinabush
      @Justpooinabush 10 ปีที่แล้ว

      singingbanana Haha yeah I understand. But wikipedia has the advantage of being able to edit articles. A large percentage of the media will not do that when presented with the correct answer; most likely due to a lack of time on the journalist's part, which is understandable.
      I go in assuming any wrinkles have been straightened out and errors removed. Which obviously isn't always the case as is seen in this example...

    • @unvergebeneid
      @unvergebeneid 10 ปีที่แล้ว +2

      Jimmy De'Souza Hey, we all fall on hard times from time to time. No need to call yourself a garbage hole ;)
      Edit: Oh no, you fixed the typo. That's so unfair! ;)

    • @gummansgubbe6225
      @gummansgubbe6225 10 ปีที่แล้ว

      Jepp, the last printed work I bought were clearly 'influenced' by commercial forces.
      As the cookbook delivered to children in the Norwegian school system claiming that mayonnaise were an important ingredient in guacomole. With 'donations' from a major Norwegian producer of mayonnaise.

  • @IdealIdeas100
    @IdealIdeas100 10 ปีที่แล้ว +15

    Now what happens if we brought this problem to a 3 dimensional world instead of a 2 dimensional world?

    • @MCDustMonkey
      @MCDustMonkey 10 ปีที่แล้ว +13

      The original problem is 1-dimensional, being only a line. If you were to scale it up to 3 dimensions, you're then dealing with a 4x4x4 cube with 36 hazardous surface vertices and 24 safe interior vertices. The central vertex has 6 paths in which to move, the 6 vertices branching from each of the central vertex has 5 safe paths, the corner vertices have 3 and the edge vertices between each corner has 4. Unless there are further limiting rules for movements, there is literally no end to the possible number of safe movements. So, this was just a long-winded lead-up to say that your question was stupid.

    • @tomasrepisky1763
      @tomasrepisky1763 10 ปีที่แล้ว +5

      Leif Anderson Now that is one devastating answer! LOL

    • @speider
      @speider 10 ปีที่แล้ว +8

      Leif Anderson Not a stupid question, but a long-winded lead-up to a stupid answer. :P
      You wrote "there is literally no end to the possible number of safe movements" after clearly numbering the finite amounts of safe moves from every vertex. Did you not read what you typed? :)
      You could create as complicated path as you wish, to keep safe, but the torturer could still mess that up by taking every other instruction, every third, and so forth.
      Idealldeas100 seemed to think about how the complexity of the problem would increase, and in what way that would affect the result.
      The added dimensions would allow the person a far longer sequence before they perished, but i have no idea about the order of magnitudes higher that would be.It may be as easy as adding the same number of safe steps for every axis, thereby making the answer exactly three times that of the original answer.

  • @nerdbot4446
    @nerdbot4446 10 ปีที่แล้ว +4

    If I stare at the sequence at the end and then look above my monitor I can see rain on my wallpaper

  • @MysterX79
    @MysterX79 10 ปีที่แล้ว +8

    James - Next time you need to have an epilepdic warning before showing a sequence of 30000 pluses and minuses! :-)
    Btw ... very good video!!

  • @MWSin1
    @MWSin1 7 ปีที่แล้ว

    It seems like regardless of how many steps there are between the start and one of the traps, the largest sequence that actually has a solution would always have exactly two solutions, which are mirror images of each other. Is that right?

  • @g4anode
    @g4anode 10 ปีที่แล้ว +48

    And when quantum computing becomes a thing, proofs like this will be commonplace. Next up a version of Windows that actually works. That may be a bit trickier though.

    • @rafagd
      @rafagd 10 ปีที่แล้ว +17

      It's quantum physics, not quantum miracles!

    • @rafagd
      @rafagd 10 ปีที่แล้ว +7

      ***** Even miracles can't fix windows. =(

    • @bob.justbob.3875
      @bob.justbob.3875 10 ปีที่แล้ว +1

      Windows XP!

  • @tabularasa0606
    @tabularasa0606 10 ปีที่แล้ว +19

    Somehow I feel prime numbers need to be involved in the proof.

    • @Arbmosal
      @Arbmosal 10 ปีที่แล้ว +3

      What makes you think so? I would be very suprised to find some kind of multiplicative structure in the boundary. Also when have primes ever been fundamentally involved in combanitorial problems? One can think of the sequence of +1 and -1 as a 2 dimensional random walk, and nothing I know about random walks uses primes.
      But: I am not very literate in these kind of problems. If you could give me a combinatorial problem involving prime you would really make my day, since I love primes =D

    • @tabularasa0606
      @tabularasa0606 10 ปีที่แล้ว +1

      Rene Roundthecorner It looks like a algorithm to calculate primes using a grid.

    • @alcesmir
      @alcesmir 10 ปีที่แล้ว +1

      tabularasa0606
      You're thinking about Eratosthenes's sieve. But this problem really isn't related to that. This problem involves taking the sum of element whose index is a multiple of N while Eratosthenes's sieve involves ignoring multiples of N (excluding N).

    • @tabularasa0606
      @tabularasa0606 10 ปีที่แล้ว

      Alcesmire Ah, yes that's the one. There are similarities, since both revolve about the tables of multiplication. You need either the sum of the elements at that position or you remove that element from the list of possible primes.

    • @JentleSticks
      @JentleSticks 10 ปีที่แล้ว +1

      same, I also felt there was prime number involvement for some reason :o no reason, just a feeling

  • @drewpacabra4136
    @drewpacabra4136 7 ปีที่แล้ว

    Something neat I noticed: the sequence of 1's and -1's make the Fair Share Sequence (if you don't know what that is, go watch that numberphile video)!

  • @johnkunselman1596
    @johnkunselman1596 10 ปีที่แล้ว

    If you were to do this on a two axis version (x,y) how many steps would you have to do?

  • @KasabianFan44
    @KasabianFan44 10 ปีที่แล้ว +11

    LOL Snakes with a really bad breath :P

  • @Mantorok
    @Mantorok 9 ปีที่แล้ว +6

    What if the instruction is to stand still? %)

  • @EtoileLion
    @EtoileLion 10 ปีที่แล้ว

    Why would you start deriving your sequence from 1? Would it not make more sense to start at 6 (or more generally floor(steps/2) ) and work backwards?

  • @Ericandroy
    @Ericandroy 6 ปีที่แล้ว

    When I couldn’t do it starting at the origin, I moved the starting point half a step forwards so you could take one Aye forward and up to two steps back safely. That made it possible using the conditions he originally set.

  • @Nads508
    @Nads508 10 ปีที่แล้ว +6

    At the end I imagend a dancer going backwards and forward synced with the music :)

  • @deadeaded
    @deadeaded 8 ปีที่แล้ว +37

    Tao referenced your video in a talk he gave: watch?v=QauoO0j9Y9Y, at around 9:30

    • @singingbanana
      @singingbanana  8 ปีที่แล้ว +38

      +deadeaded That's so cool. Thanks for showing this to me.

    • @deadeaded
      @deadeaded 8 ปีที่แล้ว +18

      fiziks
      Some websites don't let you post links, so I got into the habit of just copying the end of the url, since it's almost never blocked or censored.

    • @abasoraya
      @abasoraya 6 ปีที่แล้ว +2

      But I'm watching in mobile app and can't copy 😭

  • @keeganmaloney3440
    @keeganmaloney3440 10 ปีที่แล้ว +2

    I believe the solution to the erdos discrepancy problem would necessarily be a fractal equation. That is, an equation that results in a self-related data set that has a non-repetitive progression.

  • @rikschaaf
    @rikschaaf 10 ปีที่แล้ว

    If you didn't know the question that the sequence was used for, could you give a degree of randomness on the order of plusses and minusses?

  • @ComputersAreRealCool
    @ComputersAreRealCool 8 ปีที่แล้ว +145

    easiest solution: 0 0 0 0 0 0 0 0 0 0 0 0

    • @GloveSlapnz
      @GloveSlapnz 8 ปีที่แล้ว +8

      That's not one step forward or back

    • @ferko28
      @ferko28 8 ปีที่แล้ว +23

      +GloveSlapnz What if you're "stepping" (don't know the right word) upwards? Or into the 4th dimension?

    • @GloveSlapnz
      @GloveSlapnz 8 ปีที่แล้ว +3

      +RnDn. El Ferko you would only have to step into the third dimension I guess lol.

    • @ferko28
      @ferko28 8 ปีที่แล้ว

      GloveSlapnz 4th dimension makes everything looks cool.

    • @red13emerald
      @red13emerald 8 ปีที่แล้ว +20

      +RnDn. El Ferko If you can step into the 4th dimension you torturer isn't going to get you anyway.

  • @RalphDratman
    @RalphDratman 10 ปีที่แล้ว +5

    What makes this an Interesting Problem?

  • @mbbx6ss2
    @mbbx6ss2 8 ปีที่แล้ว

    Please do another video explaining what program they used (hol, coq, isabell?) and preferably roughly how it works.

  • @jamez6398
    @jamez6398 10 ปีที่แล้ว

    How many A4-sized pages of font 12 Aerial text sized information in the form of variables and functions etc. would that amount of mathematical data occupy exactly?

  • @Sauspreme
    @Sauspreme 7 ปีที่แล้ว +6

    man that credits section had some weird names.

  • @hamzatu2
    @hamzatu2 10 ปีที่แล้ว +3

    LOL snakes with bad breath LOL

  • @chapter750
    @chapter750 10 ปีที่แล้ว

    Thank you for your example which helped to explain the absolute value sign in the formal expression of the theorem. Your video was very entertaining and easy to grasp unlike the written commentaries. You are a great combination of stage actor and university prof. Which is it? Or both?

    • @singingbanana
      @singingbanana  10 ปีที่แล้ว +2

      I'm definitely an academic. I was sure there must be an easier way to explain it than what I had seen in the news stories.

    • @chapter750
      @chapter750 10 ปีที่แล้ว

      singingbanana As far as my retired friend with an MA in EE and myself with a mere MA in the social sciences, you succeed handsomely. I am traveling to the UK to take your math class. five thumbs up.

  • @zatytom
    @zatytom 9 ปีที่แล้ว

    Three questions:
    (i) Are the solution sequences at 11 and 1160 moves unique (bar the trivial swapping of -1 for 1)? Are all solution sequences expected to be unique/non-unique?
    (ii) Can this be generalised to unit moves on a 2D cartesian grid? What about in more dimensions?
    (iii) Why is this problem hard? It's reasonably trivial to understand and express, but is there a reason that one could spot, on asking, that it was not in fact a trivial problem?

  • @MrTurkmenistan1000
    @MrTurkmenistan1000 10 ปีที่แล้ว +5

    if you made all into binary, you could possibly make some cool art or word or something

  • @Fooglmog
    @Fooglmog 9 ปีที่แล้ว +5

    Anyone else catch the error in that sequence at the end? Number 6382 should have been a +, not a -. I assume it was a transcription error.

  • @DemolitionTurtle
    @DemolitionTurtle 10 ปีที่แล้ว

    Very interesting video, James! Thanks for the information about this! :D

  • @Namezzzzzzz
    @Namezzzzzzz 10 ปีที่แล้ว

    " One of the sequences of length 1160 of discrepancy 2 can be
    found in Appendix A for reader’s amusement."
    i love the paper
    thanks you for this video, showing again how we can work on problems using computers

  • @JamesJesseGTA
    @JamesJesseGTA 10 ปีที่แล้ว +4

    I'm glad I'm not a mathematician.

  • @AliHamedMoosavian
    @AliHamedMoosavian 10 ปีที่แล้ว +10

    Why can't we give conditional instructions? If x>0 then -1 else +1

    •  10 ปีที่แล้ว +2

      Because of the wish of the torturer. He can make you follow every n th instruction. With the condition you propose the normal set of instructions would be: 1, -1, 1, -1, 1, -1... but if he ordered you to follow the 2nd instructions you would have to follow the 2nd, 4th, 6th, 8th instructions, and those would be -1, -1, -1, -1, -1... and you would fall

    • @AliHamedMoosavian
      @AliHamedMoosavian 10 ปีที่แล้ว +2

      Luís Miguel Those are not my instructions. I meant, literally conditional instructions. Anyway, I think it's not worth arguing about; it's just about the way he represented the problem(without any explicit constraints on the instructions), my first thought was, OK, "at each step I'll measure my position and move towards the center." That is the instructions I would use. After listening to the whole video it becomes clear that they meant explicit list of steps, therefore conditional rules are probably not allowed😀

    • @ArtArtisian
      @ArtArtisian 10 ปีที่แล้ว +3

      Seyed Ali Hamed Mousavian
      Yah... Conditional instructions would mean you'd never fall off the cliff for any size bigger than 1, which kinda ruins the fun of the whole thing. It also seems like it'd be a pain to get any interesting results from sets of conditional statements.

    • @BagaJr
      @BagaJr 10 ปีที่แล้ว

      Luís Miguel He was saying torturer?! I couldn't understand what that t-word was, I just figured it was some word I didn't know lol

    •  10 ปีที่แล้ว

      Baga Jr heheh I had to go back a couple of times too :-P

  • @tearlach47
    @tearlach47 7 ปีที่แล้ว +1

    My first attempt was trying to implement the Thue-Morse sequence into it, and it worked well for every [n] number of instructions, except for every 3.

    • @tearlach47
      @tearlach47 7 ปีที่แล้ว +1

      And as I see you fill in "your version' of the puzzle, you take a completely different methodology towards the problem, yet you still get the same result as I! Very interesting!

  • @Kasper34
    @Kasper34 10 ปีที่แล้ว

    Just by intuition, this problem would differ if your starting point was not in the middle of the two end points. Say your starting point was 1 step away from the snakes or 1 step away from the cliff. Does that change the 11 step max that guarantees safety?

  • @gunks_getaway
    @gunks_getaway 8 ปีที่แล้ว +6

    in the last example, I saw many sequences of 5.

    • @singingbanana
      @singingbanana  8 ปีที่แล้ว +11

      +Thomas Gunkler Can you work out why that's ok?

    • @singingbanana
      @singingbanana  8 ปีที่แล้ว +19

      +Ethan Cooper Exactly

    • @gunks_getaway
      @gunks_getaway 8 ปีที่แล้ว +2

      singingbanana
      Apologize, I wasn't paying attention, I was under the impression that it was 4 steps we were looking for. I make a poor mathematician, can't even follow directions! Love the videos! Way over my head, mostly, but very enjoyable to watch.

    • @bailey125
      @bailey125 8 ปีที่แล้ว

      4 steps to the snake and 4 steps to the cliff so there are 9 steps in the safe zone

    • @MKkniGEAR
      @MKkniGEAR 8 ปีที่แล้ว +2

      +baileyboy125 no, there are 7 safe zones (4th steps are lethal) which allows us a maximum number of steps in the same direction of 6 (from -3 to 3).

  • @GregoryMcCarthy123
    @GregoryMcCarthy123 9 ปีที่แล้ว +4

    I might have not been paying attention but... can't you just NOP each instruction?

    • @SpencerTeillon
      @SpencerTeillon 9 ปีที่แล้ว +2

      +Greg McCarthy then he just shoots you

    • @karlloll
      @karlloll 8 ปีที่แล้ว

      only 1 step forward or backwards are the Only moves, learn to listen.

  • @wheedler
    @wheedler 8 ปีที่แล้ว +1

    In the stated problem, with the cliff behind you and the snakes in front, it sounded like facing was a thing, so just turn 180 each time.

    • @Trynottoblink
      @Trynottoblink 8 ปีที่แล้ว +3

      True, though to be fair it's Grime's formulation of the problem. Mathematicians themselves don't conceive of it in terms of cliffs and snakes; the problem itself is normally stated in a way laypeople couldn't understand.

  • @veztron
    @veztron 2 ปีที่แล้ว +1

    @singingbanana did you see that Terry Tao talked about your interpretation of the Erdos discrepancy problem in his new MasterClass course? Pretty cool