数独

机智男神少云-

<h1><b><i>数独简介</i></b></h1><p data-pid="p-0" style="white-space: normal; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.301961); caret-color: rgb(51, 51, 51); color: rgb(51, 51, 51); font-family: Arial, Helvetica, sans-serif; font-size: 18px; -webkit-text-size-adjust: 100%;">数独是源自18世纪瑞士的一种数学游戏。是一种运用纸、笔进行演算的<a href="https://baike.baidu.com/item/%E9%80%BB%E8%BE%91%E6%B8%B8%E6%88%8F/12814189" data-lemmaid="12814189" style="color: rgb(58, 127, 222);">逻辑游戏</a>。玩家需要根据9×9盘面上的已知数字,推理出所有剩余空格的数字,并满足每一行、每一列、每一个粗线宫(3*3)内的数字均含1-9,不重复。</h3><p data-pid="p-1" style="white-space: normal; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.301961); margin-top: 0.15rem; caret-color: rgb(51, 51, 51); color: rgb(51, 51, 51); font-family: Arial, Helvetica, sans-serif; font-size: 18px; -webkit-text-size-adjust: 100%;">数独盘面是个九宫,每一宫又分为九个小格。在这八十一格中给出一定的已知数字和解题条件,利用逻辑和推理,在其他的空格上填入1-9的数字。使1-9每个数字在每一行、每一列和每一宫中都只出现一次,所以又称“九宫格”。</h3> <h1><font face=".PingFangSC-Regular"><span style="font-size: 22.66666603088379px;"><i><b>什么是数独</b></i></span></font></h1><p style="font-stretch: normal; line-height: normal; font-family: &quot;.PingFang SC&quot;; color: rgb(69, 69, 69);"><span style="font-family: &quot;.PingFangSC-Regular&quot;; font-size: 17pt;">数独是一种以数字为表现形式的智力谜题,也是一种逻辑游戏。</span></h3><h3><span style="font-family: &quot;.PingFangSC-Regular&quot;; font-size: 17pt; color: rgb(69, 69, 69);">智力谜题有很多,包括:数图、数连、数桥等等。</span><br></h3><h3><span style="font-family: &quot;.PingFangSC-Regular&quot;; font-size: 17pt; color: rgb(69, 69, 69);">数独按大小分为:四宫数独、六宫数独和九宫数独。</span><br></h3><h3><span style="font-family: &quot;.PingFangSC-Regular&quot;; font-size: 17pt; color: rgb(69, 69, 69);">数独按规则分为:标准数独和变形数独。</span><br></h3><h3><span style="color: rgb(69, 69, 69); font-family: &quot;.PingFangSC-Regular&quot;; font-size: 17pt;">其实变形的条件不会有极限的,只要有想象力,可以创造出新型变形数独。虽然数独条件变换多端,但有一条始终不变的绝对条件</span><span style="color: rgb(69, 69, 69); font-family: &quot;.SFUIText&quot;; font-size: 17pt;">——</span><span style="color: rgb(69, 69, 69); font-family: &quot;.PingFangSC-Regular&quot;; font-size: 17pt;">同一限制区域内不能出现重复数字。只要符合这个条件,就没有脱离“数独”的范畴。</span><br></h3> <h1><i><b>历史发展:</b></i></h1><h1><i>起源:</i></h1><h3>既然“数独”有一个字是“数”,人们也往往会联想到数学,那就不妨从大家都知道的数学家<a href="https://baike.baidu.com/item/%E6%AC%A7%E6%8B%89" style="color: rgb(58, 127, 222);">欧拉</a>说起,但凡想了解数独历史的玩家在网络、书籍中搜索时,共同会提到的就是欧拉的“拉丁方块(Latin square)”。</h3><h3>拉丁方块的规则:每一行(Row)、每一列(Column)均含1-N(N即盘面的规格),不重复。这与前面提到的标准数独非常相似,但少了一个宫的规则。</h3><h1><i>近代发展:</i></h1><h3><span style="white-space: normal; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.301961); caret-color: rgb(51, 51, 51); color: rgb(51, 51, 51); font-family: Arial, Helvetica, sans-serif; font-size: 18px; -webkit-text-size-adjust: 100%;">数独起源于18世纪初瑞士数学家</span><a href="https://baike.baidu.com/item/%E6%AC%A7%E6%8B%89/162567" data-lemmaid="162567" style="white-space: normal; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.301961); color: rgb(58, 127, 222); font-family: Arial, Helvetica, sans-serif; font-size: 18px; -webkit-text-size-adjust: 100%;">欧拉</a><span style="white-space: normal; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.301961); caret-color: rgb(51, 51, 51); color: rgb(51, 51, 51); font-family: Arial, Helvetica, sans-serif; font-size: 18px; -webkit-text-size-adjust: 100%;">等人研究的</span><a href="https://baike.baidu.com/item/%E6%8B%89%E4%B8%81%E6%96%B9%E9%98%B5" style="white-space: normal; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.301961); color: rgb(58, 127, 222); font-family: Arial, Helvetica, sans-serif; font-size: 18px; -webkit-text-size-adjust: 100%;">拉丁方阵</a><span style="white-space: normal; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.301961); caret-color: rgb(51, 51, 51); color: rgb(51, 51, 51); font-family: Arial, Helvetica, sans-serif; font-size: 18px; -webkit-text-size-adjust: 100%;">(Latin Square)。19世纪80年代,一位美国的退休建筑师格昂斯(Howard Garns)根据这种拉丁方阵发明了一种填数趣味游戏,这就是数独的雏形。20世纪70年代,人们在美国纽约的一本益智杂志《Math Puzzles and Logic Problems》上发现了这个游戏,当时被称为填数字(Number Place),这也是目前公认的数独最早的见报版本。1984年一位日本学者将其介绍到了日本,发表在Nikoli公司的一本游戏杂志上,当时起名为“数字は独身に限る”(すうじはどくしんにかぎる),就改名为“数独”(すうどく),其中“数”(すう)是数字的意思,“独”(どく)是唯一的意思。后来一位前任</span><a href="https://baike.baidu.com/item/%E9%A6%99%E6%B8%AF%E9%AB%98%E7%AD%89%E6%B3%95%E9%99%A2" style="white-space: normal; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.301961); color: rgb(58, 127, 222); font-family: Arial, Helvetica, sans-serif; font-size: 18px; -webkit-text-size-adjust: 100%;">香港高等法院</a><span style="white-space: normal; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.301961); caret-color: rgb(51, 51, 51); color: rgb(51, 51, 51); font-family: Arial, Helvetica, sans-serif; font-size: 18px; -webkit-text-size-adjust: 100%;">的新西兰籍法官高乐德(Wayne Gould)在1997年3月到日本东京旅游时,无意中发现了。他首先在英国的《</span><a href="https://baike.baidu.com/item/%E6%B3%B0%E6%99%A4%E5%A3%AB%E6%8A%A5" style="white-space: normal; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.301961); color: rgb(58, 127, 222); font-family: Arial, Helvetica, sans-serif; font-size: 18px; -webkit-text-size-adjust: 100%;">泰晤士报</a><span style="white-space: normal; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.301961); caret-color: rgb(51, 51, 51); color: rgb(51, 51, 51); font-family: Arial, Helvetica, sans-serif; font-size: 18px; -webkit-text-size-adjust: 100%;">》上发表,不久其他报纸也发表,很快便风靡全英国,之后他用了6年时间编写了电脑程序,并将它放在网站上(这个网站也就是著名的数独玩家论坛),后来因一些原因,网站被关闭,幸好</span><a href="https://baike.baidu.com/item/%E6%95%B0%E7%8B%AC%E5%A4%A7%E5%B8%88" style="white-space: normal; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.301961); color: rgb(58, 127, 222); font-family: Arial, Helvetica, sans-serif; font-size: 18px; -webkit-text-size-adjust: 100%;">数独大师</a><span style="white-space: normal; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.301961); caret-color: rgb(51, 51, 51); color: rgb(51, 51, 51); font-family: Arial, Helvetica, sans-serif; font-size: 18px; -webkit-text-size-adjust: 100%;">Glenn Fowler恢复了数据,玩家论坛有了新处所。在90年代国内就有部分的益智类书籍开始刊登,南海出版社在2005年出版了《数独1-2》,随后日本著名数独制题人西尾彻也的《</span><a href="https://baike.baidu.com/item/%E6%95%B0%E7%8B%AC%E6%8C%91%E6%88%98" style="white-space: normal; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.301961); color: rgb(58, 127, 222); font-family: Arial, Helvetica, sans-serif; font-size: 18px; -webkit-text-size-adjust: 100%;">数独挑战</a><span style="white-space: normal; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.301961); caret-color: rgb(51, 51, 51); color: rgb(51, 51, 51); font-family: Arial, Helvetica, sans-serif; font-size: 18px; -webkit-text-size-adjust: 100%;">》也由</span><a href="https://baike.baidu.com/item/%E8%BE%BD%E5%AE%81%E6%95%99%E8%82%B2%E5%87%BA%E7%89%88%E7%A4%BE" style="white-space: normal; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.301961); color: rgb(58, 127, 222); font-family: Arial, Helvetica, sans-serif; font-size: 18px; -webkit-text-size-adjust: 100%;">辽宁教育出版社</a><span style="white-space: normal; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.301961); caret-color: rgb(51, 51, 51); color: rgb(51, 51, 51); font-family: Arial, Helvetica, sans-serif; font-size: 18px; -webkit-text-size-adjust: 100%;">出版。《</span><a href="https://baike.baidu.com/item/%E5%8C%97%E4%BA%AC%E6%99%9A%E6%8A%A5" style="white-space: normal; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.301961); color: rgb(58, 127, 222); font-family: Arial, Helvetica, sans-serif; font-size: 18px; -webkit-text-size-adjust: 100%;">北京晚报</a><span style="white-space: normal; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.301961); caret-color: rgb(51, 51, 51); color: rgb(51, 51, 51); font-family: Arial, Helvetica, sans-serif; font-size: 18px; -webkit-text-size-adjust: 100%;">》、《</span><a href="https://baike.baidu.com/item/%E6%89%AC%E5%AD%90%E6%99%9A%E6%8A%A5" style="white-space: normal; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.301961); color: rgb(58, 127, 222); font-family: Arial, Helvetica, sans-serif; font-size: 18px; -webkit-text-size-adjust: 100%;">扬子晚报</a><span style="white-space: normal; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.301961); caret-color: rgb(51, 51, 51); color: rgb(51, 51, 51); font-family: Arial, Helvetica, sans-serif; font-size: 18px; -webkit-text-size-adjust: 100%;">》、《</span><a href="https://baike.baidu.com/item/%E7%BE%8A%E5%9F%8E%E6%99%9A%E6%8A%A5" style="white-space: normal; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.301961); color: rgb(58, 127, 222); font-family: Arial, Helvetica, sans-serif; font-size: 18px; -webkit-text-size-adjust: 100%;">羊城晚报</a><span style="white-space: normal; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.301961); caret-color: rgb(51, 51, 51); color: rgb(51, 51, 51); font-family: Arial, Helvetica, sans-serif; font-size: 18px; -webkit-text-size-adjust: 100%;">》、《</span><a href="https://baike.baidu.com/item/%E6%96%B0%E6%B0%91%E6%99%9A%E6%8A%A5" style="white-space: normal; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.301961); color: rgb(58, 127, 222); font-family: Arial, Helvetica, sans-serif; font-size: 18px; -webkit-text-size-adjust: 100%;">新民晚报</a><span style="white-space: normal; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.301961); caret-color: rgb(51, 51, 51); color: rgb(51, 51, 51); font-family: Arial, Helvetica, sans-serif; font-size: 18px; -webkit-text-size-adjust: 100%;">》、《</span><a href="https://baike.baidu.com/item/%E6%88%90%E9%83%BD%E5%95%86%E6%8A%A5" style="white-space: normal; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.301961); color: rgb(58, 127, 222); font-family: Arial, Helvetica, sans-serif; font-size: 18px; -webkit-text-size-adjust: 100%;">成都商报</a><span style="white-space: normal; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.301961); caret-color: rgb(51, 51, 51); color: rgb(51, 51, 51); font-family: Arial, Helvetica, sans-serif; font-size: 18px; -webkit-text-size-adjust: 100%;">》等等报纸媒体也先后刊登了数独游戏。</span><br></h3> <p style="font-stretch: normal; line-height: normal; font-family: &quot;.PingFang SC&quot;; color: rgb(69, 69, 69);"><span style="font-family: &quot;.PingFangSC-Regular&quot;; font-size: 17pt;">数独填写的规则</span></h3><p style="font-stretch: normal; line-height: normal; font-family: &quot;.PingFang SC&quot;; color: rgb(69, 69, 69);"><span style="font-family: &quot;.PingFangSC-Regular&quot;; font-size: 17pt;">四宫格规则:</span></h3><p style="font-stretch: normal; line-height: normal; font-family: &quot;.PingFang SC&quot;; color: rgb(69, 69, 69);"><span style="font-family: &quot;.PingFangSC-Regular&quot;; font-size: 17pt;">数独盘面是个四宫,每一宫又分为四个小格。在这十六格中给出一定的已知数字和解题条件,利用逻辑和推理,在其他的空格上填入</span><span style="font-family: &quot;.SFUIText&quot;; font-size: 17pt;">1-4</span><span style="font-family: &quot;.PingFangSC-Regular&quot;; font-size: 17pt;">的数字。使</span><span style="font-family: &quot;.SFUIText&quot;; font-size: 17pt;">1-4</span><span style="font-family: &quot;.PingFangSC-Regular&quot;; font-size: 17pt;">每个数字在每一行、每一列和每一宫中都只出现一次,所以又称“四宫格”。</span></h3> <h3>你知道什么是六宫格,九宫格吗?</h3> <p class="s14" style="font-family: -webkit-standard; white-space: normal; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.301961); margin-top: 5px; margin-bottom: 5px; line-height: 21.600000381469727px; font-size: 18px;"><span class="s20" style="line-height: 15.600000381469727px; color: rgb(51, 51, 51); font-size: 13px; font-family: Arial; font-weight: bold;"><span class="bumpedFont15" style="line-height: 23.399999618530273px; font-size: 1.5em;"><i>基础解法</i></span></span></h3><p class="s11" style="font-family: -webkit-standard; white-space: normal; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.301961); text-indent: 24px; font-size: 18px;"><span class="s5" style="line-height: 12px; font-size: 10px; font-family: Arial; color: rgb(51, 51, 51);"><span class="bumpedFont20" style="line-height: 24px; font-size: 2em;">排除法(摒除法)</span></span></h3><p class="s11" style="font-family: -webkit-standard; white-space: normal; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.301961); text-indent: 24px; font-size: 18px;"><span class="s5" style="line-height: 12px; font-size: 10px; font-family: Arial; color: rgb(51, 51, 51);"><span class="bumpedFont20" style="line-height: 24px; font-size: 2em;">摒除法:用数字去找单元内唯一可填空格,称为摒除法,数字可填唯一空格称为排除法 (Hidden Single)。</span></span></h3><p class="s11" style="font-family: -webkit-standard; white-space: normal; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.301961); text-indent: 24px; font-size: 18px;"><span class="s5" style="line-height: 12px; font-size: 10px; font-family: Arial; color: rgb(51, 51, 51);"><span class="bumpedFont20" style="line-height: 24px; font-size: 2em;">根据不同的作用范围,摒余解可分为下述三种:</span></span></h3><p class="s11" style="font-family: -webkit-standard; white-space: normal; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.301961); text-indent: 24px; font-size: 18px;"><span class="s5" style="line-height: 12px; font-size: 10px; font-family: Arial; color: rgb(51, 51, 51);"><span class="bumpedFont20" style="line-height: 24px; font-size: 2em;">数字可填唯一空格在「宫」单元称为宫排除(Hidden Single in Box),也称宫摒除法。</span></span></h3><p class="s11" style="font-family: -webkit-standard; white-space: normal; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.301961); text-indent: 24px; font-size: 18px;"><span class="s5" style="line-height: 12px; font-size: 10px; font-family: Arial; color: rgb(51, 51, 51);"><span class="bumpedFont20" style="line-height: 24px; font-size: 2em;">数字可填唯一空格在「行」单元称为行排除法(Hidden Single in Row),也称行摒除法。</span></span></h3><p class="s11" style="font-family: -webkit-standard; white-space: normal; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.301961); text-indent: 24px; font-size: 18px;"><span class="s5" style="line-height: 12px; font-size: 10px; font-family: Arial; color: rgb(51, 51, 51);"><span class="bumpedFont20" style="line-height: 24px; font-size: 2em;">数字可填唯一空格在「列」单元称为列排除法(Hidden Single in Column),也称列摒除法。</span></span></h3><p class="s16" style="font-family: -webkit-standard; white-space: normal; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.301961); line-height: 21.600000381469727px; font-size: 18px;"><br></h3><p class="s11" style="font-family: -webkit-standard; white-space: normal; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.301961); text-indent: 24px; font-size: 18px;"><span style="line-height: 21.600000381469727px;">&nbsp;</span></h3><p class="s11" style="font-family: -webkit-standard; white-space: normal; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.301961); text-indent: 24px; font-size: 18px;"><br></h3><p class="s11" style="font-family: -webkit-standard; white-space: normal; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.301961); text-indent: 24px; font-size: 18px;"><span style="line-height: 21.600000381469727px;">&nbsp;</span></h3> <p class="s11" style="font-family: -webkit-standard; white-space: normal; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.301961); font-size: 18px; text-indent: 24px;"><span class="s5" style="line-height: 12px; font-size: 10px; font-family: Arial; color: rgb(51, 51, 51);"><span class="bumpedFont20" style="line-height: 24px; font-size: 2em;">唯一余数法</span></span></h3><p class="s11" style="font-family: -webkit-standard; white-space: normal; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.301961); font-size: 18px; text-indent: 24px;"><span class="s5" style="line-height: 12px; font-size: 10px; font-family: Arial; color: rgb(51, 51, 51);"><span class="bumpedFont20" style="line-height: 24px; font-size: 2em;">唯一余数法:用格位去找唯一可填数字,称为余数法,格位唯一可填数字称为唯余解(Naked Single)。</span></span></h3><p class="s11" style="font-family: -webkit-standard; white-space: normal; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.301961); font-size: 18px; text-indent: 24px;"><span class="s5" style="line-height: 12px; font-size: 10px; font-family: Arial; color: rgb(51, 51, 51);"><span class="bumpedFont20" style="line-height: 24px; font-size: 2em;">余数法是删减等位群格位(Peer)已出现的数字的方法,每一格位的等位群格位有 20 个,</span></span></h3><p class="s11" style="font-family: -webkit-standard; white-space: normal; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.301961); font-size: 18px; text-indent: 24px;"><span class="s5" style="line-height: 12px; font-size: 10px; font-family: Arial; color: rgb(51, 51, 51);"><span class="bumpedFont20" style="line-height: 24px; font-size: 2em;">其实,数独的方法还有很多,希望你们能探索出更多更有用的方法。</span></span></h3><p class="s11" style="font-family: -webkit-standard; white-space: normal; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.301961); font-size: 18px; text-indent: 24px;"><span style="line-height: 21.600000381469727px;">&nbsp;</span></h3>