Peaceable Queens - Numberphile

Поділитися
Вставка
  • Опубліковано 27 тра 2024
  • Neil Sloane discusses peaceable queens and chess. Check out Brilliant (get 20% off their premium service): brilliant.org/numberphile (sponsor)
    More links & stuff in full description below ↓↓↓
    Learn more at the OEIS entry (loads of links): oeis.org/A250000
    References:
    Ainley, Stephen. Mathematical Puzzles. London: G Bell & Sons, 1977.
    Yukun Yao and Doron Zeilberger, Numerical and Symbolic Studies of the Peaceable Queens Problem, arxiv.org/abs/1902.05886
    Other notable work by Michael De Vlieger, Benoit Jubin, Peter Karpov, Don Knuth, Rob Pratt, Bob Selcoe, Paul Tabatabai.
    More Numberphile videos with Neil Sloane: bit.ly/Sloane_Numberphile
    More chess-related videos: bit.ly/chess_numberphile
    Numberphile is supported by the Mathematical Sciences Research Institute (MSRI): bit.ly/MSRINumberphile
    We are also supported by Science Sandbox, a Simons Foundation initiative dedicated to engaging everyone with the process of science. www.simonsfoundation.org/outr...
    And support from Math For America - www.mathforamerica.org/
    NUMBERPHILE
    Website: www.numberphile.com/
    Numberphile on Facebook: / numberphile
    Numberphile tweets: / numberphile
    Subscribe: bit.ly/Numberphile_Sub
    Videos by Brady Haran
    Patreon: / numberphile
    Numberphile T-Shirts: teespring.com/stores/numberphile
    Brady's videos subreddit: / bradyharan
    Brady's latest videos across all channels: www.bradyharanblog.com/
    Sign up for (occasional) emails: eepurl.com/YdjL9
  • Наука та технологія

