17 and Sudoku Clues - Numberphile

  Рет қаралды 2,057,086

Numberphile

Numberphile

12 жыл бұрын

17 is the minimum number of clues required to give a unique sudoku solution - but how did mathematicians prove this?
Featuring James Grime.
More links & stuff in full description below ↓↓↓
Dr James Grime discusses a recent paper which cracked the problem. The paper being discussed by McGuire and others is at arxiv.org/abs/1201.0749
James Grime's website is at singingbanana.com/
NUMBERPHILE
Website: www.numberphile.com/
Numberphile on Facebook: / numberphile
Numberphile tweets: / numberphile
Subscribe: bit.ly/Numberphile_Sub
Videos by Brady Haran
Patreon: / numberphile
Brady's videos subreddit: / bradyharan
Brady's latest videos across all channels: www.bradyharanblog.com/
Sign up for (occasional) emails: eepurl.com/YdjL9
Numberphile T-Shirts: teespring.com/stores/numberphile
Other merchandise: store.dftba.com/collections/n...

Пікірлер: 2 500
@Mswordx23
@Mswordx23 9 жыл бұрын
"Number of possible grids is..." Me: "Uh oh, here comes a bigass number" "...6700" Me: "...Oh." "...MILLION MILLION MILLION!"
@GavinDestroyer
@GavinDestroyer 9 жыл бұрын
lol ikr
@atti1120
@atti1120 9 жыл бұрын
Mswordx23 ??? 6700000000000000000000
@GregaMeglic
@GregaMeglic 9 жыл бұрын
Mswordx23 6,7 trilliard :p And yes we are using the extended system here.
@JackMartin321
@JackMartin321 8 жыл бұрын
strayster2 Correct. You can write Avogadro's number as 602.2x10^21 instead, and it should become clear that it is larger than the sudoku grids number of 6.7x10^21, nearly ninety times larger in fact.
@JackMartin321
@JackMartin321 8 жыл бұрын
Immortes Mortallis Yes, Avogadro's number in true scientific notation is indeed 6.022x10^23. However, 602.2x10^21 is an equally valid representation of the same number, just not the standard form. I wrote it that way to show clearly how much bigger Avogadro's number is from the number of sudoku grids by comparing them at the same order of magnitude, which is 10^21.
@nerdbot4446
@nerdbot4446 7 жыл бұрын
I need 81 clues on average
@SweetHyunho
@SweetHyunho 7 жыл бұрын
I only need 72
@blackholevlogs9937
@blackholevlogs9937 7 жыл бұрын
Patrick Star rly? my sudoku book doesn't give me clues.
@nickelbirden
@nickelbirden 7 жыл бұрын
Well you need 78 to be guaranteed unique solution, since the smallest unavoidable sets is of size 4
@gamerdio2503
@gamerdio2503 7 жыл бұрын
lol XD
@rosefeltch6313
@rosefeltch6313 6 жыл бұрын
Completed instantly
@kevnar
@kevnar 9 жыл бұрын
I once naively tried to get a computer to brute force search out every possible Sudoku grid. My algorithm took all day and hadn't even created one complete puzzle, just filling it with numbers and checking if it was valid. Come to find out, it would take 300,000 years to figure out all of them. Good thing I got bored enough to give up.
@huseyinrizaoglu5278
@huseyinrizaoglu5278 9 жыл бұрын
Lol
@TheRealFlenuan
@TheRealFlenuan 9 жыл бұрын
Yeah… now you know to check how long a program will take before you launch it! :)
@harrywagstaff6331
@harrywagstaff6331 9 жыл бұрын
The Real Flenuan Let us know if you find a way to do that
@frgyht
@frgyht 9 жыл бұрын
Harry Wagstaff you can easily calculate it with... you guessed it... maths...
@harrywagstaff6331
@harrywagstaff6331 9 жыл бұрын
I think Alan Turing might have something to say about that
@tsquaredtest1
@tsquaredtest1 4 жыл бұрын
James: "needs at least 17 clues" Mark from Cracking the Cryptic: *laughs*
@zacharyshaffer9986
@zacharyshaffer9986 4 жыл бұрын
Looked for this, found it. Thank you, carry on.
@QuinsonHonQBB123XX
@QuinsonHonQBB123XX 3 жыл бұрын
Those sudokus have additional constraints
@TEWU
@TEWU 3 жыл бұрын
@@QuinsonHonQBB123XX Well, yes but he wrote this for a joke :)
@homer4590
@homer4590 3 жыл бұрын
I miss machinarium :/
@jannetteberends8730
@jannetteberends8730 3 жыл бұрын
@@QuinsonHonQBB123XX then it’s not called a sudoku. They have different names. For example the killer sudoko doesn’t have clues but consists of two or more grits with the sum of the numbers in the grits, and a there are sudoku’s with tinted grits that allows only for even or uneven numbers. There are sudoku where the 3x3 rectangular is changed in all kind of forms. And all have their own name.
@eyespelegode
@eyespelegode 8 жыл бұрын
What are "CTRIDS"
@stonehousebey
@stonehousebey 8 жыл бұрын
Grids, he just wrote the G weird
@allnamesaretakenb4
@allnamesaretakenb4 8 жыл бұрын
+Mr_Peak Actually I think it's C (Subscript T) RIDS
@alephomega386
@alephomega386 8 жыл бұрын
+&thony it's a test
@Countryen
@Countryen 8 жыл бұрын
+allnamesaretakenb4 He also says, "C, number of squids" (at least it doesn' t sound like a hard 'g' for "grid" (I know, he does not say squid, more like sqrid) But what does CtRIDS mean? (Count Number of RIDs? R=Real numbers ID as in (uniqe) IDentifier?) So the Count in numbers (real numbers) with unique identifier for every possible grid? That would almost make sense to me...
@NoriMori1992
@NoriMori1992 8 жыл бұрын
+Countryen I think it's because he was starting to say "squares" and then corrected himself to "grids". As far as what he wrote, it's "GRIDS". XD
@ThatFellowOnline
@ThatFellowOnline 9 жыл бұрын
I could listen to this man's enthusiasm for maths endlessly
@dstn3422
@dstn3422 7 жыл бұрын
In 2012, Finnish mathematician Arto Inkala claimed to have created the "World's Hardest Sudoku". For this puzzle, while it has one and only one solution, no known patterns work on it, other than a slightly more intelligent guess-and-check. The number of steps one has to look ahead in order to reduce away clues is the metric here, and this puzzle needs nine sequential guesses to reach a solvable state.
@dooie7116
@dooie7116 4 жыл бұрын
Wow. Thanks for the info
@samprice7746
@samprice7746 3 жыл бұрын
Would the ever-reliable Bowman's Bingo work on it?
@ganaraminukshuk0
@ganaraminukshuk0 3 жыл бұрын
​@@samprice7746 So I found the puzzle in question (it's 800000000003600000070090200050007000000045700000100030001000068008500010090000400 as an 81-digit number) and entered into sudokuwiki's sudoku solver. It exhausted every strategy and effectively got stuck, including Bowman's Bingo.
@samprice7746
@samprice7746 3 жыл бұрын
@@ganaraminukshuk0 Yep! since commenting I've learned there are at least 5 of these, but I can't remember where they were from. I know arto inkala is a preset on that website, it's pretty cool isn't it?
@JMcMillen
@JMcMillen 3 жыл бұрын
@@ganaraminukshuk0 I took that puzzle to Sudoku Solutions and let it give it a go. It eventually gave up on logic and just brute forced the thing. It even admitted that it had to brute force it because there were no logical moves to start with.
@justink1427
@justink1427 5 жыл бұрын
“They were big in the 1980’s, but then again, so were many things” 0:30
@marcuswillbrandt5901
@marcuswillbrandt5901 3 жыл бұрын
"It's like a joke. It's not much like one, I'll give you that..." I think this one may become one of my favourite quotes ever :D
@KasabianFan44
@KasabianFan44 7 жыл бұрын
What is the maximum number of clues that you can have in a Sudoku grid that still *couldn't* be solved uniquely?
@donner532
@donner532 7 жыл бұрын
77. You could have every number in the puzzle as a "clue" with the exception of 4 unavoidable squares filled in
@KasabianFan44
@KasabianFan44 7 жыл бұрын
Twilit Area Oh yeah :D thanks
@ilexdiapason
@ilexdiapason 7 жыл бұрын
Twilit Area what?
@Ulkomaalainen
@Ulkomaalainen 6 жыл бұрын
What he means is: take the example sudoku given with the 7s and 9s circled. You can swap these 7s and 9s and still get a valid sudoku, as said in the video. So if you fill in the whole sudoku except for the four circled numbers ((9*9=81 squares)-4 squares mentioned=77 squares) it still isn't uniquely solveable, since you could fill in 7-9-9-7 or 9-7-7-9, so still have two solutions. Thus 77 clues - in certain constructed circumstances - may not be enough to solve the puzzle uniquely. Now about 78 always being enough: They could all be in the same row or not (same logic goes for column). If they are, they are all in different columns, and each column can be solved by just filling in the 9th missing number. If they are not, they are divided 2-1. so this time, one is being solved as the last of a row, and then the other 2 are the only remainders in their respective column.
@diggitydingdong
@diggitydingdong 6 жыл бұрын
81
@danielellis2874
@danielellis2874 8 жыл бұрын
I want Dr James Grime to teach me maths! It's so true when they say that to teach people you have to make it interesting. Learning maths in school was boring, not because maths is boring, but because the teachers couldn't make it interesting.
@The_NSeven
@The_NSeven 7 жыл бұрын
I completely agree!
@christopherellis2663
@christopherellis2663 6 жыл бұрын
How boring for you!
@MattiAntsuK
@MattiAntsuK 8 жыл бұрын
I can solve a Sudoku with NO hints/clues! Its not that hard.
@MrCyanGaming
@MrCyanGaming 8 жыл бұрын
+Matias Kurvinen ...
@LepidoliteMica
@LepidoliteMica 8 жыл бұрын
+Matias Kurvinen But can you do it uniquely?
@DaybreakPT
@DaybreakPT 8 жыл бұрын
+Lepidolite Mica [SPOILER ALERT]: He can't.
@DWZBT
@DWZBT 8 жыл бұрын
Is this a comment train of trolls or does nobody get the joke?
@SKyrim190
@SKyrim190 7 жыл бұрын
Not uniquely, though...
@TinRapper
@TinRapper 7 жыл бұрын
People are playing video games and watching reality shows all days and they're questioning why mathematician are trying to solve a math problem?
@inverseactuality
@inverseactuality 7 жыл бұрын
To be fair, mathematicians are being paid to do this. If I got paid to watch TV or play video games and didn't have to worry about things like whether or not I'm providing useful information (like reviews) and don't have to be entertaining (like a let's play) but just have to do some trivial thing that helps no one, people would wonder what my employer is thinking.
@tanukigalpa
@tanukigalpa 7 жыл бұрын
But also to be fair, some of the things we'd think were completely useless or even imaginary (like the Turing machine) are the precursor to incredible game changing inventions like the computer. We wouldn't have computers were it not for mathematicians so who knows? Maybe the methods used to solve this Sudoku problem will help us with the next age of technology.
@inverseactuality
@inverseactuality 7 жыл бұрын
tanukigalpa I know, that would be the answer to the the question of why they are solving seemingly useless things. I was just defending asking why in the first place.
@craighalpin9521
@craighalpin9521 7 жыл бұрын
Max Đỗ that's a false equivalents. people waste their time and wonder why/how someone can get paid for something that appears as if it's also a waste of time. it's really cool that this guy explains how it may become valuable at some point.
@David-ud9ju
@David-ud9ju 6 жыл бұрын
It's more the fact that they're paid.
@newcoleco
@newcoleco 10 жыл бұрын
"Not every Sudoku grid can be solved by 17 clues" then what is the minimum number of clues needed for these grids that can't be solved by only 17 clues? Surely Sudoku grids in newspaper aren't all optimal with their minimum number of clues to start with, right? I remember long ago a web page with attempts to seek the answer 17 and some of the grids listed had 18 and 19 clues, but I'm curious now about the maximum of the minimum number of clues needed.
@TheRealFlenuan
@TheRealFlenuan 9 жыл бұрын
Awesome! Now let's figure out the formula for the minimum number of clues for any base-_n_ Sudoku-like puzzle divided into _s_ sections, where _n_ is a natural number and _s_ is a perfect square!
@kelsiemoses1914
@kelsiemoses1914 10 жыл бұрын
It's the "trivial" things like this that make life interesting. Thanks Numberphile!
@peterraynham8610
@peterraynham8610 9 жыл бұрын
I can relate to James's last comment, about mathematicians and puzzles of pure logic. (OK, the second-last comment, not that final joke.) I will start working on a logic puzzle like a Sudoku instance, and after about five minutes I am thinking "I could write a program to solve this", and after fifteen minutes I drift away from solving the puzzle and begin sketching out an algorithm to solve it.
@matbroomfield
@matbroomfield 11 жыл бұрын
He sure does take a really great pleasure in numbers. It's nice to see someone so joyful about knowledge!
@kcwidman
@kcwidman 7 жыл бұрын
That joke!
@MumboJ
@MumboJ 6 жыл бұрын
"It's like a joke! It's not much like one, I'll give you that."
@felixhultman8410
@felixhultman8410 6 жыл бұрын
Bit of a Parker joke then
@samcraft7573
@samcraft7573 5 жыл бұрын
Love that Dr. Grime ALWAYS has some marker on his writing hand
@jimharmon9917
@jimharmon9917 7 жыл бұрын
What I'd be interested in knowing: Given a blank Sudoku grid, place 17 digits in it "randomly" ensuring only that the rules of Sudoku are not violated. How can you tell if there is a possible solution? If there is, how can you tell if it is a unique solution?
@bboooobbyy
@bboooobbyy 7 жыл бұрын
I was wondering the same thing.
@master-sj6cd
@master-sj6cd 7 жыл бұрын
probably it will have many solutions, but there are some 17 clue ones that only have 1 solution, but there are none that have 1 solution with 16 clues
@DaleIsWigging
@DaleIsWigging 7 жыл бұрын
how can you tell?... you try to solve it...
@jimharmon9917
@jimharmon9917 7 жыл бұрын
Just because I can't solve it does not prove that no solution exists.
@Mac15001900
@Mac15001900 7 жыл бұрын
At this point you should just be able to brute force it - look at every possible way to fill the board and see how many of them work. If it's just one, congrats, it's a unique solution. And if you already have a solution proving uniqueness is even easier: if you only followed logical deduction to obtain it and got a full board, there is no way a different board is possible.
@andrewweirny
@andrewweirny 7 жыл бұрын
What's wrong with knowledge for the sake of knowledge? Why do we need to justify this project by saying, "oh, well the techniques we learned here can be used to solve more serious problems"? Not everything we do is going to be towards some concrete higher goal.
@freshrockpapa-e7799
@freshrockpapa-e7799 7 жыл бұрын
They are being paid for doing this things, and using thousands of the best computers for almost a year isn't free either. I think that asking why are they doing this is a legitimate question.
@genericusername4206
@genericusername4206 3 жыл бұрын
@@freshrockpapa-e7799 yes but this is paid by the University not your taxpayer money so why do you care haha
@hexcodeff6624
@hexcodeff6624 3 жыл бұрын
Michael from VSauce made a great point about the human nature of pushing every boundary just for the sake of it in his Supertasks video
@stenoch
@stenoch 7 жыл бұрын
Very helpful! I'd been wondering how to go about creating a puzzle, and the concept of 'unavoidable squares' is a step in the right direction. Thanks loads, guys!
@AndyWicks
@AndyWicks 11 жыл бұрын
I've had the good fortune to see him live - with an Enigma machine - and he was enthralling. He is a brilliant speaker. Do go to see him if you get the chance.
@DrewSpencer
@DrewSpencer 10 жыл бұрын
Thank the lord he didn't say "suduko"
@carrotheadsrock
@carrotheadsrock 11 жыл бұрын
I love this guy so much!! He's such a happy chap, and he loves maths, what a legend :)
@SkyKing101010
@SkyKing101010 7 жыл бұрын
I'm not much of a mathematician but I do love math. I left Sudoku alone about 15 years ago when I found Kakuro. It's not much tougher but I haven't found anything more challenging that's readily available. Thanks for being there. I love this.
@Moxxuren
@Moxxuren 11 жыл бұрын
This guy is so awesome he's always so excited and explains things in a cool way. Keep it up dude!
@expiredporkchop
@expiredporkchop 10 жыл бұрын
I though Grids was CTIDS ? When he spelt it
@Nathouuuutheone
@Nathouuuutheone 7 жыл бұрын
I thought you were asking a question when you used a question mark. Also, it's written "thought".
@RedsBoneStuff
@RedsBoneStuff 7 жыл бұрын
I believe you lost an "R" there.
@starfiring
@starfiring 5 жыл бұрын
CTRIDS
@therealdamancy
@therealdamancy 7 жыл бұрын
I have dishonored my family, i have to commit sudoku
@christopherellis2663
@christopherellis2663 6 жыл бұрын
Seppuku, bakaru!
@brcoutme
@brcoutme 5 жыл бұрын
Christopher Ellis, they used to require seppuku, but in the 80's we came up with the more humane solution of requiring sudoku (for dishonoring one's own family) :P
@Gmackematix
@Gmackematix 5 жыл бұрын
Do you watch Dave Gorman? In an episode on puzzles he pointed out there were books with forbidding names like Ultra Killer Sudoku and even one called Hara Kiri Sudoku, thus missing out on an opportunity to call the book Seppuku Sudoku!
@Akatsuki69387
@Akatsuki69387 4 ай бұрын
Sudoku: "17 clues is the minimum number of clues needed to solve a sudoku." Variant Sudoku: "hold my grids".
@99hourvideos
@99hourvideos 9 жыл бұрын
Learn to love math with Brady!
@rewrose2838
@rewrose2838 7 жыл бұрын
Well , Dr. James Grime has a tough time writing eh? ( 3:24 ) Not really though , _'clew'_ might as well be the more correct spelling than _'clue'_ A _clew_ refers to a ball of thread, employed to guide any one in ‘threading’ his way into or out of a labyrinth … or maze. This notion is at least as old as Greek mythology. Legend has it that Theseus unwound a ball of string as he made his way to the heart of the Labyrinth, then killed the dreaded Minotaur and followed the string to find his way out again. That ball of string was referred to as 'clew' when adopted in english. As an extension of this idea, “clew” or “clue” subsequently came to mean _a fact, circumstance, or principle which, being taken hold of and followed up, leads through a maze, perplexity, difficulty, intricate investigation, etc._
@musicfan238able
@musicfan238able 6 жыл бұрын
Why bother? Many words can, phonetically be spelt in many ways. Why not klew; cloo; clu; clugh. If there is already an established spelling why not stick with it? more people will understand what you're trying to say.
@tadashimori
@tadashimori 9 жыл бұрын
I'm quite sure there must be a more elegant proof. The fact that 17 is exactly the amount ou numbers you'd have with one complete line and one column is really telling me it should be the way to go.
@Kosake82
@Kosake82 9 жыл бұрын
Tadashi Mori You have to keep in mind that 17 is not a constant. Not every sudoku has the minimum of 17 clues, some need more clues. Knowing that you have to ask which sudokus need 17, which ones need 18 clues and so on. What is the constelation for a certain minimum of clues? Can you even categorize the sudokus which have 17, 18, 19 etc. minimal clues? I guess it's not as straight forward as you might think.
@nickelbirden
@nickelbirden 7 жыл бұрын
There is an idea out there proposed by Mcguire that you can calculate the smallest critical set from number of solutions for general sized sudoku (the typical one is 3x3), this idea is shown to fail for latin squares larger than, but is true for all sizes of sudoku where the smallest critical set is known.
@Stalennin
@Stalennin 7 жыл бұрын
Funny thing is, I'm pretty certain that if you fill a row and a column with these clues, it would guarantee that your sudoku wouldn't have a unique solution. Am I seeing this wrong?
@chinareds54
@chinareds54 6 жыл бұрын
Chanter Ex: Absolutely. Here's the proof: if you could have a unique solution by only filling a row and a column with the minimum 17 clues, then you would have the same unique solution if you removed any of those clues (the last number to fill a row, column or square is defined by the other 8). And therefore you would have a unique solution with only 16 clues, which was just proven to be impossible.
@christopherellis2663
@christopherellis2663 6 жыл бұрын
It's an Irish Computer! I gather that none of you have had much to do with Sūdoku. You'd know better than to believe this
@jimzamerski
@jimzamerski 7 жыл бұрын
So ridiculously brilliant. Wow. I LOVED THIS
@g0blin84
@g0blin84 11 жыл бұрын
Can you guys explain how you got the number for possible sudoku grids? (maybe you do later... I'm working my way through the videos (and loving it! Great series!))
@bboooobbyy
@bboooobbyy 7 жыл бұрын
Sudoku has its origins in France and the 'modern' Sudoku came out of USA in late 1970s and introduced into Japan in the mid 80s.
@Markle2k
@Markle2k 7 жыл бұрын
Exactly. "Sudoku" was essentially a trademark name that got genericized.
@jampozbear
@jampozbear 11 жыл бұрын
Yes he loves what he does, he could teach math to anybody just by showing such passion.
@astroboomboy
@astroboomboy 11 жыл бұрын
Those algorithms must be pretty amazing! Really smart way of proving, I'm trying to make an algorithm for solving sudoku now, and just a brute force solver was pretty hard...
@Selinor578
@Selinor578 11 жыл бұрын
I think what a lot of mathematicians describe as "creativity", or a sudden rush of inspiration, which some say is something beyond maths, is just pure maths that is so intricate that our conscious brain cannot recognise as such in the small instant of time in which we were made aware of it.
@teagansmith3326
@teagansmith3326 8 жыл бұрын
I LIKE YOUR JOKE DR JAMES. ITS CLEVER AND YOURE FUNNY
@cantopia
@cantopia 10 жыл бұрын
Help me out, please. Any number minus the sum of its digits equals a number the sum of whose digits is 9. Why? Example: 53; 5+3=8 53-8=45; 4+5 = 9 or 101; 1+1=2; 101-2=99; 8+9=18;1+8=9 I figured this out one day but can't figure out what's going on. Thanks.
@L4Vo5
@L4Vo5 7 жыл бұрын
OK, kinda late, but here's... something: -First af all, you need to realize that the reason the sum of the digits of the final number equals 9 is because the number is divisible by 9, and it just happens that any number divisible by 9 will have its digits sum a multiple of 9 (and you can sum that number's digits to get another multiple and so on until you get to 9) -We'll split the substraction in two parts: substracting the rightmost digit, and substracting all other digits. By doing the first thing, you're effectively rounding the number down to the nearest multiple of 10. We'll do the second thing later. So here's the explanation for 2 digits, where you can even do more awesome stuff than just divide by 9: -So, now the number is divisible by 10, meaning that you can divide it in 10 equal parts. So if we remove 1, the number will be divisible by 9. If we remove 2, the number will be divisible by 8. -This is the reason this works with only 2 digits, because the first digit didn't count at all, all you have is the second digit (the 10s digit), wich you're effectively dividing by 10 when you substract the digit. I might've not eplained it too well so here's an example: Take the number 76, what you'll do is 76-(7+6), wich is the same as 76-6-7 wich is 70-7. 7 is 10 times lower than 70 because you're moving it from the 10's. Meaning that now you've reduced the number (70) by 1/10th. Because we know the number was divisible in 10 equal parts, by removing one the result will be divisible in 9 equal parts. If we remove another 7, the number will be divisible by 8 and so on. But that didn't solve the problem for all number of digits. Maybe i'll do that later, but it probably has to do with the sum of the digits of multiples of 9 being 9
@rkubiniec
@rkubiniec 11 жыл бұрын
I'd be interested to know if that is true. I'm reminded of the P vs NP problem which mathematicians are currently struggling with. If you don't know, it's about the relationship between the time it takes a computer to give an answer and the time it takes to verify the answer. The idea is that if it can be proven that P = NP (the time it takes to solve a question = the time it takes to verify the answer) then a computer would be fully capable of being as creative as you suggest and beyond.
@gadgetwhore2
@gadgetwhore2 11 жыл бұрын
That is so very fascinating, please elaborate.
@AllHailZeppelin
@AllHailZeppelin 10 жыл бұрын
This is all fine and dandy, but what is the fewest number of clues to be able to solve ANY Sudoku grid?
@GlobalWarmingSkeptic
@GlobalWarmingSkeptic 6 жыл бұрын
0. Just make your own grid.
@inj3cti0n
@inj3cti0n 10 жыл бұрын
Please tell us what is you favorite (or set of favorites) puzzle(s)? You were about to say what the favorite puzzle game is, and in the end, you didn't tell us. Do tell!
@johncgibson4720
@johncgibson4720 9 жыл бұрын
Good thoughts at the conclusion near the end of the video. Half way into the video when you mention that 2 rows can be swapped, it start to feel that the puzzle is like a street con.
@RealLifeKyurem
@RealLifeKyurem 7 жыл бұрын
In a province in my country (Cagayan, Philippines), there was an additional rule: the diagonals (both top-right-to-bottom-left and top-left-to-bottom-right diagonals) must be filled up from one to nine without repeats
@a2rcbsc
@a2rcbsc 7 жыл бұрын
I would say that rule, dramatically, decreases the number of possible grids. Still solvable, and with a unique solution if 17 clues are given, but the total number of possible grids wouldn't be as big as 6.7E21
@mohammadfletcher5312
@mohammadfletcher5312 7 жыл бұрын
in that version, you can have fewer than 17 clues and still find the puzzle solvable.
@dkthordk
@dkthordk 7 жыл бұрын
i am not sure you are right on this one, given that the diagonal rule would make row/column switching illegal, which was the biggest way to make families.
@nickroethel3326
@nickroethel3326 8 жыл бұрын
"I can't spell." That's why you're a mathematician.
@dcngn_
@dcngn_ 8 жыл бұрын
+Nick Roethel being a mathematician implies the disability to spell, but not the other way around!
@nickroethel3326
@nickroethel3326 8 жыл бұрын
+Henry Jun just a joke dude. Just because someone is a mathematician (or any other ician or ologist) doesn't mean they're bad spellers.
@rain2001
@rain2001 3 жыл бұрын
@@dcngn_ haha.
@Webcentaur
@Webcentaur 9 жыл бұрын
What did the empty Sudoku grid say to Gary Mcguire? - You have no clue how to solve me. Yeeeaaaah
@Dalton1294
@Dalton1294 9 жыл бұрын
I love Sudoku and Ken-Ken. Ken-Ken works in a similar manner as Sudoku expect in Ken-Ken there is some basic math involved. The object is to fill each row and column with the specified numbers (the grids go from 3x3 to 9x9) so there are no repeats. Here's where the math kicks in, the grid is divided into cells with the 4 basic operations and each cell has to be full, and another thing it is possible to have the same number occur twice in one cell
@TheJanTichy
@TheJanTichy 9 жыл бұрын
Hello, your videos are amazing, love mathematics, love engineering, love them! Since I am an architect, could you tell me, where is this filmed? The buildings are lovely. Thank you and plese, go on with you amazing work! World needs it
@chakorpandkar2013
@chakorpandkar2013 8 жыл бұрын
Honestly all your videos are fun guys. Love how u make maths so simple. But i didnt get anything abt the family of sudokus u mentioned. It would be a great thing if ud make another video explaining a bit more in detail.
@DeathmaskDuplicant
@DeathmaskDuplicant 8 жыл бұрын
+chakor pandkar He said what the families were in this one. I don't think it'd be enough to validate another full video, but I'll see if I can explain it for you a little better. 'Families' as he was referring to are sets of puzzles with matching Rows or Columns. So it was basically the same puzzle, just rearranging the Rows or Columns, which keeps the puzzle valid.
@chakorpandkar2013
@chakorpandkar2013 8 жыл бұрын
Cool. Thanks. Hey i suggest u also do a video explaining the no of dimensions. I saw something on the net saying that there are multiple dimensions that ia proved through maths. Id love to see such content. Or even unsolved puzzles that have not been yet solved.
@NoriMori1992
@NoriMori1992 8 жыл бұрын
+chakor pandkar Wikipedia has articles on several problems that we don't have satisfying answers for, especially in the realm of formal logic and probability. If you want to learn more about higher dimensions, look up tesseracts, or watch Matt Parker's "Things to See and Hear in the Fourth Dimension".
@CasualGraph
@CasualGraph 9 жыл бұрын
I wonder if there's a way to give a specific layout of clues that don't seem to contradict each other, yet don't actually have any solution.
@funningincircles
@funningincircles 9 жыл бұрын
That's easy to do, if you put 1,2 in the top left square, then 2,1 in the square below that, then 1 above 2 in the bottom middle square and 2 above 1 in the bottom right square, then you can't place both 1 and 2 in the bottom left square.
@CasualGraph
@CasualGraph 9 жыл бұрын
I figure all these 1s and 2s wouldn't be subtle enough.
@CasualGraph
@CasualGraph 9 жыл бұрын
***** This is true... can I change my order?
@CasualGraph
@CasualGraph 9 жыл бұрын
***** hmm, yes that was phrased rather poorly wasn't it? I meant change the question, I suppose? But it wasn't a question to begin with... change the thought? Basically revise the original statement to: "I wonder if there's a way to give a specific layout of clues that's impossible to solve, yet subtle enough that you can't tell?"
@CasualGraph
@CasualGraph 9 жыл бұрын
***** Or, for one of the fives, work it so that the only number that could be there is a five, so it doesn't look like they line up.
@shadehealer
@shadehealer 10 жыл бұрын
It's lovely to see that on math channel people do the right things like 42 comments with 42 likes each, checked it on October 23. 2013 at 19.29 Estonian time and it was all correct. THIS IS AMAZING!
@valj137
@valj137 7 жыл бұрын
I like these videos. They feed my brain.
@HebaruSan
@HebaruSan 7 жыл бұрын
Disappointing that they went brute force. I was hoping for a direct proof from first principles.
@Sylocat
@Sylocat 7 жыл бұрын
So, if not all Sudoku puzzles can be solved uniquely with just 17 clues, what's the maximum number of clues that any (one family of) Sudoku puzzle has as their minimum required clues number? I wonder how we'd figure that out. Would it just be a matter of finding the Sudoku grid with the largest number of unavoidable squares?
@royhe3154
@royhe3154 7 жыл бұрын
it's 78
@RoderickEtheria
@RoderickEtheria 7 жыл бұрын
It's definitely less than that. It would have to be no greater than 64, and it would definitely be less than that as well.
@KasabianFan44
@KasabianFan44 4 жыл бұрын
David Davison Nope, 78 is correct. If you look at the full grid shown in the video and turn it into a puzzle with all squares except for the two 7-9 pairs included as clues, you have a 77-clue puzzle without a unique solution. You would need at least one more clue to solve this grid uniquely, therefore the answer is 78.
@viddork
@viddork 6 жыл бұрын
I've often wondered how they go about determining which squares to fill in. And I often see them rated (easy, medium, hard) - is that what determines the rating: the number of clues given?
9 жыл бұрын
Sudoku was my favorite game in the past. But sine I became a programmer, I can solve them by my algorithm very quickly, it no longer make me interested
@DavidSharp2201
@DavidSharp2201 9 жыл бұрын
Thats like saying you no longer enjoy playing soccer because you invented a robot that plays soccer. Your code doing it isnt you doing it!
@SpiderWick12
@SpiderWick12 9 жыл бұрын
David Sharp If it becomes procedural, it's not interesting. Soccer wouldn't be procedural even if you had programmed a robot, because there's far too much to a physical sport than just some simple logical deduction.
@DavidSharp2201
@DavidSharp2201 9 жыл бұрын
Watching soccer =/= playing soccer
@SpiderWick12
@SpiderWick12 9 жыл бұрын
Agreed. What's you point? *Playing* soccer is far more in-depth than a Sudoku puzzle which consists of nothing more than simple deduction and simple motor skills to draw numbers.
@Kilvoctu
@Kilvoctu 9 жыл бұрын
SpiderWick12 "What's you point?" It's funny that you say this when you didn't addressDavid Sharp's original point and knocked down a straw man instead. If you fail to see how you succumbed to the logical fallacy, you probably shouldn't debate with others.
@skydivertyler
@skydivertyler 8 жыл бұрын
How would you figure out this number (17 clues for a 9*9 square Sudoku) for, lets say a 4*4 Sudoku grid? or a 16*16 grid? I'm sure there is a way to put the answer into an equation...
@pisasupayani
@pisasupayani 8 жыл бұрын
permutation/combinations
@Kavukamari
@Kavukamari 8 жыл бұрын
+SkydiverTyler I bet it's 2n-1
@skydivertyler
@skydivertyler 8 жыл бұрын
Kavukamari well a 4*4 grid would be 4*2-1=7. So, possibly
@bunderbah
@bunderbah 8 жыл бұрын
+SkydiverTyler No it is not 2n-1. the 4*4 grid below has only one solution but 6 clues : 4 x 1 x x 1 x x x 2 x 1 1 x x x
@bunderbah
@bunderbah 8 жыл бұрын
if you play on 4*4 grid you play with 4 numbers and there are 2*2 boxes instead of 3*3 boxes
@letsgocamping88
@letsgocamping88 9 жыл бұрын
But what sort of puzzle does James enjoy
@ericstoverink6579
@ericstoverink6579 4 жыл бұрын
Rubik's cube.
@sciangear4782
@sciangear4782 3 жыл бұрын
@@ericstoverink6579 but that's so EASY!
@DaTux91
@DaTux91 11 ай бұрын
Coding a Sudoku generator (in Oberon!) was an exam question for my Introduction to Programming course. That was fun 😊
@openmind4641
@openmind4641 7 жыл бұрын
Can this be generalized to all forms of possible sudokuesque puzzles like this? With greater than 9 digits?
@alfonsobeltran3937
@alfonsobeltran3937 9 жыл бұрын
Actually, sudoku was invented in the 70's by an American architect.
@DavidSharp2201
@DavidSharp2201 9 жыл бұрын
Yeah, it isnt even true that the japanese name stuck... In japan the word for sudoku is "namupure", which is actually a corruption of "number play" rendered in japanese katakana script as "namuba purei" and shortened to namupure. Truth is, sudoku and the game being japanese is just marketing gimmick in the west... And giving it a western root name in japan is also just a marketing gimmick. Still, they are fun eh.
@bxdanny
@bxdanny 6 жыл бұрын
So does "Sudoku" actually mean anything in Japanese? If so, what?
@robertandersson1128
@robertandersson1128 8 жыл бұрын
Why not 16½ clues? You could write the number 3 from right to left and stop half way though, then it could either be an 8 or a 3. This could be regarded as a half conventional sudoku clue. Likewise you could also flip a 6 or a 9 90 degrees, it could either be a 9 or a 6 but unless you know which way the number was flipped, you couldn't know if was a 6 or a 9 without trying to solve the puzzle.
@dapsize01
@dapsize01 8 жыл бұрын
You just divided by zero.
@robertandersson1128
@robertandersson1128 8 жыл бұрын
dapsize01 So...I broke mathematics.
@andersalexanderandersen5022
@andersalexanderandersen5022 8 жыл бұрын
+Robert Andersson Is the curve half 3 or a quarter 8?
@wtfiswiththosehandles
@wtfiswiththosehandles 8 жыл бұрын
+Robert Andersson whoa, 3/4 clue of an 8 would make it 9 or 6.
@robertandersson1128
@robertandersson1128 8 жыл бұрын
MasterBata Yes, you are right. ☺
@MetallicAddict15
@MetallicAddict15 6 жыл бұрын
I swear I've seen sudokus that I spent forever trying to find the next number to fill in, ultimately coming to the conclusion it just wasn't possible to move forward without guessing. Will check next time to see if they have at least 17 clues to start with.
@AA-100
@AA-100 6 жыл бұрын
Now can I see the sudoku puzzles with 17 clues with 1 unique solution.
@vivavaldez87
@vivavaldez87 8 жыл бұрын
I like the joke at the end
@RelatedGiraffe
@RelatedGiraffe 9 жыл бұрын
3:23 "I can't spell hahaha" XD
@dhaval1489
@dhaval1489 8 жыл бұрын
This is what we call a NP-Complete Problem, they are lucky to be able to reduce it and able to calculate it. Thanks for sharing these kind of information. I also agree with Prof. it may not be useful all by itself by the method help others.
@user-gp6ms5mi2y
@user-gp6ms5mi2y 6 жыл бұрын
I have two corollary questions: (a) in a simpler 2X2 (instead of 3X3) sudoku, what is the minimum clues for a base-4 2X2 sudoku, ie, in a simple grid of 1,2,3,4 (b) in a far more complex 4X4 sudoku, what is the mimum clues for a base 16, i.e.1-9,a,b,c,d,e,f,g sudoku?
@Demintika
@Demintika 8 жыл бұрын
A cross in a 9x9 grid has 17 squares. Coincident?
@NoriMori1992
@NoriMori1992 8 жыл бұрын
Probably.
@brandedelemental
@brandedelemental 7 жыл бұрын
17 = 9 +8 9 for each squares in a row 8 for each square in a column (other than the one that is already part of the row)
@beckysminecraftvids9613
@beckysminecraftvids9613 6 жыл бұрын
Iceaka Demintika k
@LeGert
@LeGert 8 жыл бұрын
Did they try to figure out how many Clues you need for a 2x2 or even a 4x4 Sudoku? Maybe there is a pattern.
@LeGert
@LeGert 8 жыл бұрын
Le Gert Maybe the ration has to be greater than a Fibonacci-Number :)
@SuppaflyZSM
@SuppaflyZSM 8 жыл бұрын
+Le Gert That would be hilarious if they did all that work and it turned out to be an easily recognizable pattern.
@Jakromha
@Jakromha 8 жыл бұрын
+Le Gert You can only have sudokus of squares. 4, 9, 16, 25, etc.
@n3on_n3rd
@n3on_n3rd 8 жыл бұрын
+Jakromha 2x2 and 4x4 do equal squares. 4 and 16
@Jakromha
@Jakromha 8 жыл бұрын
Drawn808 2 won't make a sudoku, I mentioned 4.
@pdrozdowski
@pdrozdowski 10 жыл бұрын
hmm, very interesing... I was thinking of similiar approach in reduction of data to check for different problem - TSP. Is that a general rule that the problem is really the way we represent the data because representation form extends area of search a lot, in comparsion when talking about solutions familie form then problem reduces down a lot. Does it makes sense?
@Jodabomb24
@Jodabomb24 10 жыл бұрын
No, there is actually a puzzle called Samurai Sudoku. It's five sudoku grids, with one joined to each corner of a central one, and you have to solve it the same way. I haven't seen them very often, though.
@Uncle_Yam
@Uncle_Yam 7 жыл бұрын
Was the puzzle in the video solvable?
@omarelstak1002
@omarelstak1002 7 жыл бұрын
Effortlessly
@Uncle_Yam
@Uncle_Yam 7 жыл бұрын
That's funny because after looking it up the puzzle has multiple solutions :)
@pineapplewhatever5906
@pineapplewhatever5906 7 жыл бұрын
Not all 17-clue sudokus have unique solutions, but some do. No 16-clue sudokus have unique solutions.
@jimass13
@jimass13 8 жыл бұрын
2:18 Ctrids?
@chiquiramser6502
@chiquiramser6502 3 жыл бұрын
Muchas bendiciones para Maestro para usted y sus familia bendiciones de lo alto
@Heathenfidel
@Heathenfidel 6 жыл бұрын
Once I was doing a Sudoku in a newspaper, and I wound up horribly, horribly stuck. So I made several copies of it on a separate sheet of paper, and I made some guesses. Ultimately, I found that it had FIVE solutions, and I was pissed off about it.
@roshantheone2005
@roshantheone2005 10 жыл бұрын
Hahahahaha "you complete me"
@ignaciomieres2703
@ignaciomieres2703 9 жыл бұрын
I wonder what kind of puzzle games mathematicians do, if they (or at least this guy) dont really like sudoku... anyone knows any other number puzzle games out there?
@Smithy0013
@Smithy0013 9 жыл бұрын
There are a lot of chess puzzles that a lot of math people like (for instance, try putting 8 queens on the board in such a way that none of them can capture another)
@pieter-jan26
@pieter-jan26 9 жыл бұрын
Smithy0013 put them in L shapes like the thing the knights do.
@Smithy0013
@Smithy0013 9 жыл бұрын
Pieter-Jan Lavaerts well spoiler alert much?
@MateusSFigueiredo
@MateusSFigueiredo 9 жыл бұрын
Pieter-Jan Lavaerts not enough
@Tyngdlyftning1
@Tyngdlyftning1 9 жыл бұрын
Chess is an excellent puzzle game. The rules are so simple that even the most plebian person can understand them, yet they're so beautifully intricate that even the most intellectuall person never will master it.
@nomekop777
@nomekop777 7 жыл бұрын
"With 16 clues, the outcome isn't unique. You have *one* or two outcomes."
@VitorEmanuelOliver
@VitorEmanuelOliver 4 жыл бұрын
The passion I see in his eyes when he speaks about mathematics makes me both impressed and scared
@vicr123
@vicr123 7 жыл бұрын
2:22 CₜIZID∫ :P
@aquawoelfly
@aquawoelfly 10 жыл бұрын
Show me the sudoku! Lol
@mykhailomykytyn
@mykhailomykytyn 9 жыл бұрын
What's your favorite puzzle ? (except proving the theorems)
@repinswatson6452
@repinswatson6452 5 жыл бұрын
Imagine a computer that worked outside of time so it could put in say a million years of work instantly.
@LilAnnThrax
@LilAnnThrax 8 жыл бұрын
Is he married? I'm a...asking for a friend. Yeah...for a friend. He's dreamy.
@jessewallis6589
@jessewallis6589 8 жыл бұрын
+Ann Beckman While I'm not interested in him romantically, I would love to hang out with that guy...he is interesting.
@LilAnnThrax
@LilAnnThrax 8 жыл бұрын
Jesse Wallis I would also love to hang out with him and just talk all about math(s) stuff. He's so passionate. I think that's what makes him super attractive to me is his passion, his intelligence and his accent among other things.
@jovosedlar
@jovosedlar 8 жыл бұрын
+Ann Beckman I'm impressed with the subject, too, hahaha but the guy is so English... and so skinny. I'd rather see him as a friend. may be because I'm straight.
@LilAnnThrax
@LilAnnThrax 8 жыл бұрын
I think I'm way more attracted to intelligence than looks (and I'm not saying others need to be like this, just saying I personally am). If someone is super intelligent and passionate I'm sold. They will then be physically attractive and turn me on by default.
@jovosedlar
@jovosedlar 8 жыл бұрын
thank you for explanation :-)
@vinipozes
@vinipozes 10 жыл бұрын
i can solve a sudoku with no clues at all... .-.
@Thomaskam17
@Thomaskam17 5 жыл бұрын
I love this host!
@puellanivis
@puellanivis 7 жыл бұрын
I did a fair amount of sudoku for a little while, but in the end, I wrote a solver in a programming language, and found that just by laboriously and pedantically counting possible positions, that almost all of them could be solved via that method alone. I then looked up some of the more complicated techniques, worked them out, some I had already worked out, and I was like, "cool, I've solved all sudoku problems that can be solved now."
@JPxKillz
@JPxKillz 9 жыл бұрын
Still 17 millions computer hours = 1,939 years (and since it took about a year of calculations that means about 2000 computer ran for a year to solve this. That is an impressive number. Well how long would a supercomputer take? Lets say the average PC runs at 1000 flops, so it'd take 1,938 years for the average cpu at 1000 flops. The worlds fast supercomputer right now is Tianhe-2 in China which runs at 33.86-petaflops. In other words the Tianhe-2 could finish this problem in (1000flops*1938years) / 8.0e15flops = .0.0000000024225 years or about 0.007 seconds. Holy shiister that's fast. This was real back of the envelope so come at me. I know flops aren't indicative of runtime but I think it's safe to say it'd take less than a second on Tianhe-2.
@Sawisland
@Sawisland 9 жыл бұрын
100 flops on a typical computer? Are you insane? The GTX Titan, which is, while being very expensive, still a consumer GPU, does 8 TeraFlops alone. Add the Prozessor to this and you'd be at 9 TFlops or so for a PC with a cost of 1500-2000 $.
@JPxKillz
@JPxKillz 9 жыл бұрын
I meant GFlops!! D:
@Sawisland
@Sawisland 9 жыл бұрын
That sounds a bit more realistic, albeit I would still say that it's a bit of a conservative estimate. You could probably assume an average of 3-5 TFlops oder 3000-5000 GFlops for your typical modern PC.
@MoonLiteNite
@MoonLiteNite 9 жыл бұрын
you could easily setup on world community grid, or ask google to run your program on their servers idle times. Both are actually easy to get done, world community grid is 100% to get done, while google wants an offer and reason for the study and who you are and such, and they do turn people down.
@SmileyMPV
@SmileyMPV 8 жыл бұрын
But what is the maximum amount of numbers you can fill in the grid which will leave you with more than one possible solution? :P That's unfortunately way easier and easily proven to be 77
@Radonatos
@Radonatos 8 жыл бұрын
+SmileyMPV Interesting info. Although I find it more immpressive when viewed from the other side: You need to remove just 4 numbers to allow multiple solutions. This makes me wonder if this is the case for any grid (given you find the 4 correct numbers to remove), or if there are more 'resilient' grids that will not become ambiguous with any 4 numbers removed. I guess I should do more Sudokus...
@SmileyMPV
@SmileyMPV 8 жыл бұрын
Radonatos That is indeed quite an interesting question! So the question is: What is the highest possible amount of clues, for which there exists a sudoku grid, where given this amount of clues, it is impossible for there to be more than one valid solution?
@SmileyMPV
@SmileyMPV 8 жыл бұрын
+Enid Radaviq you're right, but i meant "What is the LOWEST amount of clues, for which there exists a grid, where given this amount of clues, it is impossible for there to be more than one solution?"
@NoriMori1992
@NoriMori1992 8 жыл бұрын
+SmileyMPV I assume it would be 78.
@hx823
@hx823 5 жыл бұрын
Swapping columns or rows in a sudoku still yield a valid solution. Fascinating, I never knew or would have guessed that.
@alkawshost1961
@alkawshost1961 5 жыл бұрын
If you are into Sudoku puzzles, then this is the books for you. It really gives you a challenge and it is so much fun. The more puzzles you solve the more you want to solve more puzzles. I love books for dr.khalid alzamili
@tripplehD
@tripplehD 7 жыл бұрын
excuse him for he cant spell but he can math
@sk8erboi201020102010
@sk8erboi201020102010 9 жыл бұрын
You could solve one with no clues :D
@andyinnie
@andyinnie 9 жыл бұрын
hehehehehe
@Mikey-cb2wx
@Mikey-cb2wx 9 жыл бұрын
No you can't
@AronLivestream
@AronLivestream 9 жыл бұрын
Mikey Whelan You can but the solution for a sudoku is not unique meaning you can get several different solutions from your starting point. (Starting with an empty grid would lead to every possible solution there is for a sudoku grid)
@derekthomson3025
@derekthomson3025 9 жыл бұрын
Mikey Whelan Yes. Called compiling:)
@PMartinez55
@PMartinez55 11 жыл бұрын
7:56 I love how he felt it was necessary to explain the joke immediately after he said it...oh, James :)
@Agency-1001
@Agency-1001 7 жыл бұрын
Really #Numberphile You Need All The Respect on your videos
The Amazing Heptadecagon (17-gon) - Numberphile
13:40
Numberphile
Рет қаралды 1,3 МЛН
Python Sudoku Solver - Computerphile
10:53
Computerphile
Рет қаралды 1,1 МЛН
NO NO NO YES! (50 MLN SUBSCRIBERS CHALLENGE!) #shorts
00:26
PANDA BOI
Рет қаралды 95 МЛН
The World's Fastest Cleaners
00:35
MrBeast
Рет қаралды 175 МЛН
Remote Pairs Sudoku Chain Strategy
13:26
Learn Something
Рет қаралды 28 М.
The Miracle Sudoku
25:48
Cracking The Cryptic
Рет қаралды 4,2 МЛН
163 and Ramanujan Constant - Numberphile
11:30
Numberphile
Рет қаралды 1,7 МЛН
What is the Riemann Hypothesis REALLY about?
28:33
HexagonVideos
Рет қаралды 541 М.
Archimedes' Genius | Proof of the Archimedes Quadrature formula
5:00
The Rookie Nerds
Рет қаралды 10 М.
Cyclic Numbers - Numberphile
11:29
Numberphile
Рет қаралды 504 М.
Meet '3753 Cruithne': The 'Second Moon' You Didn't Know Earth Had
1:41
Gilbreath Principle (tutorial)
7:32
The Magician's Forum
Рет қаралды 16 М.
how simon anthony solves a sudoku
0:11
Holly McFarland
Рет қаралды 71 М.
Great Games in Chess History 1: Adolf Anderssen
12:11
Palm Beach Chess
Рет қаралды 101
Как открыть дверь в Jaecoo J8? Удобно?🤔😊
0:27
Суворкин Сергей
Рет қаралды 1,6 МЛН
Apple, как вас уделал Тюменский бренд CaseGuru? Конец удивил #caseguru #кейсгуру #наушники
0:54
CaseGuru / Наушники / Пылесосы / Смарт-часы /
Рет қаралды 4,1 МЛН
3D printed Nintendo Switch Game Carousel
0:14
Bambu Lab
Рет қаралды 3,9 МЛН
Обзор игрового компьютера Макса 2в1
23:34
Carregando telefone com carregador cortado
1:01
Andcarli
Рет қаралды 1,3 МЛН