World's Hardest Sudoku
jones_supa writes "A Finnish PhD in mathematics, Arto Inkala, has allegedly created the world's toughest sudoku puzzle. 'There's no straightforward way to define the difficulty level of a sudoku. I myself doubt if this is the hardest in the world, but definitely harder than my previous ones,' Inkala sets off humbly. The news agencies around Europe are nonetheless excited (Google translation of Finnish original). The particular difficulty in this version lies in the number of deductions you have to make in order to fill in a single number on the grid. 'It is a common misconception that the less initial numbers, the harder the puzzle. The most challenging ones have 21-25', the creator adds."
8 1 2 7 5 3 6 4 9
9 4 3 6 8 2 1 7 5
6 7 5 4 9 1 2 8 3
1 5 4 2 3 7 8 9 6
3 6 9 8 4 5 7 2 1
2 8 7 1 6 9 5 3 4
5 2 1 9 7 4 3 6 8
4 3 8 5 2 6 9 1 7
7 9 6 3 1 8 4 5 2
I'm printing it out now, nothing like someone claiming the impossible to make you want to try and prove them wrong.
Would not filling in an entirely empty grid to match a hidden completed grid be the hardest, in that only luck of Pre-cognition will help you.
All other grids where there is a singular chain of logical inference leading to a unique solution are neither harder nor easier than each other. They are just more or less boring to fill in as you progress round the inference algorithm. I learned this after filling in my fourth "Hard" grid, in that using a simple algorithm with a good notation will always lead to a result.
This is also why I stopped doing Soduko.
Who cares about the Higgs boson?
Sudoku is real science!
It wasn't hard at all - My Galaxy S3 with Google Goggles solved it in under 3 seconds.
:-P
Of course, I personally, don't even know the rules of Sudoku.
Would love to give it a shot!
The following crappy solver I cobbled together solved it in 33 seconds under Cygwin:
https://github.com/fhstoica/NumbersAndLettersSudokuSolver
Check out Peter Norvig's web site for a very elegant solver and look for the "impossible puzzle" if you really want a difficult one:
http://norvig.com/sudoku.html
Some excellent news about the Higgs particle is announced more than 0.5 hr ago, I come hear to Slashdot to read what everyone has to say.....and the font page headline here is about motherfucking Sodoku. Really? Are the editors asleep, apathetic or all of the above? Fuck.
"'It is a common misconception that the less initial numbers..."
When you have discrete, countable units, such as the symbols, in this case numbers, already present on the Sudoku grid, you have more or you have fewer .
When it's something you can't count, you have more or you have less.
I have more 16x16 grid sheets printed up for hexadecimal Sudoku, because those are the ones I copy from 'the net'.
I have fewer (currently none, actually) of the 9x9 (4 to a page) printed because I quit doing the 1-9 version sometime back.
I'm going to try this one out, but suspect it will turn out to be the type that lets you get just so far with logic and then leaves you no alternative but trial and error, just like the Saturday ones in a certain Raleigh newspaper.
I see even classic Slashdot is now pretty much unusable on dial up anymore.
The site that I used was http://www.sudokuwiki.org/sudoku.htm . One of the feature of this site is to tell you the possible techniques that you can use on solving a given sudoku. Unfortunately, when it analyzed the sudoku found in the fine article it could not tell what technique to use. I used a sudoku app on my java phone to record the sudoku but it wont accept puzzles with less than 22 givens, Yeah the site brute forced the puzzle and solved it but it cannot solve it by normal means.
This will be tomorrow's news.
http://www.theonion.com/articles/caltech-physicists-successfully-split-the-bill,2037/
but at least they were topical.
today's top story: worlds hardest sudoku
summary: not actually the world's hardest sudoku.
more at 11.
812753649 943682175 675491283 154237896 369845721 287169534 521974368 438526917 796318452
I am putting you all on sudoku watch.
Definitely not one of the hardest sudokus.
There is a tool to compute the difficulty of a puzzle, and you can also download a massive database of hard sudokus (5 millions+):
http://code.google.com/p/skfr-sudoku-fast-rating/
For reference, this one is rated 10.7:
http://forum.enjoysudoku.com/the-hardest-sudokus-new-thread-t6539-420.html
BTW, there is a database of 31804 puzzles of difficulty 11 and above:
http://gpenet.pagesperso-orange.fr/downloads/hard11.zip
Exactly 7 have a rank of 11.9.
Wiped out my Android, started augemented reality solver, pointed camera at monitor at it took 45ms to show me the complete field.
Makes Sudoku feel rather pointless.
HI O WISE PRINCE. WHT TOOK U SO DAM LONG?
Welcome to Slashdot, you must be new here. Slashdot is more newspaper-like than most other web resources, as it provides us with yesterday's news today!
If you read the "official" difficulty level, it's 11.
Yes, it goes to 11. You know it's harder when it's one more.
-
But it's not symmetric! All good sudoku puzzles should be rotationally symmetric.
also, google goggles solves the sudoku using google's servers, not your phone. so it doesn't matter that you used an s3.
Of course (Samsung) it (Galaxy) matters (S3), when Samsung (Galaxy S3) is paying for (Samsung Galaxy S3) your posts.
Samsung Galaxy S3!
mainly because it's not deterministic, it's under-defined (or whatever it's called). If you can solve it with (at least) two different solutions, this PhD ought to give back his degree and go back to school for making such a claim without actually checking into the facts ... otherwise, here's my "hardest sudoku": "1" at E5. Send back the correct solution I have here.
Btw, any Sudoku solver that goes by deterministic rules without using guesswork/brute force should stop after eliminating some numbers from empty fields ... ny solver that comes up with a solution obviously does brute force ...
You just dropped your tinfoil hat. There it is.
Imagine that.
Actually that's an interesting problem in itself. "What constitutes hard" in a sudoku puzzle? Maybe he meant that there are differences of opinion on whether one type of concept is numerically more difficult than another combined with the depth of the process, aka a harder extension of an easier concept vs an easier extension of a harder concept.
My first Journal Entry ever, in 8 years! http://slashdot.org/journal/365947/aphelion-scifi-fantasy-horror-poetry-webzine
I can make a tougher puzzle than that. It's just a regular Sudoku, but if you make a mistake, I'll kick your shin.
its like chess. the point of the thing isn't to "solve problems", it is to exercise the problem solving center of the brain. its supposed to be somewhat amusing and/or entertaining. if you make sudoku so hard that only a computer can solve it, you have kind of defeated the purpose of the game in the first place. like trying to play basketball with 20 foot high hoops
please check http://oeis.org/
Largest square = sum of squares of divisors of n.
1, 4, 9, 16, 25, 49, 49, 81, 81, 121, 121, 196, 169, 225
One reason that you cannot solve this puzzle without making assumptions is that it has more than one solution!
One of the comments in the FA provides a solution to the puzzle, which is different from the solution I found using a sudoku solver that I wrote back when I realized that I was spending too much time on these puzzles.
When stuck, my solver starts selecting random values among the valid possibilities, backtracking if the guess does not lead to a solution. This makes it possible for the solver to solve puzzles that don't have enough (or any) numbers to solve the puzzle deterministically, producing different answers each time it is run on such a puzzle. I guess this particular puzzle is one such incomplete puzzle, as running the solver again, produced a third solution!
I would think that sudoku puzzles with more than one solution are not correct puzzles, so this particular puzzle does not qualify as such.
Maybe you should apply for a job as a motherfucking editor? You might want to tone it back a bit on your motherfucking interview, though. Fuck.
I've spent some time trying to work this puzzle out this morning, and haven't gotten one number figured out yet.
Maybe I'm just not good enough at solving Sudokus, but is this puzzle solvable at all by logical deduction? Or is it *necessary* to just guess a number at some point, and 'trial & error' it to see where it leads?
Does anyone here know whether or not this puzzle can be solved without guessing?
If it is necessary to just put a number in a box and see if that will eventually lead to a dead end, then IMO this isn't a valid Sudoku puzzle. If there is some logical way, even if difficult, to conclusively determine a specific square MUST be a specific number, then I must just not be good enough to solve the puzzle, and I'm willing to accept that.
While you can put down a number grid and by process of elimination get the right ones is a possible fork where you guess a number's position really what this is about?
After all, when is it considered hard and when is it not sudoku? if you have a puzzle with 4-5 forks it's more guessing than solving. In that case we can create a sudoku with a minimal amount of numbers and call it "the hardest" it would simply contain 15+ forks.
If you convert this Sudoku to an exact cover problem, it can be solved by logic reduction alone. An exact cover solver that I wrote took 0.031 seconds to do this (including generating output for each reduction it made). Exact cover problems are in NP-complete, but a Sudoku that can be solved with logic reasoning alone, can always be solved with only logic reductions.
My program for converting a Sudoku to an exact cover took 0,015 second. My program for solving an exact cover took 0,031 seconds. This time is including producing 23K output file containing log and result. This mainly due to the fact that the exact cover can be solved with only applying logic reductions, taking two columns and see if there an implication. If this is the case, all rows that do not contain a 1 value in both columns can be removed. This results in 60 rows giving the solution to the sudoku, one row for each empty position.
According to my exact cover program (which required only logic reductions to solve the puzzle) this sudoku can be solved without having to make any guess.
Oh no! You caught me out! My master plan has failed. I signed up to slashdot almost a decade ago, posted consistently throughout that that entire time with good karma and then wham! When I finally pull out my single, masterly Astro-Turf-Master comment, this AC foils me!
Oh the irony!
|8 1 2|7 5 3|6 4 9|
|9 4 3|6 8 2|1 7 5|
|6 7 5|4 9 1|2 8 3|
|1 5 4|2 3 7|8 9 6|
|3 6 9|8 4 5|7 2 1|
|2 8 7|1 6 9|5 3 4|
|5 2 1|9 7 4|3 6 8|
|4 3 8|5 2 6|9 1 7|
|7 9 6|3 1 8|4 5 2|
real 0m0.083s
user 0m0.073s
sys 0m0.003s
The interactive way to Go -- http://www.playgo.to/iwtg/en/
I typed it up in the format that the commandline program sudoku couls understand and it solved it flatout. I made a file with the following %World's hardest sudoku: can you crack it? 8........ ..36..... .7..9.2.. .5...7... ....457.. ...1...3. ..1....68 ..85...1. .9....4..
then ran it like so
sudoku -n hardest_suduko.txt
you can cheat using v
solves instantly even with a slow computer.
the old school type of geometry, where you just have a straightedge and a compass to draw circles around a point.
Chicago Herald Position Opening Announcement
Applicants for the position of Motherfucking Editor are required to appear at the interview with three mothers
That wasn't an AC.
It's very literally a matter of opinion. Sudokus are trivial for computers. "Hard" for a sudoku means "not amenable to the kinds of tricks a human brain throws at the problem", and since brains vary, hardness is a matter of opinion.
Many human strategies are known and categorized; a puzzle that is amenable to none of them is "harder" than one that isn't. Within the range, though, it will vary from person to person.
It's kinda like the inverse of a Turing test. Too bad we can't use it for a reverse CAPTCHA: Can you solve this Sudoku? Oops, you must be a bot!
Tone it down you stuttering bald fuck? Fat chance!
The challenge to me of this type of puzzle is to use the tools and skills available to me and to write my own solver program for it on computers with compilers that I have available. Like I've done for Maverick Solitaire in the past. And to have an efficient solution that doesn't need the Amazon Cloud to solve every possible combination through poor programming. The satisfaction of having my own program reach the answer well exceeds using anyone else's solver program.
"It's the height of ridiculousness to say for those 9 lines you get hundreds of millions."
The English promoter of sudoku, in one of his many books, indicated that the hard puzzles would need trial and error and that several false starts were to be expected. In my view, it is a logic problem and can, nay must, be solved by logic. No lets try a 5 here?
The hexadecimal version just takes too long, the binary version is really too short. The only real problem is that, if you put it down, like a crossword, when you pick it back up, you have to reload short term memory. So it is solved best in one sitting.
I think we can estimate the Sudoku difficulty by using this:
http://www.thegeekstuff.com/2010/01/yet-another-sudoku-puzzle-solver-using-awk/
Ummm, yes. Yes it was.
A few years ago a friend gave me a daily calendar with sudoku puzzles. I'm not really into solving pencil-and-paper puzzles, but I didn't want to just give it away without using it somehow first. So I wrote a sudoku solver. First I implemented a basic solver for constraint satisfaction problems (CSPs). It's about 360 lines of C++ (including the header file). Then I wrote the sudoku solver on top of that. It's about 260 lines. Running it on this problem on a basic few-year-old OTS desktop solved it in ~0.6s.
Here's the interesting thing. Before I ran the solver on this problem, I thought that "hard" for pencil-and-paper solving is different than hard for a CSP solver. But I was wrong. My solver solves the old sample problems I had from the calendar in 0.1-0.2s, about 4 to 6 times faster than this hard one. So this one is measurably harder!
My Emacs Lisp program took 16 seconds to solve this. It uses a backtracking technique when it gets stuck - I think this is the "brute force" method mentioned in other notes.
Yet another commenter who can't enter the damn initial numbers correctly. You've put the first '5' in the wrong cell.
Next time you're bored write a sudoku generator then sit back and watch them slug it out.
Confucius say, "Find worm in apple - bad. Find half a worm - worse."
Gaming the game can become a game in its own right.
Take a look at the constant arms race between games operators & the wallhacking/aimbot fraternity.
Confucius say, "Find worm in apple - bad. Find half a worm - worse."
If you do have such a solution, why not provide a link? I would like to see the code.
http://www.dailymail.co.uk/news/article-2166680/True-test-genius-monumental-waste-time-Can-solve-hardest-Sudoku.html
with the answer
They also think they are God and will live forever or at least more than 1450 billion years.
It's certainly not the hardest puzzle if you can actually solve it by deduction. I've seen puzzles that have no way to solve except to make several of "guess and check" branches and see which one allows the puzzle to be solved. And yes, I do know all the funky mathematical tricks to the game, and even wrote a program to do so just to make sure I wasn't missing anything. I wish I still had that puzzle so I could post here, but it was the only one I've found that I've ever given up on. It had only 17 numbers pre-filled, which is the minimum that guarantees a unique solution.