КОМЕНТАРІ • 601

  • @ExtantThylacine
    @ExtantThylacine 5 років тому +1749

    Maybe it's just me, but to me it sounds like if I went and talked to this guy he'd give me a quest.

    • @andymcl92
      @andymcl92 5 років тому +56

      I think that's a mid-Atlantic accent he has that creates that effect. I'd been thinking about the accent and wondering why he would naturally have that. Then I looked him up and found out he's British-American. Makes sense...

    • @CasparAbelmann
      @CasparAbelmann 5 років тому +49

      And it'd be an unsolved mathematical puzzle

    • @eric9822
      @eric9822 5 років тому +23

      He did. Complete this sequence. :)

    • @mitchellgiles6869
      @mitchellgiles6869 5 років тому +18

      You have to retrieve a 30×30 chessboard from the cave of 28 queens

    • @zionj104
      @zionj104 5 років тому +2

      I feel the exact same way lol

  • @tvhoang
    @tvhoang 5 років тому +763

    Wow! This is the founder of OEIS !! Thank you a lot!

    • @robo3007
      @robo3007 5 років тому +68

      I can't believe I've only just learned this now!

    • @ethanpayne4116
      @ethanpayne4116 5 років тому +10

      I know, I was like dang the OG himself.

    • @gammazzz3894
      @gammazzz3894 5 років тому +10

      with the voice like butta

    • @metadaat5791
      @metadaat5791 5 років тому +10

      I was looking at the books behind him and thought "huh, he has a whole row of books by the OEIS guy" -- only to later realise that I had been looking at the author himself :-)

    • @KX36
      @KX36 5 років тому +8

      Suddenly every numberphile video with him in makes sense. They're all about pointless sequences. There could be a "Sloane's sequence" on OEIS. Pick a number in every sequence on OEIS and call it a sequence known up to 250,000. It would be as suitably pointless as any.

  • @Sirenhound
    @Sirenhound 5 років тому +285

    0:06 I've been moving my queen wrong all this time!

    • @thinboxdictator6720
      @thinboxdictator6720 5 років тому +13

      how else you can move it , weirdo?
      isn't it in FIDE rules 2019?

    • @acidjumps
      @acidjumps 5 років тому +61

      It's a difficult move to pull off and it's very risky . If your rating is over 2500 you can start thinking about doing flips with your queen, before that, I'd stick to sliding

    • @gliptal
      @gliptal 4 роки тому +15

      @@TheLetterJ10 no

    • @Sciencedoneright
      @Sciencedoneright 3 роки тому

      @@TheLetterJ10 he was joke too so you deserved the r/woosh lol

    • @DrKaii
      @DrKaii Рік тому

      @@Sciencedoneright what

  • @y.h.w.h.
    @y.h.w.h. 5 років тому +614

    Wait HE'S the integer sequence database guy? I never knew!

    • @gpk6458
      @gpk6458 5 років тому +27

      Wow... Also kinda makes sense why he's friends with Don Knuth.

    • @sirdiealot7805
      @sirdiealot7805 5 років тому +10

      @@gpk6458 They even almost look the same.

    • @y.h.w.h.
      @y.h.w.h. 5 років тому +9

      Right? Just humblebrag about knowing Knuth. Like you aren't already a total badass.

    • @andrewkepert923
      @andrewkepert923 5 років тому +1

      @@sirdiealot7805 it's the T-shirts

    • @TymexComputing
      @TymexComputing 5 років тому +2

      Yes - it struck me to :) and it has been already founded in 1964? Has there been the VT100 or VT1 :) protocol to be able to access remote systems already? I remember his name from previous N-P videos but went to the description to make me sure i remember it correctly but did not found the name in the description :).... Numberphile... NP ? wow :)

  • @johnpossum556
    @johnpossum556 5 років тому +1538

    Mathematicians just like to make up strange problems for fun, don't they?

    • @gavinludemann3550
      @gavinludemann3550 5 років тому +229

      We call that process 'mathematics'.

    • @Djorgal
      @Djorgal 5 років тому +83

      @@koseq7 And lots of times a mathematician found and solved a problem just for fun. On the other hand, an engineer has got a real life problem that could elegantly be solved with the mathematician's work. However, since this engineer has never heard of said work, he never thinks of using it.

    • @roku_nine
      @roku_nine 5 років тому

      They earned it

    • @xanamata5386
      @xanamata5386 5 років тому +2

      everything has an appliance

    • @johnpossum556
      @johnpossum556 5 років тому +1

      @@koseq7 Have any real life examples? I'd honestly like to hear, especially any parts about how they manage to get matched up.

  • @TylerMatthewHarris
    @TylerMatthewHarris 5 років тому +331

    Brady's gettin' all fancy with the graphics now. lol

    • @mattk8440
      @mattk8440 5 років тому +7

      I kinda prefer the watercolour ones

    • @Bacopa68
      @Bacopa68 5 років тому +27

      He took a class on computer graphics at Brilliant.

    • @pmcpartlan
      @pmcpartlan 5 років тому +5

      @@mattk8440 I like to mix it up

    • @tutoringwestern4970
      @tutoringwestern4970 5 років тому +1

      And now his videos are taking longer :/

    • @pmcpartlan
      @pmcpartlan 5 років тому +4

      @@andermium :) it's a shame I don't get a special icon / emoji or something

  • @charbelnakad7668
    @charbelnakad7668 5 років тому +425

    The way he explains it makes it way more interesting

    • @69Cil
      @69Cil 5 років тому +6

      lumberjack
      Your observation made this video even more enjoyable for me

    • @freediugh416
      @freediugh416 5 років тому +9

      @@69Cil your expression of enjoyment made this more interesting

    • @Triantalex
      @Triantalex 6 місяців тому

      false.

  • @Propulus
    @Propulus 5 років тому +75

    Neil is just the best free time math professor. Fun, odd problems explained in a calm, collected yet confident voice. He's the David Attenborough of Mathematics.

  • @jamesimmo
    @jamesimmo 5 років тому +108

    I just love that, on top of this, OEIS A250001 was ‘randomly’ chosen as his overlapping-circles integer sequence that was recently covered

    • @rosiefay7283
      @rosiefay7283 5 років тому +12

      I also note that OEIS was already beyond A260000 when this video was being made.

    • @Triantalex
      @Triantalex 6 місяців тому

      ??.

  • @ze_rubenator
    @ze_rubenator 5 років тому +186

    My immediate thought upon hearing this problem is knight moves. One knight move away is the closest opposite queens can be without attaching each other.

    • @ZachGatesHere
      @ZachGatesHere 5 років тому +18

      The difficulty there is as it grows. Remember same color can be adjacent no problem.

    • @ze_rubenator
      @ze_rubenator 5 років тому +39

      @@ZachGatesHere Yes, but interestingly the big clusters at the end there are a close resemblence to very big knight moves.

    • @IwanttoliveinParis
      @IwanttoliveinParis 5 років тому +6

      My immediate thought was Old Time Rock and Roll.

    • @saranchance5650
      @saranchance5650 5 років тому +3

      David Ryder do you mean old time rook and roll? lol

    • @kasperm.r.guldberg7354
      @kasperm.r.guldberg7354 5 років тому

      @@IwanttoliveinParis I think Sloane might be a Deadhead (like yourself perhaps). His t-shirts provide a clue.

  • @artemis5168
    @artemis5168 4 роки тому +8

    This man has literally the most relaxing voice on Earth. I'm more interested in this than I've been in anything for years, and I'm falling asleep because of his voice.

  • @swingardium706
    @swingardium706 5 років тому +64

    6:12 you can simplify the problem by noticing that if the King was a Queen, only the spaces which that Queen can attack would threaten the King. So you just have to place the King somewhere that the number of squares that he threatens if he becomes a Queen is minimised i.e. in the corner of the board, where he threatens 21 squares and occupies another, leaving 42 squares free and safe. For a formula for the number of safe squares of an n x m grid where n is greater than or equal to m, consider that the King reduces the grid to dimensions (n-1) x (m-1) by removing the non-diagonal dangerous squares, and an extra m-1 squares because the diagonal removes one square from each of the remaining rows. This leaves n*m - n - 2m + 2 squares, which simplifies to (n-2) x (m-1), which agrees with the earlier answer of 42 Queens for an 8x8 board. In fact, placing the King anywhere on the shortest edge of the board (or anywhere on any edge when n=m) would yield this answer since moving the King along that side would reduce the number of dangerous squares 'below' the King by two and increase the number of dangerous squares 'above' the King by two, leaving the total unchanged (this is much easier to understand using a diagram).

    • @loek5886
      @loek5886 5 років тому +4

      I saw this as well, nice explanation

    • @arcanics1971
      @arcanics1971 5 років тому +5

      This was also my reasoning, though I suspected I was wrong and had missed something. Glad to see that was just paranoia.

    • @andymcl92
      @andymcl92 5 років тому +3

      I was taking a similar approach. However if you only consider square boards, you realise that the king in the corner leaves two triangular wedges with a length of n-2. This means the free spaces are 2*1/2*(n-2)((n-2)+1), and it reminded me of the visual derivation of the formula for triangular numbers.
      I'm aware I'm not really adding much to the discussion, I just thought that connection was nice :)

    • @Mihau_desu
      @Mihau_desu 5 років тому +2

      @@loek5886I also have attempted to solve the problem, so I've decided to look at the comments in order to find out if I think correctly. It turns out I did. Really happy about it. 😃

    • @swingardium706
      @swingardium706 5 років тому +4

      @@andymcl92 that was actually my initial thought too! Great minds think alike I see ;)

  • @Lordoftheflies234
    @Lordoftheflies234 5 років тому +72

    Upper bound is n²/2. Where's my Fields medal?

  • @alexgabel4379
    @alexgabel4379 5 років тому +47

    Holy shit he's actually wearing the same t-shirt as Knuth in the cut-away 0:40

    • @SantiagoArizti
      @SantiagoArizti 5 років тому

      Maybe Knuth is his Tony Clifton to his Andy Kaufman

    • @andrewkepert923
      @andrewkepert923 5 років тому +3

      either that or he is wearing a different but isomorphic t-shirt, at least for the top half of the front of both t-shirts.

    • @themazeecho9336
      @themazeecho9336 5 років тому +1

      Can anyone tell me what's the logo of this T-shirt?

    • @kasperm.r.guldberg7354
      @kasperm.r.guldberg7354 5 років тому

      Maybe these are conference-specific t-shirts, and Sloane wears it in the main video because of the memory value.

    • @SFKelvin
      @SFKelvin 5 років тому

      deepfake?

  • @FerousFolly
    @FerousFolly 5 років тому +61

    This is maths ASMR

  • @DanHassan
    @DanHassan 5 років тому +3

    I think my solution for the King and Lots of Queens puzzle is (n*n)-((n*3)-2) and by placing the king in one of the corners. Basically treat the king as a queen and minimize the amount of spaces it can move to in one turn. Then fill the rest with white queens. Looking into it a little further I think it'll work with the king anywhere touching the edges of the board.

  • @ikr555
    @ikr555 5 років тому +3

    For the final brilliant puzzle, the max is [(m*n) - 2m - n + 2] where m < n. With the king in the corner, take out each edge and the diagonal, and then add 2 for the overlap.

  • @shottysteve
    @shottysteve 5 років тому +61

    Why would that queen capture it was guarded by the pawn

    • @kikicat123
      @kikicat123 3 роки тому +9

      Math.

    • @tonaxysam
      @tonaxysam 3 роки тому +5

      We are mathematicians here, not GM :v

  • @voliol8070
    @voliol8070 5 років тому +106

    What if you have a chessboard of n*n tiles, and m different colors of queens?

    • @JohnMcFee1
      @JohnMcFee1 5 років тому +10

      I'm not sure what the problem is properly called but this is a known problem, above a certain number (4 I believe) all nxn chess boards can contain n queens without them attacking one another; having said that they are hard to find and it can be an enjoyable puzzle

    • @alzblb1417
      @alzblb1417 5 років тому +1

      @@JohnMcFee1 I can't find the problem. Reply if you remember how is it called.

    • @JohnMcFee1
      @JohnMcFee1 5 років тому +3

      @Alzblb Wikipedia calls it the n queens problem

    • @EtoileLion
      @EtoileLion 5 років тому +3

      @Winston Mcgee Except that wasn't the problem described; or more specifically, it's the problem described for the specific case m=n. The problem as described by the video is m=2; but what about the generalized case where m is between 2 and n?

    • @toddbiesel4288
      @toddbiesel4288 5 років тому +4

      And how about p dimensions?

  • @arkantyne7122
    @arkantyne7122 5 років тому +10

    "Chess Queens are a trained warrior. They are trained to attack."
    *sees queen captured by other queen*

  • @tomburns5231
    @tomburns5231 5 років тому +3

    I love these kind of combinatorics. Very intuitive to a lay audience and equally mysterious to all.

  • @MattStum
    @MattStum 5 років тому +58

    I pronounce it "Twenty Eight" instead of "Twenty Eight"

    • @Gimpy2K5
      @Gimpy2K5 5 років тому +13

      Whoa man... that's rather rude don't you think?

    • @therflash
      @therflash 5 років тому

      @@Gimpy2K5 woosh

    • @oldcowbb
      @oldcowbb 4 роки тому +1

      i thought it's twenty eight

    • @quinn7894
      @quinn7894 4 роки тому +3

      @@therflashwoosh?

    • @zoetropo1
      @zoetropo1 4 роки тому +1

      Two ten eight, in Chinese format.

  • @javierprieto4589
    @javierprieto4589 5 років тому +1

    6:25 It is easy to solve that problem. You can generalize it for a board m*n this way. If m>n, then the number of queens you can place down is n^2 - m - 2n - 2. If m=n then the number is n^2 - 3n - 2

  • @MrMehawk
    @MrMehawk 5 років тому +1

    I adore OEIS! Thank you for your work!

  • @SilverstarStream
    @SilverstarStream 5 років тому +4

    This is pretty neat timing, I just learned about the similar n-queens problem for my Algorithms class!
    Great video, as always.

  • @Fopenplop
    @Fopenplop 5 років тому +4

    i love the sound design in this video

  • @joeshoesmith
    @joeshoesmith 5 років тому +15

    Real life plot twists: this random guy you recognise runs the OEIS
    I'm also fairly certain his quest would be a puzzle solve, fellow person who thinks he sounds like a quest NPC

  • @Lovuschka
    @Lovuschka 5 років тому

    Maximum number of queens is 42 for Numberphile's problem at the end, obviously, with the black king in a corner. And what generalization do you want? If n

  • @xanokothe
    @xanokothe 5 років тому +5

    Wow this is another level of animation. Good job!

  • @OskarSigvardsson
    @OskarSigvardsson 5 років тому

    I love all the numberphilers, but I think I love Neil Sloan the most. He just has such evident love and appreciation for this stuff. And such a kind and generous demeanor.

  • @MistaEast
    @MistaEast 5 років тому +2

    I got my A250001 4 circles poster today and went to OEIS to look at A250000. Imagine my surprise when this is today's video!

  • @Snootypriss
    @Snootypriss 5 років тому

    I love Neil's vids. They define recreational math, lateral thinking, and are just plain interesting.

  • @Arnaz87
    @Arnaz87 5 років тому +1

    Kudos for the animation!

  • @JimGiant
    @JimGiant 5 років тому +1

    Question at the end:
    42. You can rephrase the question to given a square on an 8 by 8 grid how many of the remaining 63 squares are not on the same row, column or diagonal and which starting square positions maximise this number?
    There will always be 14 in the same row and column but the diagonals are variable. Anywhere on the edge will have 7 on the diagonal but moving away from the edge will increase this number keep the king on the edge. 63 - 7 - 7- 7 = 42.

  • @thesuccessfulone
    @thesuccessfulone 5 років тому +5

    This problem actually relates nicely to matter anti-matter pairs in crystalline structures

    • @gammazzz3894
      @gammazzz3894 5 років тому +3

      any links we could check out to learn more about that? sounds really interesting

    • @TheRealChristopherD
      @TheRealChristopherD 4 роки тому +2

      @@gammazzz3894 I tried to send you a couple but they annihilated each other.

    • @gammazzz3894
      @gammazzz3894 4 роки тому

      @@TheRealChristopherD damn and u just annihilated me

  • @ThePeaceableKingdom
    @ThePeaceableKingdom 5 років тому +8

    Speaking as "The Peaceable Kingdom," how can I not love this problem?

    • @andrerenault
      @andrerenault 5 років тому +1

      Now I have a Rush song stuck in my head

    • @ThePeaceableKingdom
      @ThePeaceableKingdom 5 років тому

      @@andrerenault Lol! 😂 I had forgotten about that!
      (no relation)

  • @chaoslab
    @chaoslab 5 років тому

    Wonderful stuff!

  • @xyz.ijk.
    @xyz.ijk. 5 років тому

    This was an unusually beautiful presentation.

  • @LuigiElettrico
    @LuigiElettrico 5 років тому

    Thank you for the OEIS database

  • @BattleFieldGalaxy
    @BattleFieldGalaxy 5 років тому +7

    0:07 ..Qxb6?? blunder!

  • @andrewk5434
    @andrewk5434 5 років тому

    I spent the morning watching old Numberphile videos about chess. A few hours later this shows up in my subscriptions feed...

  • @louismendes4743
    @louismendes4743 5 років тому

    his studio room is utterly fabulous.

  • @NtrlCauses
    @NtrlCauses 5 років тому

    What a delightful video!

  • @alexandertalashov8204
    @alexandertalashov8204 5 років тому

    The book set on the back side of the interviewee is just perfect!

  • @COZYTW
    @COZYTW 5 років тому

    I just saw this problem the other day, it was the entry right before the overlapping circles entry :O

  • @blergblergblerg1343
    @blergblergblerg1343 5 років тому

    Beautiful problem, sounds like the kind which leads to awesome new theories with greater reaches than the problem itself

  • @mikefochtman7164
    @mikefochtman7164 3 роки тому

    I think an interesting variation of this would include some 'range' term for the queens. That is to say, they can only attack an opposing queen if it is within 'k' squares. So on very large boards ( n >> k), what becomes the highest possible 'density' of queens per region? (spends the rest of the morning fiddling with paper and python....)

  • @RobertMilesAI
    @RobertMilesAI 5 років тому +27

    I read the comments before the video was finished to see if my answer (42) was right, and was amazed that everyone seemed to think it was only 28

    • @alephnull4044
      @alephnull4044 5 років тому +4

      Pretty sure it's 42 yeah. 64-8-7-7.

    • @manowartank8784
      @manowartank8784 5 років тому +2

      i also counted 42, just place king in corner and subtract 3 beams of 7 and 1 of his own tile, everything rest can be queen

    • @alephnull4044
      @alephnull4044 5 років тому

      @@manowartank8784 I think it's independent of where you put the king.

    • @ArmadilloAl
      @ArmadilloAl 5 років тому +2

      @@alephnull4044 It shouldn't be. The last sentence of the prompt is "You can place the king wherever you think is more profitable."

    • @alephnull4044
      @alephnull4044 5 років тому +5

      @@ArmadilloAl Oh sorry I mean independent given that he's one of the edges.

  • @azukar8
    @azukar8 5 років тому +25

    Peaceable Voice

  • @patrickwienhoft7987
    @patrickwienhoft7987 5 років тому

    The answer to the problem with the black king is 42 (as always).
    View from the King's spot: which tiles can he be beaten from? - There's 7 horizontally and verticall each. The number of diagonal tiles he can be beaten from varies depending on his position, but is smallest when he is on the edge, then it's 7 diagonally as well. Finally, the tile of the King can not be inhabited by a queen. All other tiles can have a queen, giving us 64-7-7-2-1 = 42.
    For a board of size nxn in general it's n²-3n-1 by the same method.

  • @JoseEduardo-rw2rh
    @JoseEduardo-rw2rh 5 років тому +9

    I collected the votes. I made my cantidate win. Luv this guy!!

  • @headshiphero
    @headshiphero 5 років тому

    More Neil Sloane videos please! Not only is here the founder of the OEIS, but he also has a lovely relaxing voice :)

  • @kempshott
    @kempshott 5 років тому +1

    I always wondered why the power settings on our AEG induction hob were 0,1,3,5,8,10,14.
    But thanks to OEIS I now know that it's Sum_{k=1..n} floor(n/k)

  • @kaustubhgupta46
    @kaustubhgupta46 5 років тому

    So YOU run this online encyclopedia of integer Sequences?
    Wow!
    I simply love the site!

  • @goattrain
    @goattrain 5 років тому

    The combination of his voice with this music was almost eerie; I loved it! The problem described was also loads of fun.
    Is there any way to find the song used in this video?

  • @plaustrarius
    @plaustrarius 5 років тому +4

    He runs the OEIS?!?! oh my gosh i had no idea I tell everyone about that site!!

  • @PraveenRaj1987
    @PraveenRaj1987 5 років тому

    Respect for Numberphile to show the one who hosts OEIS. 🙏🏼🙏🏼

  • @James-jq7tg
    @James-jq7tg 5 років тому +4

    i'd like to know why some arrangements don't follow the four clump distribution, and what, if anything, is special about these board sizes

  • @robinlindgren6429
    @robinlindgren6429 5 років тому

    king and a lot of queens my solution: we solve this problem by filling the entire board with queens except for the spaces that would attack the king, so how many spaces can attack the king? (this question is equivalent to: if a queen stood in the kings space, how many spaces would it be able to move to?)
    well for an MxN board, there are M-1 vertically aligned spaces and N-1 horizontally aligned spaces to the kings space. the king should optimally be placed either in a corner or on the shorter edge, in both cases there would be exactly MIN(M,N) -1 diagonally aligned spaces to the kings space (from here we will assume that M>=N, this does not change the problem and lets us express MIN(M,N) as simply N) and finally a queen cannot be placed in the kings space, therefore, since an MxN board has M*N total spaces, the general solution is: M*N-(M-1)-(N-1)-(N-1)-1 = M*N-M+1-2(N-1)-1 =
    M*(N-1)-2(N-1) = (M-2)*(N-1)

  • @deathfin4794
    @deathfin4794 5 років тому +2

    Any video featuring Neil Sloane is always a pleasure to watch.

  • @CrashSable
    @CrashSable 11 місяців тому

    The moment you bring out a chess board for a problem, the answer before you even start speaking is always going to involve the Knight move, just because it's the only movement no other piece can replicate in one turn.

  • @lettilibra56
    @lettilibra56 5 років тому

    superb - thanks

  • @zestyorangez
    @zestyorangez 5 років тому +1

    The animation is great in this episode

  • @Bluedragon2513
    @Bluedragon2513 5 років тому

    These are super basic assumptions I created to find some permutations..although these are 100% wonky
    1. We require for n amounts of Queens to be placed on the board, but there must n amounts of spaces left over.
    2. We can cut down the brute force by saying if(there is a queen on each row){go onto the next sequence}
    3. Of course, we will save that sequence in case it becomes a Parent sequence to sequences with higher N's. For instance, we might use N = 24 for an 18x18. But after we compute that, we go onto N=25 and happen to find a sequence that matches a sequence in N=24.
    4. We can cut it down even more by saying if(there is a queen on each column){go onto next sequence}
    5. We can cut it down even more by saying if(there is a queen on a whole diagonal){go onto next sequence}; although, we can generalize this even more by saying if(there is a queen on half or greater than half of the BOTH diagonals){go onto next sequence}
    6. We can cut it down even more by saying if(queens >= area of chessboard){Next chessboard size}

  • @stormysamreen7062
    @stormysamreen7062 5 років тому +1

    Literally any chess piece: *exists
    Queen: "Get nae-nae'd"

  • @Wookiesmasher
    @Wookiesmasher 4 роки тому

    Neil is a true treasure!

  • @JeyJeyKing1
    @JeyJeyKing1 5 років тому +1

    There is an error at 2:50. 6x6 is supposed to be 5, not 6.

  • @Menosh
    @Menosh 5 років тому

    Re: the problem from Brilliant posed at the end
    To solve the problem, you must flip your thinking around. Instead of asking how many queens can you place to not check an opposing king, ask "where can I place a king such that the fewest possible spaces exist from which a queen can attack it?" If I'm not mistaken, the answer (for a square board, at any rate) works out to be "anywhere along the border of the board", where the number of spaces from which the king is vulnerable equals *3n - 2* , where n is the length of one side of the board. This would let you place *n^2 - 3n + 2* queens.
    P.S.
    A bonus challenge, for those interested. This equation should be provable through induction. However, even though this equation is true starting from n=1, you will likely want to use n=3 as your base case. Don't hurt yourself.

  • @UnknownRager96
    @UnknownRager96 5 років тому

    Bonus puzzle solution:
    The top-left corner (works for any corner) can be attacked from any queens in the colunm, row, and diagonal of the king, and placing the queens at the other spots leaves 1 king, 21 empty spots and 42 (wow) queens.
    For an n x n board, just put it in the corner and do the Sam thing as an 8 x 8 board

  • @shreeganesh9962
    @shreeganesh9962 5 років тому +30

    Give it in an IMO paper. You'll get it solved in a day.

  • @j3r3miasmg
    @j3r3miasmg 5 років тому

    It's nice to see how the label those books writing the subject with a pen in the base of all the pages.

  • @pronounjow
    @pronounjow 5 років тому

    The thumbnail is really cool!

  • @patrickriddell8545
    @patrickriddell8545 4 роки тому

    For his problem at the end:
    You could put the king in the corner, then put Queens everywhere except the vertical line, the horizontal line, and the diagonal line that intersect the king. That would be n^2 - (3n - 2) queens. That is n^2 being every spot on the board, and 3n - 2 being the 3 lines that intersect the king (the minus 2 is because you'll have counted the spot the king is on 3 times). You also slide the king along the border to get the same result. This equation only starts giving positive results when n is 4 or more since you can't have any Queens on a smaller board with a King.

  • @alextubari
    @alextubari 5 років тому +4

    42
    for m x n, m

    • @Sam_on_YouTube
      @Sam_on_YouTube 5 років тому

      I had the same answer, but I only solved it for n=m. This is a better generalization than what I wrote.

  • @user-wh4wq5gc6f
    @user-wh4wq5gc6f 5 років тому

    Только на днях столкнулась с этим вопросом и заинтересовалась им. А сегодня вышла серия, посвященная данной проблеме. Теперь сижу и думаю, кто, чьи мысли прочитал... Only the other day I faced this question and became interested in it. And today there was a series devoted to this problem. Now sit and think, who, whose thought have read...

  • @Sam_on_YouTube
    @Sam_on_YouTube 5 років тому

    I think the answer to the problem at the end is n^2-3n+2. That's all the squares on an n×n board, minus one row, 1 column, and 1 diagonal (adding back in the king's square twice, since it is triple counted), which is what you get if you put the king along an edge.

  • @zerid0
    @zerid0 5 років тому +1

    What about making n go to infinite? Try to have 2 subsets of [0,1]^2 S and S' such that no 2 points of those sets would be sharing a vertical/horizontal/diagonal line.
    Would continuity make that easier to study? Would we see the same shapes again?

  • @Qbe_Root
    @Qbe_Root 5 років тому

    Solution to that Brilliant puzzle at the end:
    Best king position is along an edge because it eliminates a diagonal:
    K - - - - - - -
    - - Q Q Q Q Q Q
    - Q - Q Q Q Q Q
    - Q Q - Q Q Q Q
    - Q Q Q - Q Q Q
    - Q Q Q Q - Q Q
    - Q Q Q Q Q - Q
    - Q Q Q Q Q Q -
    For 8×8: 64 total tiles - 7 tiles on the king’s row - 7 tiles on the king’s column - 7 tiles on the king’s diagonal - the king’s tile = 42 queens
    For m×n: mn total tiles - (m - 1) tiles on the king’s row - (n - 1) tiles on the king’s column - (min{m, n} - 1) tiles on king’s diagonal - the king’s tile = m n - m - n - min{m, n} + 2 queens

  • @getmeoutoftheyoutubeservers
    @getmeoutoftheyoutubeservers 3 роки тому

    i think i've found a solution to the puzzle regarding the maximum number of queens so that a king is not under attack. the part about the attacked piece being a king is extra information one can think of it this way: how many squares are _not_ a queen's move away from a singular square? if a queen is not on one of those squares, then it will thus be unable to attack the king. we then need to figure out where to place the king such that the least number of squares are of this type, which is the corner. why the corner is best is left as an exercise to the reader. thus, the answer will be 64-7-7-7-1=42 queens
    edit: for an mxn chessboard, the number will be m*n-((m-1)+(n-1)+(min(m,n)-1)+1)

  • @benjaminnewlon7865
    @benjaminnewlon7865 5 років тому +19

    Honestly, the idea of the Peacable Queens is interesting. Also, im going to get a chess board and go crazy solving this. 2 *8*

    • @randomdude9135
      @randomdude9135 5 років тому +3

      They don't give you more than 2 queens for a regular chessboard. You can assume all the pieces as queens.

    • @benjaminnewlon7865
      @benjaminnewlon7865 5 років тому

      @@randomdude9135 that is true. You could probably order a bunch of queens on Amazon or something.

    • @Internetzspacezshipz
      @Internetzspacezshipz 5 років тому

      idk why you'd do it manually. That would literally take forever. Much better to just make a simple program to figure it out for you.

  • @blixology
    @blixology 5 років тому +1

    2:18 overwhelmingly nice

  • @YoshiFawful64
    @YoshiFawful64 5 років тому

    The credits puzzle is easy, you just stick the King in a corner and put Queens on every available space. That's 42 Queens. Or, more generally on a n*n board, n^2-3n+2 (since the Queens form two triangles of length n-2, which can be fit together as a (n-1)(n-2) rectangle).

  • @vivekveer3272
    @vivekveer3272 5 років тому +2

    3:28 the answer for 14*14 is 28. 3:38 he wrote that the answer is 27.

  • @Fudmottin
    @Fudmottin 5 років тому

    This is a lot more interesting than the classic eight queens problem I brute forced a couple years ago (finding all the positions for eight queens on a standard chessboard where no queen is attacking another). I guess mathematicians really like to generalize.

  • @ITR
    @ITR 5 років тому

    Never knew he founded oeis, one of my most favourite websites for sure.

  • @ekobs70
    @ekobs70 3 роки тому

    When I studied domination in Graph Theory, I learnt the queen problem, but never tought of this problems.

  • @SgtSupaman
    @SgtSupaman 5 років тому

    For the King and a Lot of Queens puzzle, I think the answer for most queens with a safe king on a chessboard is 42.
    To generalize it, I would say, for an m x n board, with m >= n, the solution will be (m-2) x (n-1).

  • @sheltersteps3084
    @sheltersteps3084 5 років тому +9

    Numberphilia is a sexual orientation i was not yet aware of. thanks for educating.

  • @Toztabud
    @Toztabud 2 роки тому

    I was hoping this problem wouldn't have faded into obscurity by now. I know the 8 queen puzzle is more popular, but I was hoping with all the computing power currently, we'd have at least seen an update on this problem. I like these sorts of puzzles.

  • @TylerMatthewHarris
    @TylerMatthewHarris 5 років тому

    Hey fellow numberphile's. I'm looking for some advice on how to account for practicing a skill (changing probabilities). Like if I was practicing playing guitar hero and I hit the right note 40% of the time when I first started. The probability of hitting the right note is 40%, but if I keep practicing that number goes up. Which the typical binomial distribution doesn't account for. I wanna know, if I start out at 40% (or x%) what is the minimum & maximum time i can expect to be at z% chance of success given that I practice at some constant period.

  • @kira-lilym6363
    @kira-lilym6363 4 роки тому

    The way this man talks about this with so much passion, he sounds like he's narrating a nature documentary

  • @StefanLopuszanski
    @StefanLopuszanski 5 років тому

    What's the background music from? Did you cite it and I just missed it?

  • @jamma246
    @jamma246 5 років тому

    The king + queens problem seems super obvious to me... Choose the position of the king first. The number of queens you can place is equal to the number of spaces on the board (64) minus the number of squares on rows, columns and diagonals that hit that square, since you can place a queen on everything except such squares. Every square has 15 squares on rows and columns hitting that square. It's easy to check that you get at least another 7 from diagonals, minimised by placing the king on the edge of the board. So the answer is 64-15-7 =
    :O

  • @Mark-gl3bb
    @Mark-gl3bb 5 років тому

    Oh dang, this is the OEIS guy! Too cool!

  • @MyTBrain
    @MyTBrain 5 років тому +1

    Neil Sloane has to be one of my top 5 favorite living mathematicians, right up there with Conway and Baez

    • @zoetropo1
      @zoetropo1 4 роки тому +1

      Oh no, not more celebrity worship.

  • @LoganMcCarthy
    @LoganMcCarthy 5 років тому +4

    The more queens there are, the harder it is for us to find peace.

    • @ericpetersen8155
      @ericpetersen8155 5 років тому +1

      Logan McCarthy - absolutely brilliant observation

  • @LambdaTF2
    @LambdaTF2 5 років тому

    James Grime did a similar video, interesting to see how different it is with different colours

  • @fouss14
    @fouss14 5 років тому

    Love this guy, he reminds me of the professor from Futurama

  • @someone2973
    @someone2973 5 років тому

    You could also think about what happens when there are more than two colors of queens, or higher dimensional chess boards while maintaining the rule that there must be the same number of queens of each color and no two queens of different colors can attack each other.

  • @susannacuyler3747
    @susannacuyler3747 5 років тому

    Thanks. Neil Sloane for a perfect Peaceable Queens' NUMBERPHILE 's 6th, 7mins.