CINXE.COM

斐波那契编码 - 维基百科,自由的百科全书

<!DOCTYPE html> <html class="client-nojs vector-feature-language-in-header-enabled vector-feature-language-in-main-page-header-disabled vector-feature-sticky-header-disabled vector-feature-page-tools-pinned-disabled vector-feature-toc-pinned-clientpref-1 vector-feature-main-menu-pinned-disabled vector-feature-limited-width-clientpref-1 vector-feature-limited-width-content-enabled vector-feature-custom-font-size-clientpref-1 vector-feature-appearance-pinned-clientpref-1 vector-feature-night-mode-enabled skin-theme-clientpref-day vector-toc-available" lang="zh" dir="ltr"> <head> <meta charset="UTF-8"> <title>斐波那契编码 - 维基百科,自由的百科全书</title> <script>(function(){var className="client-js vector-feature-language-in-header-enabled vector-feature-language-in-main-page-header-disabled vector-feature-sticky-header-disabled vector-feature-page-tools-pinned-disabled vector-feature-toc-pinned-clientpref-1 vector-feature-main-menu-pinned-disabled vector-feature-limited-width-clientpref-1 vector-feature-limited-width-content-enabled vector-feature-custom-font-size-clientpref-1 vector-feature-appearance-pinned-clientpref-1 vector-feature-night-mode-enabled skin-theme-clientpref-day vector-toc-available";var cookie=document.cookie.match(/(?:^|; )zhwikimwclientpreferences=([^;]+)/);if(cookie){cookie[1].split('%2C').forEach(function(pref){className=className.replace(new RegExp('(^| )'+pref.replace(/-clientpref-\w+$|[^\w-]+/g,'')+'-clientpref-\\w+( |$)'),'$1'+pref+'$2');});}document.documentElement.className=className;}());RLCONF={"wgBreakFrames":false,"wgSeparatorTransformTable":["",""],"wgDigitTransformTable":["",""],"wgDefaultDateFormat":"zh", "wgMonthNames":["","1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],"wgRequestId":"6d616551-eca7-44e3-9cd6-ddc56eb52be2","wgCanonicalNamespace":"","wgCanonicalSpecialPageName":false,"wgNamespaceNumber":0,"wgPageName":"斐波那契编码","wgTitle":"斐波那契编码","wgCurRevisionId":80498987,"wgRevisionId":80498987,"wgArticleId":1626043,"wgIsArticle":true,"wgIsRedirect":false,"wgAction":"view","wgUserName":null,"wgUserGroups":["*"],"wgCategories":["CS1英语来源 (en)","数据压缩","非标准进制系统","无损压缩算法","斐波那契数"],"wgPageViewLanguage":"zh","wgPageContentLanguage":"zh","wgPageContentModel":"wikitext","wgRelevantPageName":"斐波那契编码","wgRelevantArticleId":1626043,"wgUserVariant":"zh","wgIsProbablyEditable":true,"wgRelevantPageIsProbablyEditable":true,"wgRestrictionEdit":[],"wgRestrictionMove":[],"wgNoticeProject":"wikipedia","wgCiteReferencePreviewsActive":true,"wgMediaViewerOnClick":true, "wgMediaViewerEnabledByDefault":true,"wgPopupsFlags":0,"wgVisualEditor":{"pageLanguageCode":"zh","pageLanguageDir":"ltr","pageVariantFallbacks":["zh-hans","zh-hant","zh-cn","zh-tw","zh-hk","zh-sg","zh-mo","zh-my"]},"wgMFDisplayWikibaseDescriptions":{"search":true,"watchlist":true,"tagline":true,"nearby":true},"wgWMESchemaEditAttemptStepOversample":false,"wgWMEPageLength":8000,"wgRelatedArticlesCompat":[],"wgCentralAuthMobileDomain":false,"wgEditSubmitButtonLabelPublish":true,"wgULSPosition":"interlanguage","wgULSisCompactLinksEnabled":false,"wgVector2022LanguageInHeader":true,"wgULSisLanguageSelectorEmpty":false,"wgWikibaseItemId":"Q2633","wgCheckUserClientHintsHeadersJsApi":["brands","architecture","bitness","fullVersionList","mobile","model","platform","platformVersion"],"GEHomepageSuggestedEditsEnableTopics":true,"wgGETopicsMatchModeEnabled":false,"wgGEStructuredTaskRejectionReasonTextInputEnabled":false,"wgGELevelingUpEnabledForUser":false};RLSTATE={"ext.gadget.large-font":"ready", "ext.globalCssJs.user.styles":"ready","site.styles":"ready","user.styles":"ready","ext.globalCssJs.user":"ready","user":"ready","user.options":"loading","ext.cite.styles":"ready","ext.math.styles":"ready","skins.vector.search.codex.styles":"ready","skins.vector.styles":"ready","skins.vector.icons":"ready","jquery.makeCollapsible.styles":"ready","ext.wikimediamessages.styles":"ready","ext.visualEditor.desktopArticleTarget.noscript":"ready","ext.uls.interlanguage":"ready","wikibase.client.init":"ready","ext.wikimediaBadges":"ready"};RLPAGEMODULES=["ext.cite.ux-enhancements","site","mediawiki.page.ready","jquery.makeCollapsible","mediawiki.toc","skins.vector.js","ext.centralNotice.geoIP","ext.centralNotice.startUp","ext.gadget.edit0","ext.gadget.WikiMiniAtlas","ext.gadget.UnihanTooltips","ext.gadget.Difflink","ext.gadget.pseudonamespace-UI","ext.gadget.SpecialWikitext","ext.gadget.switcher","ext.gadget.VariantAlly","ext.gadget.AdvancedSiteNotices","ext.gadget.hideConversionTab", "ext.gadget.internalLinkHelper-altcolor","ext.gadget.noteTA","ext.gadget.NavFrame","ext.gadget.collapsibleTables","ext.gadget.scrollUpButton","ext.urlShortener.toolbar","ext.centralauth.centralautologin","mmv.bootstrap","ext.popups","ext.visualEditor.desktopArticleTarget.init","ext.visualEditor.targetLoader","ext.echo.centralauth","ext.eventLogging","ext.wikimediaEvents","ext.navigationTiming","ext.uls.interface","ext.cx.eventlogging.campaigns","ext.cx.uls.quick.actions","wikibase.client.vector-2022","ext.checkUser.clientHints","ext.growthExperiments.SuggestedEditSession","wikibase.sidebar.tracking"];</script> <script>(RLQ=window.RLQ||[]).push(function(){mw.loader.impl(function(){return["user.options@12s5i",function($,jQuery,require,module){mw.user.tokens.set({"patrolToken":"+\\","watchToken":"+\\","csrfToken":"+\\"}); }];});});</script> <link rel="stylesheet" href="/w/load.php?lang=zh&amp;modules=ext.cite.styles%7Cext.math.styles%7Cext.uls.interlanguage%7Cext.visualEditor.desktopArticleTarget.noscript%7Cext.wikimediaBadges%7Cext.wikimediamessages.styles%7Cjquery.makeCollapsible.styles%7Cskins.vector.icons%2Cstyles%7Cskins.vector.search.codex.styles%7Cwikibase.client.init&amp;only=styles&amp;skin=vector-2022"> <script async="" src="/w/load.php?lang=zh&amp;modules=startup&amp;only=scripts&amp;raw=1&amp;skin=vector-2022"></script> <meta name="ResourceLoaderDynamicStyles" content=""> <link rel="stylesheet" href="/w/load.php?lang=zh&amp;modules=ext.gadget.large-font&amp;only=styles&amp;skin=vector-2022"> <link rel="stylesheet" href="/w/load.php?lang=zh&amp;modules=site.styles&amp;only=styles&amp;skin=vector-2022"> <meta name="generator" content="MediaWiki 1.44.0-wmf.4"> <meta name="referrer" content="origin"> <meta name="referrer" content="origin-when-cross-origin"> <meta name="robots" content="max-image-preview:standard"> <meta name="format-detection" content="telephone=no"> <meta name="viewport" content="width=1120"> <meta property="og:title" content="斐波那契编码 - 维基百科,自由的百科全书"> <meta property="og:type" content="website"> <link rel="preconnect" href="//upload.wikimedia.org"> <link rel="alternate" media="only screen and (max-width: 640px)" href="//zh.m.wikipedia.org/wiki/%E6%96%90%E6%B3%A2%E9%82%A3%E5%A5%91%E7%BC%96%E7%A0%81"> <link rel="alternate" type="application/x-wiki" title="编辑本页" href="/w/index.php?title=%E6%96%90%E6%B3%A2%E9%82%A3%E5%A5%91%E7%BC%96%E7%A0%81&amp;action=edit"> <link rel="apple-touch-icon" href="/static/apple-touch/wikipedia.png"> <link rel="icon" href="/static/favicon/wikipedia.ico"> <link rel="search" type="application/opensearchdescription+xml" href="/w/rest.php/v1/search" title="Wikipedia (zh)"> <link rel="EditURI" type="application/rsd+xml" href="//zh.wikipedia.org/w/api.php?action=rsd"> <link rel="canonical" href="https://zh.wikipedia.org/wiki/%E6%96%90%E6%B3%A2%E9%82%A3%E5%A5%91%E7%BC%96%E7%A0%81"> <link rel="alternate" hreflang="zh" href="https://zh.wikipedia.org/wiki/%E6%96%90%E6%B3%A2%E9%82%A3%E5%A5%91%E7%BC%96%E7%A0%81"> <link rel="alternate" hreflang="zh-Hans" href="https://zh.wikipedia.org/zh-hans/%E6%96%90%E6%B3%A2%E9%82%A3%E5%A5%91%E7%BC%96%E7%A0%81"> <link rel="alternate" hreflang="zh-Hans-CN" href="https://zh.wikipedia.org/zh-cn/%E6%96%90%E6%B3%A2%E9%82%A3%E5%A5%91%E7%BC%96%E7%A0%81"> <link rel="alternate" hreflang="zh-Hans-MY" href="https://zh.wikipedia.org/zh-my/%E6%96%90%E6%B3%A2%E9%82%A3%E5%A5%91%E7%BC%96%E7%A0%81"> <link rel="alternate" hreflang="zh-Hans-SG" href="https://zh.wikipedia.org/zh-sg/%E6%96%90%E6%B3%A2%E9%82%A3%E5%A5%91%E7%BC%96%E7%A0%81"> <link rel="alternate" hreflang="zh-Hant" href="https://zh.wikipedia.org/zh-hant/%E6%96%90%E6%B3%A2%E9%82%A3%E5%A5%91%E7%BC%96%E7%A0%81"> <link rel="alternate" hreflang="zh-Hant-HK" href="https://zh.wikipedia.org/zh-hk/%E6%96%90%E6%B3%A2%E9%82%A3%E5%A5%91%E7%BC%96%E7%A0%81"> <link rel="alternate" hreflang="zh-Hant-MO" href="https://zh.wikipedia.org/zh-mo/%E6%96%90%E6%B3%A2%E9%82%A3%E5%A5%91%E7%BC%96%E7%A0%81"> <link rel="alternate" hreflang="zh-Hant-TW" href="https://zh.wikipedia.org/zh-tw/%E6%96%90%E6%B3%A2%E9%82%A3%E5%A5%91%E7%BC%96%E7%A0%81"> <link rel="alternate" hreflang="x-default" href="https://zh.wikipedia.org/wiki/%E6%96%90%E6%B3%A2%E9%82%A3%E5%A5%91%E7%BC%96%E7%A0%81"> <link rel="license" href="https://creativecommons.org/licenses/by-sa/4.0/deed.zh"> <link rel="alternate" type="application/atom+xml" title="Wikipedia的Atom feed" href="/w/index.php?title=Special:%E6%9C%80%E8%BF%91%E6%9B%B4%E6%94%B9&amp;feed=atom"> <link rel="dns-prefetch" href="//meta.wikimedia.org" /> <link rel="dns-prefetch" href="//login.wikimedia.org"> </head> <body class="skin--responsive skin-vector skin-vector-search-vue mediawiki ltr sitedir-ltr mw-hide-empty-elt ns-0 ns-subject mw-editable page-斐波那契编码 rootpage-斐波那契编码 skin-vector-2022 action-view"><a class="mw-jump-link" href="#bodyContent">跳转到内容</a> <div class="vector-header-container"> <header class="vector-header mw-header"> <div class="vector-header-start"> <nav class="vector-main-menu-landmark" aria-label="站点"> <div id="vector-main-menu-dropdown" class="vector-dropdown vector-main-menu-dropdown vector-button-flush-left vector-button-flush-right" > <input type="checkbox" id="vector-main-menu-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-main-menu-dropdown" class="vector-dropdown-checkbox " aria-label="主菜单" > <label id="vector-main-menu-dropdown-label" for="vector-main-menu-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-menu mw-ui-icon-wikimedia-menu"></span> <span class="vector-dropdown-label-text">主菜单</span> </label> <div class="vector-dropdown-content"> <div id="vector-main-menu-unpinned-container" class="vector-unpinned-container"> <div id="vector-main-menu" class="vector-main-menu vector-pinnable-element"> <div class="vector-pinnable-header vector-main-menu-pinnable-header vector-pinnable-header-unpinned" data-feature-name="main-menu-pinned" data-pinnable-element-id="vector-main-menu" data-pinned-container-id="vector-main-menu-pinned-container" data-unpinned-container-id="vector-main-menu-unpinned-container" > <div class="vector-pinnable-header-label">主菜单</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-main-menu.pin">移至侧栏</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-main-menu.unpin">隐藏</button> </div> <div id="p-navigation" class="vector-menu mw-portlet mw-portlet-navigation" > <div class="vector-menu-heading"> 导航 </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="n-mainpage-description" class="mw-list-item"><a href="/wiki/Wikipedia:%E9%A6%96%E9%A1%B5" title="访问首页[z]" accesskey="z"><span>首页</span></a></li><li id="n-indexpage" class="mw-list-item"><a href="/wiki/Wikipedia:%E5%88%86%E7%B1%BB%E7%B4%A2%E5%BC%95" title="以分类索引搜寻中文维基百科"><span>分类索引</span></a></li><li id="n-Featured_content" class="mw-list-item"><a href="/wiki/Portal:%E7%89%B9%E8%89%B2%E5%85%A7%E5%AE%B9" title="查看中文维基百科的特色内容"><span>特色内容</span></a></li><li id="n-currentevents" class="mw-list-item"><a href="/wiki/Portal:%E6%96%B0%E8%81%9E%E5%8B%95%E6%85%8B" title="提供当前新闻事件的背景资料"><span>新闻动态</span></a></li><li id="n-recentchanges" class="mw-list-item"><a href="/wiki/Special:%E6%9C%80%E8%BF%91%E6%9B%B4%E6%94%B9" title="列出维基百科中的最近修改[r]" accesskey="r"><span>最近更改</span></a></li><li id="n-randompage" class="mw-list-item"><a href="/wiki/Special:%E9%9A%8F%E6%9C%BA%E9%A1%B5%E9%9D%A2" title="随机载入一个页面[x]" accesskey="x"><span>随机条目</span></a></li> </ul> </div> </div> <div id="p-help" class="vector-menu mw-portlet mw-portlet-help" > <div class="vector-menu-heading"> 帮助 </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="n-help" class="mw-list-item"><a href="/wiki/Help:%E7%9B%AE%E5%BD%95" title="寻求帮助"><span>帮助</span></a></li><li id="n-portal" class="mw-list-item"><a href="/wiki/Wikipedia:%E7%A4%BE%E7%BE%A4%E9%A6%96%E9%A1%B5" title="关于本计划、你可以做什么、应该如何做"><span>维基社群</span></a></li><li id="n-policy" class="mw-list-item"><a href="/wiki/Wikipedia:%E6%96%B9%E9%87%9D%E8%88%87%E6%8C%87%E5%BC%95" title="查看维基百科的方针和指引"><span>方针与指引</span></a></li><li id="n-villagepump" class="mw-list-item"><a href="/wiki/Wikipedia:%E4%BA%92%E5%8A%A9%E5%AE%A2%E6%A0%88" title="参与维基百科社群的讨论"><span>互助客栈</span></a></li><li id="n-Information_desk" class="mw-list-item"><a href="/wiki/Wikipedia:%E7%9F%A5%E8%AF%86%E9%97%AE%E7%AD%94" title="解答任何与维基百科无关的问题的地方"><span>知识问答</span></a></li><li id="n-conversion" class="mw-list-item"><a href="/wiki/Wikipedia:%E5%AD%97%E8%AF%8D%E8%BD%AC%E6%8D%A2" title="提出字词转换请求"><span>字词转换</span></a></li><li id="n-IRC" class="mw-list-item"><a href="/wiki/Wikipedia:IRC%E8%81%8A%E5%A4%A9%E9%A2%91%E9%81%93"><span>IRC即时聊天</span></a></li><li id="n-contact" class="mw-list-item"><a href="/wiki/Wikipedia:%E8%81%94%E7%BB%9C%E6%88%91%E4%BB%AC" title="如何联络维基百科"><span>联络我们</span></a></li><li id="n-about" class="mw-list-item"><a href="/wiki/Wikipedia:%E5%85%B3%E4%BA%8E" title="查看维基百科的简介"><span>关于维基百科</span></a></li> </ul> </div> </div> </div> </div> </div> </div> </nav> <a href="/wiki/Wikipedia:%E9%A6%96%E9%A1%B5" class="mw-logo"> <img class="mw-logo-icon" src="/static/images/icons/wikipedia.png" alt="" aria-hidden="true" height="50" width="50"> <span class="mw-logo-container skin-invert"> <img class="mw-logo-wordmark" alt="维基百科" src="/static/images/mobile/copyright/wikipedia-wordmark-zh.svg" style="width: 6.5625em; height: 1.375em;"> <img class="mw-logo-tagline" alt="自由的百科全书" src="/static/images/mobile/copyright/wikipedia-tagline-zh.svg" width="103" height="14" style="width: 6.4375em; height: 0.875em;"> </span> </a> </div> <div class="vector-header-end"> <div id="p-search" role="search" class="vector-search-box-vue vector-search-box-collapses vector-search-box-show-thumbnail vector-search-box-auto-expand-width vector-search-box"> <a href="/wiki/Special:%E6%90%9C%E7%B4%A2" class="cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only search-toggle" title="搜索维基百科[f]" accesskey="f"><span class="vector-icon mw-ui-icon-search mw-ui-icon-wikimedia-search"></span> <span>搜索</span> </a> <div class="vector-typeahead-search-container"> <div class="cdx-typeahead-search cdx-typeahead-search--show-thumbnail cdx-typeahead-search--auto-expand-width"> <form action="/w/index.php" id="searchform" class="cdx-search-input cdx-search-input--has-end-button"> <div id="simpleSearch" class="cdx-search-input__input-wrapper" data-search-loc="header-moved"> <div class="cdx-text-input cdx-text-input--has-start-icon"> <input class="cdx-text-input__input" type="search" name="search" placeholder="搜索维基百科" aria-label="搜索维基百科" autocapitalize="sentences" title="搜索维基百科[f]" accesskey="f" id="searchInput" > <span class="cdx-text-input__icon cdx-text-input__start-icon"></span> </div> <input type="hidden" name="title" value="Special:搜索"> </div> <button class="cdx-button cdx-search-input__end-button">搜索</button> </form> </div> </div> </div> <nav class="vector-user-links vector-user-links-wide" aria-label="个人工具"> <div class="vector-user-links-main"> <div id="p-vector-user-menu-preferences" class="vector-menu mw-portlet emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> <div id="p-vector-user-menu-userpage" class="vector-menu mw-portlet emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> <nav class="vector-appearance-landmark" aria-label="外观"> <div id="vector-appearance-dropdown" class="vector-dropdown " title="更改页面字体大小、宽度和颜色的外观" > <input type="checkbox" id="vector-appearance-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-appearance-dropdown" class="vector-dropdown-checkbox " aria-label="外观" > <label id="vector-appearance-dropdown-label" for="vector-appearance-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-appearance mw-ui-icon-wikimedia-appearance"></span> <span class="vector-dropdown-label-text">外观</span> </label> <div class="vector-dropdown-content"> <div id="vector-appearance-unpinned-container" class="vector-unpinned-container"> </div> </div> </div> </nav> <div id="p-vector-user-menu-notifications" class="vector-menu mw-portlet emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> <div id="p-vector-user-menu-overflow" class="vector-menu mw-portlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="pt-sitesupport-2" class="user-links-collapsible-item mw-list-item user-links-collapsible-item"><a data-mw="interface" href="https://donate.wikimedia.org/?utm_source=donate&amp;utm_medium=sidebar&amp;utm_campaign=spontaneous&amp;uselang=zh-hans" class=""><span>资助维基百科</span></a> </li> <li id="pt-createaccount-2" class="user-links-collapsible-item mw-list-item user-links-collapsible-item"><a data-mw="interface" href="/w/index.php?title=Special:%E5%88%9B%E5%BB%BA%E8%B4%A6%E6%88%B7&amp;returnto=%E6%96%90%E6%B3%A2%E9%82%A3%E5%A5%91%E7%BC%96%E7%A0%81" title="我们推荐您创建账号并登录,但这不是强制性的" class=""><span>创建账号</span></a> </li> <li id="pt-login-2" class="user-links-collapsible-item mw-list-item user-links-collapsible-item"><a data-mw="interface" href="/w/index.php?title=Special:%E7%94%A8%E6%88%B7%E7%99%BB%E5%BD%95&amp;returnto=%E6%96%90%E6%B3%A2%E9%82%A3%E5%A5%91%E7%BC%96%E7%A0%81" title="建议你登录,尽管并非必须。[o]" accesskey="o" class=""><span>登录</span></a> </li> </ul> </div> </div> </div> <div id="vector-user-links-dropdown" class="vector-dropdown vector-user-menu vector-button-flush-right vector-user-menu-logged-out" title="更多选项" > <input type="checkbox" id="vector-user-links-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-user-links-dropdown" class="vector-dropdown-checkbox " aria-label="个人工具" > <label id="vector-user-links-dropdown-label" for="vector-user-links-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-ellipsis mw-ui-icon-wikimedia-ellipsis"></span> <span class="vector-dropdown-label-text">个人工具</span> </label> <div class="vector-dropdown-content"> <div id="p-personal" class="vector-menu mw-portlet mw-portlet-personal user-links-collapsible-item" title="用户菜单" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="pt-sitesupport" class="user-links-collapsible-item mw-list-item"><a href="https://donate.wikimedia.org/?utm_source=donate&amp;utm_medium=sidebar&amp;utm_campaign=spontaneous&amp;uselang=zh-hans"><span>资助维基百科</span></a></li><li id="pt-createaccount" class="user-links-collapsible-item mw-list-item"><a href="/w/index.php?title=Special:%E5%88%9B%E5%BB%BA%E8%B4%A6%E6%88%B7&amp;returnto=%E6%96%90%E6%B3%A2%E9%82%A3%E5%A5%91%E7%BC%96%E7%A0%81" title="我们推荐您创建账号并登录,但这不是强制性的"><span class="vector-icon mw-ui-icon-userAdd mw-ui-icon-wikimedia-userAdd"></span> <span>创建账号</span></a></li><li id="pt-login" class="user-links-collapsible-item mw-list-item"><a href="/w/index.php?title=Special:%E7%94%A8%E6%88%B7%E7%99%BB%E5%BD%95&amp;returnto=%E6%96%90%E6%B3%A2%E9%82%A3%E5%A5%91%E7%BC%96%E7%A0%81" title="建议你登录,尽管并非必须。[o]" accesskey="o"><span class="vector-icon mw-ui-icon-logIn mw-ui-icon-wikimedia-logIn"></span> <span>登录</span></a></li> </ul> </div> </div> <div id="p-user-menu-anon-editor" class="vector-menu mw-portlet mw-portlet-user-menu-anon-editor" > <div class="vector-menu-heading"> 未登录编辑者的页面 <a href="/wiki/Help:%E6%96%B0%E6%89%8B%E5%85%A5%E9%97%A8" aria-label="了解有关编辑的更多信息"><span>了解详情</span></a> </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="pt-anoncontribs" class="mw-list-item"><a href="/wiki/Special:%E6%88%91%E7%9A%84%E8%B4%A1%E7%8C%AE" title="来自此IP地址的编辑列表[y]" accesskey="y"><span>贡献</span></a></li><li id="pt-anontalk" class="mw-list-item"><a href="/wiki/Special:%E6%88%91%E7%9A%84%E8%AE%A8%E8%AE%BA%E9%A1%B5" title="对于来自此IP地址编辑的讨论[n]" accesskey="n"><span>讨论</span></a></li> </ul> </div> </div> </div> </div> </nav> </div> </header> </div> <div class="mw-page-container"> <div class="mw-page-container-inner"> <div class="vector-sitenotice-container"> <div id="siteNotice"><!-- CentralNotice --></div> </div> <div class="vector-column-start"> <div class="vector-main-menu-container"> <div id="mw-navigation"> <nav id="mw-panel" class="vector-main-menu-landmark" aria-label="站点"> <div id="vector-main-menu-pinned-container" class="vector-pinned-container"> </div> </nav> </div> </div> <div class="vector-sticky-pinned-container"> <nav id="mw-panel-toc" aria-label="目录" data-event-name="ui.sidebar-toc" class="mw-table-of-contents-container vector-toc-landmark"> <div id="vector-toc-pinned-container" class="vector-pinned-container"> <div id="vector-toc" class="vector-toc vector-pinnable-element"> <div class="vector-pinnable-header vector-toc-pinnable-header vector-pinnable-header-pinned" data-feature-name="toc-pinned" data-pinnable-element-id="vector-toc" > <h2 class="vector-pinnable-header-label">目录</h2> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-toc.pin">移至侧栏</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-toc.unpin">隐藏</button> </div> <ul class="vector-toc-contents" id="mw-panel-toc-list"> <li id="toc-mw-content-text" class="vector-toc-list-item vector-toc-level-1"> <a href="#" class="vector-toc-link"> <div class="vector-toc-text">序言</div> </a> </li> <li id="toc-定義" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#定義"> <div class="vector-toc-text"> <span class="vector-toc-numb">1</span> <span>定義</span> </div> </a> <ul id="toc-定義-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-與其他通用編碼的比較" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#與其他通用編碼的比較"> <div class="vector-toc-text"> <span class="vector-toc-numb">2</span> <span>與其他通用編碼的比較</span> </div> </a> <ul id="toc-與其他通用編碼的比較-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-例子" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#例子"> <div class="vector-toc-text"> <span class="vector-toc-numb">3</span> <span>例子</span> </div> </a> <ul id="toc-例子-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-斐波那契进制" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#斐波那契进制"> <div class="vector-toc-text"> <span class="vector-toc-numb">4</span> <span>斐波那契进制</span> </div> </a> <ul id="toc-斐波那契进制-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-參見" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#參見"> <div class="vector-toc-text"> <span class="vector-toc-numb">5</span> <span>參見</span> </div> </a> <ul id="toc-參見-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-参考资料" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#参考资料"> <div class="vector-toc-text"> <span class="vector-toc-numb">6</span> <span>参考资料</span> </div> </a> <ul id="toc-参考资料-sublist" class="vector-toc-list"> </ul> </li> </ul> </div> </div> </nav> </div> </div> <div class="mw-content-container"> <main id="content" class="mw-body"> <header class="mw-body-header vector-page-titlebar"> <nav aria-label="目录" class="vector-toc-landmark"> <div id="vector-page-titlebar-toc" class="vector-dropdown vector-page-titlebar-toc vector-button-flush-left" > <input type="checkbox" id="vector-page-titlebar-toc-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-page-titlebar-toc" class="vector-dropdown-checkbox " aria-label="开关目录" > <label id="vector-page-titlebar-toc-label" for="vector-page-titlebar-toc-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-listBullet mw-ui-icon-wikimedia-listBullet"></span> <span class="vector-dropdown-label-text">开关目录</span> </label> <div class="vector-dropdown-content"> <div id="vector-page-titlebar-toc-unpinned-container" class="vector-unpinned-container"> </div> </div> </div> </nav> <h1 id="firstHeading" class="firstHeading mw-first-heading"><span class="mw-page-title-main">斐波那契编码</span></h1> <div id="p-lang-btn" class="vector-dropdown mw-portlet mw-portlet-lang" > <input type="checkbox" id="p-lang-btn-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-p-lang-btn" class="vector-dropdown-checkbox mw-interlanguage-selector" aria-label="前往另一种语言写成的文章。7种语言可用" > <label id="p-lang-btn-label" for="p-lang-btn-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--action-progressive mw-portlet-lang-heading-7" aria-hidden="true" ><span class="vector-icon mw-ui-icon-language-progressive mw-ui-icon-wikimedia-language-progressive"></span> <span class="vector-dropdown-label-text">7种语言</span> </label> <div class="vector-dropdown-content"> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li class="interlanguage-link interwiki-en mw-list-item"><a href="https://en.wikipedia.org/wiki/Fibonacci_coding" title="Fibonacci coding – 英语" lang="en" hreflang="en" data-title="Fibonacci coding" data-language-autonym="English" data-language-local-name="英语" class="interlanguage-link-target"><span>English</span></a></li><li class="interlanguage-link interwiki-fr mw-list-item"><a href="https://fr.wikipedia.org/wiki/Codage_de_Fibonacci" title="Codage de Fibonacci – 法语" lang="fr" hreflang="fr" data-title="Codage de Fibonacci" data-language-autonym="Français" data-language-local-name="法语" class="interlanguage-link-target"><span>Français</span></a></li><li class="interlanguage-link interwiki-it mw-list-item"><a href="https://it.wikipedia.org/wiki/Codifica_di_Fibonacci" title="Codifica di Fibonacci – 意大利语" lang="it" hreflang="it" data-title="Codifica di Fibonacci" data-language-autonym="Italiano" data-language-local-name="意大利语" class="interlanguage-link-target"><span>Italiano</span></a></li><li class="interlanguage-link interwiki-nl mw-list-item"><a href="https://nl.wikipedia.org/wiki/Fibonacci-code" title="Fibonacci-code – 荷兰语" lang="nl" hreflang="nl" data-title="Fibonacci-code" data-language-autonym="Nederlands" data-language-local-name="荷兰语" class="interlanguage-link-target"><span>Nederlands</span></a></li><li class="interlanguage-link interwiki-pl mw-list-item"><a href="https://pl.wikipedia.org/wiki/System_Fibonacciego" title="System Fibonacciego – 波兰语" lang="pl" hreflang="pl" data-title="System Fibonacciego" data-language-autonym="Polski" data-language-local-name="波兰语" class="interlanguage-link-target"><span>Polski</span></a></li><li class="interlanguage-link interwiki-ru mw-list-item"><a href="https://ru.wikipedia.org/wiki/%D0%A4%D0%B8%D0%B1%D0%BE%D0%BD%D0%B0%D1%87%D1%87%D0%B8%D0%B5%D0%B2%D0%B0_%D1%81%D0%B8%D1%81%D1%82%D0%B5%D0%BC%D0%B0_%D1%81%D1%87%D0%B8%D1%81%D0%BB%D0%B5%D0%BD%D0%B8%D1%8F" title="Фибоначчиева система счисления – 俄语" lang="ru" hreflang="ru" data-title="Фибоначчиева система счисления" data-language-autonym="Русский" data-language-local-name="俄语" class="interlanguage-link-target"><span>Русский</span></a></li><li class="interlanguage-link interwiki-uk mw-list-item"><a href="https://uk.wikipedia.org/wiki/%D0%A1%D0%B8%D1%81%D1%82%D0%B5%D0%BC%D0%B0_%D1%87%D0%B8%D1%81%D0%BB%D0%B5%D0%BD%D0%BD%D1%8F_%D0%A4%D1%96%D0%B1%D0%BE%D0%BD%D0%B0%D1%87%D1%87%D1%96" title="Система числення Фібоначчі – 乌克兰语" lang="uk" hreflang="uk" data-title="Система числення Фібоначчі" data-language-autonym="Українська" data-language-local-name="乌克兰语" class="interlanguage-link-target"><span>Українська</span></a></li> </ul> <div class="after-portlet after-portlet-lang"><span class="wb-langlinks-edit wb-langlinks-link"><a href="https://www.wikidata.org/wiki/Special:EntityPage/Q2633#sitelinks-wikipedia" title="编辑跨语言链接" class="wbc-editpage">编辑链接</a></span></div> </div> </div> </div> </header> <div class="vector-page-toolbar"> <div class="vector-page-toolbar-container"> <div id="left-navigation"> <nav aria-label="命名空间"> <div id="p-associated-pages" class="vector-menu vector-menu-tabs mw-portlet mw-portlet-associated-pages" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-nstab-main" class="selected vector-tab-noicon mw-list-item"><a href="/wiki/%E6%96%90%E6%B3%A2%E9%82%A3%E5%A5%91%E7%BC%96%E7%A0%81" title="浏览条目正文[c]" accesskey="c"><span>条目</span></a></li><li id="ca-talk" class="vector-tab-noicon mw-list-item"><a href="/wiki/Talk:%E6%96%90%E6%B3%A2%E9%82%A3%E5%A5%91%E7%BC%96%E7%A0%81" rel="discussion" title="关于此页面的讨论[t]" accesskey="t"><span>讨论</span></a></li> </ul> </div> </div> <div id="vector-variants-dropdown" class="vector-dropdown " > <input type="checkbox" id="vector-variants-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-variants-dropdown" class="vector-dropdown-checkbox " aria-label="更改语言变体" > <label id="vector-variants-dropdown-label" for="vector-variants-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet" aria-hidden="true" ><span class="vector-dropdown-label-text">不转换</span> </label> <div class="vector-dropdown-content"> <div id="p-variants" class="vector-menu mw-portlet mw-portlet-variants" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-varlang-0" class="selected ca-variants-zh mw-list-item"><a href="/zh/%E6%96%90%E6%B3%A2%E9%82%A3%E5%A5%91%E7%BC%96%E7%A0%81" lang="zh" hreflang="zh"><span>不转换</span></a></li><li id="ca-varlang-1" class="ca-variants-zh-Hans mw-list-item"><a href="/zh-hans/%E6%96%90%E6%B3%A2%E9%82%A3%E5%A5%91%E7%BC%96%E7%A0%81" lang="zh-Hans" hreflang="zh-Hans"><span>简体</span></a></li><li id="ca-varlang-2" class="ca-variants-zh-Hant mw-list-item"><a href="/zh-hant/%E6%96%90%E6%B3%A2%E9%82%A3%E5%A5%91%E7%BC%96%E7%A0%81" lang="zh-Hant" hreflang="zh-Hant"><span>繁體</span></a></li><li id="ca-varlang-3" class="ca-variants-zh-Hans-CN mw-list-item"><a href="/zh-cn/%E6%96%90%E6%B3%A2%E9%82%A3%E5%A5%91%E7%BC%96%E7%A0%81" lang="zh-Hans-CN" hreflang="zh-Hans-CN"><span>大陆简体</span></a></li><li id="ca-varlang-4" class="ca-variants-zh-Hant-HK mw-list-item"><a href="/zh-hk/%E6%96%90%E6%B3%A2%E9%82%A3%E5%A5%91%E7%BC%96%E7%A0%81" lang="zh-Hant-HK" hreflang="zh-Hant-HK"><span>香港繁體</span></a></li><li id="ca-varlang-5" class="ca-variants-zh-Hant-MO mw-list-item"><a href="/zh-mo/%E6%96%90%E6%B3%A2%E9%82%A3%E5%A5%91%E7%BC%96%E7%A0%81" lang="zh-Hant-MO" hreflang="zh-Hant-MO"><span>澳門繁體</span></a></li><li id="ca-varlang-6" class="ca-variants-zh-Hans-MY mw-list-item"><a href="/zh-my/%E6%96%90%E6%B3%A2%E9%82%A3%E5%A5%91%E7%BC%96%E7%A0%81" lang="zh-Hans-MY" hreflang="zh-Hans-MY"><span>大马简体</span></a></li><li id="ca-varlang-7" class="ca-variants-zh-Hans-SG mw-list-item"><a href="/zh-sg/%E6%96%90%E6%B3%A2%E9%82%A3%E5%A5%91%E7%BC%96%E7%A0%81" lang="zh-Hans-SG" hreflang="zh-Hans-SG"><span>新加坡简体</span></a></li><li id="ca-varlang-8" class="ca-variants-zh-Hant-TW mw-list-item"><a href="/zh-tw/%E6%96%90%E6%B3%A2%E9%82%A3%E5%A5%91%E7%BC%96%E7%A0%81" lang="zh-Hant-TW" hreflang="zh-Hant-TW"><span>臺灣正體</span></a></li> </ul> </div> </div> </div> </div> </nav> </div> <div id="right-navigation" class="vector-collapsible"> <nav aria-label="查看"> <div id="p-views" class="vector-menu vector-menu-tabs mw-portlet mw-portlet-views" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-view" class="selected vector-tab-noicon mw-list-item"><a href="/wiki/%E6%96%90%E6%B3%A2%E9%82%A3%E5%A5%91%E7%BC%96%E7%A0%81"><span>阅读</span></a></li><li id="ca-edit" class="vector-tab-noicon mw-list-item"><a href="/w/index.php?title=%E6%96%90%E6%B3%A2%E9%82%A3%E5%A5%91%E7%BC%96%E7%A0%81&amp;action=edit" title="编辑该页面[e]" accesskey="e"><span>编辑</span></a></li><li id="ca-history" class="vector-tab-noicon mw-list-item"><a href="/w/index.php?title=%E6%96%90%E6%B3%A2%E9%82%A3%E5%A5%91%E7%BC%96%E7%A0%81&amp;action=history" title="本页面的早前版本。[h]" accesskey="h"><span>查看历史</span></a></li> </ul> </div> </div> </nav> <nav class="vector-page-tools-landmark" aria-label="页面工具"> <div id="vector-page-tools-dropdown" class="vector-dropdown vector-page-tools-dropdown" > <input type="checkbox" id="vector-page-tools-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-page-tools-dropdown" class="vector-dropdown-checkbox " aria-label="工具" > <label id="vector-page-tools-dropdown-label" for="vector-page-tools-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet" aria-hidden="true" ><span class="vector-dropdown-label-text">工具</span> </label> <div class="vector-dropdown-content"> <div id="vector-page-tools-unpinned-container" class="vector-unpinned-container"> <div id="vector-page-tools" class="vector-page-tools vector-pinnable-element"> <div class="vector-pinnable-header vector-page-tools-pinnable-header vector-pinnable-header-unpinned" data-feature-name="page-tools-pinned" data-pinnable-element-id="vector-page-tools" data-pinned-container-id="vector-page-tools-pinned-container" data-unpinned-container-id="vector-page-tools-unpinned-container" > <div class="vector-pinnable-header-label">工具</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-page-tools.pin">移至侧栏</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-page-tools.unpin">隐藏</button> </div> <div id="p-cactions" class="vector-menu mw-portlet mw-portlet-cactions emptyPortlet vector-has-collapsible-items" title="更多选项" > <div class="vector-menu-heading"> 操作 </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-more-view" class="selected vector-more-collapsible-item mw-list-item"><a href="/wiki/%E6%96%90%E6%B3%A2%E9%82%A3%E5%A5%91%E7%BC%96%E7%A0%81"><span>阅读</span></a></li><li id="ca-more-edit" class="vector-more-collapsible-item mw-list-item"><a href="/w/index.php?title=%E6%96%90%E6%B3%A2%E9%82%A3%E5%A5%91%E7%BC%96%E7%A0%81&amp;action=edit" title="编辑该页面[e]" accesskey="e"><span>编辑</span></a></li><li id="ca-more-history" class="vector-more-collapsible-item mw-list-item"><a href="/w/index.php?title=%E6%96%90%E6%B3%A2%E9%82%A3%E5%A5%91%E7%BC%96%E7%A0%81&amp;action=history"><span>查看历史</span></a></li> </ul> </div> </div> <div id="p-tb" class="vector-menu mw-portlet mw-portlet-tb" > <div class="vector-menu-heading"> 常规 </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="t-whatlinkshere" class="mw-list-item"><a href="/wiki/Special:%E9%93%BE%E5%85%A5%E9%A1%B5%E9%9D%A2/%E6%96%90%E6%B3%A2%E9%82%A3%E5%A5%91%E7%BC%96%E7%A0%81" title="列出所有与本页相链的页面[j]" accesskey="j"><span>链入页面</span></a></li><li id="t-recentchangeslinked" class="mw-list-item"><a href="/wiki/Special:%E9%93%BE%E5%87%BA%E6%9B%B4%E6%94%B9/%E6%96%90%E6%B3%A2%E9%82%A3%E5%A5%91%E7%BC%96%E7%A0%81" rel="nofollow" title="页面链出所有页面的更改[k]" accesskey="k"><span>相关更改</span></a></li><li id="t-upload" class="mw-list-item"><a href="/wiki/Project:%E4%B8%8A%E4%BC%A0" title="上传图像或多媒体文件[u]" accesskey="u"><span>上传文件</span></a></li><li id="t-specialpages" class="mw-list-item"><a href="/wiki/Special:%E7%89%B9%E6%AE%8A%E9%A1%B5%E9%9D%A2" title="全部特殊页面的列表[q]" accesskey="q"><span>特殊页面</span></a></li><li id="t-permalink" class="mw-list-item"><a href="/w/index.php?title=%E6%96%90%E6%B3%A2%E9%82%A3%E5%A5%91%E7%BC%96%E7%A0%81&amp;oldid=80498987" title="此页面该修订版本的固定链接"><span>固定链接</span></a></li><li id="t-info" class="mw-list-item"><a href="/w/index.php?title=%E6%96%90%E6%B3%A2%E9%82%A3%E5%A5%91%E7%BC%96%E7%A0%81&amp;action=info" title="关于此页面的更多信息"><span>页面信息</span></a></li><li id="t-cite" class="mw-list-item"><a href="/w/index.php?title=Special:%E5%BC%95%E7%94%A8%E6%AD%A4%E9%A1%B5%E9%9D%A2&amp;page=%E6%96%90%E6%B3%A2%E9%82%A3%E5%A5%91%E7%BC%96%E7%A0%81&amp;id=80498987&amp;wpFormIdentifier=titleform" title="有关如何引用此页面的信息"><span>引用此页</span></a></li><li id="t-urlshortener" class="mw-list-item"><a href="/w/index.php?title=Special:URL%E7%BC%A9%E7%9F%AD%E7%A8%8B%E5%BA%8F&amp;url=https%3A%2F%2Fzh.wikipedia.org%2Fwiki%2F%25E6%2596%2590%25E6%25B3%25A2%25E9%2582%25A3%25E5%25A5%2591%25E7%25BC%2596%25E7%25A0%2581"><span>获取短链接</span></a></li><li id="t-urlshortener-qrcode" class="mw-list-item"><a href="/w/index.php?title=Special:QrCode&amp;url=https%3A%2F%2Fzh.wikipedia.org%2Fwiki%2F%25E6%2596%2590%25E6%25B3%25A2%25E9%2582%25A3%25E5%25A5%2591%25E7%25BC%2596%25E7%25A0%2581"><span>下载二维码</span></a></li> </ul> </div> </div> <div id="p-electronpdfservice-sidebar-portlet-heading" class="vector-menu mw-portlet mw-portlet-electronpdfservice-sidebar-portlet-heading" > <div class="vector-menu-heading"> 打印/导出 </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="electron-print_pdf" class="mw-list-item"><a href="/w/index.php?title=Special:DownloadAsPdf&amp;page=%E6%96%90%E6%B3%A2%E9%82%A3%E5%A5%91%E7%BC%96%E7%A0%81&amp;action=show-download-screen"><span>下载为PDF</span></a></li><li id="t-print" class="mw-list-item"><a href="javascript:print();" rel="alternate" title="本页面的可打印版本[p]" accesskey="p"><span>打印页面</span></a></li> </ul> </div> </div> <div id="p-wikibase-otherprojects" class="vector-menu mw-portlet mw-portlet-wikibase-otherprojects" > <div class="vector-menu-heading"> 在其他项目中 </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="t-wikibase" class="wb-otherproject-link wb-otherproject-wikibase-dataitem mw-list-item"><a href="https://www.wikidata.org/wiki/Special:EntityPage/Q2633" title="链接到连接的数据仓库项目[g]" accesskey="g"><span>维基数据项目</span></a></li> </ul> </div> </div> </div> </div> </div> </div> </nav> </div> </div> </div> <div class="vector-column-end"> <div class="vector-sticky-pinned-container"> <nav class="vector-page-tools-landmark" aria-label="页面工具"> <div id="vector-page-tools-pinned-container" class="vector-pinned-container"> </div> </nav> <nav class="vector-appearance-landmark" aria-label="外观"> <div id="vector-appearance-pinned-container" class="vector-pinned-container"> <div id="vector-appearance" class="vector-appearance vector-pinnable-element"> <div class="vector-pinnable-header vector-appearance-pinnable-header vector-pinnable-header-pinned" data-feature-name="appearance-pinned" data-pinnable-element-id="vector-appearance" data-pinned-container-id="vector-appearance-pinned-container" data-unpinned-container-id="vector-appearance-unpinned-container" > <div class="vector-pinnable-header-label">外观</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-appearance.pin">移至侧栏</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-appearance.unpin">隐藏</button> </div> </div> </div> </nav> </div> </div> <div id="bodyContent" class="vector-body" aria-labelledby="firstHeading" data-mw-ve-target-container> <div class="vector-body-before-content"> <div class="mw-indicators"> <div id="mw-indicator-noteTA-b9e12876" class="mw-indicator"><div class="mw-parser-output"><span class="skin-invert" typeof="mw:File"><span title="本页使用了标题或全文手工转换"><img alt="本页使用了标题或全文手工转换" src="//upload.wikimedia.org/wikipedia/commons/thumb/c/cd/Zh_conversion_icon_m.svg/35px-Zh_conversion_icon_m.svg.png" decoding="async" width="35" height="22" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/c/cd/Zh_conversion_icon_m.svg/53px-Zh_conversion_icon_m.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/c/cd/Zh_conversion_icon_m.svg/70px-Zh_conversion_icon_m.svg.png 2x" data-file-width="32" data-file-height="20" /></span></span></div></div> </div> <div id="siteSub" class="noprint">维基百科,自由的百科全书</div> </div> <div id="contentSub"><div id="mw-content-subtitle"></div></div> <div id="mw-content-text" class="mw-body-content"><div class="mw-content-ltr mw-parser-output" lang="zh" dir="ltr"><div id="noteTA-b9e12876" class="noteTA"><div class="noteTA-group"><div data-noteta-group-source="module" data-noteta-group="Math"></div><div data-noteta-group-source="module" data-noteta-group="IT"></div></div><div class="noteTA-local"><div data-noteta-code="zh-tw:費波那契; zh-hk:費波那契; zh-cn:斐波那契;"></div></div></div> <p><b>斐波那契編碼</b>(Fibonacci coding)是一種僅使用兩種符號(0和1)表達數值的<span class="ilh-all" data-orig-title="通用編碼 (資料壓縮)" data-lang-code="en" data-lang-name="英语" data-foreign-title="Universal code (data compression)"><span class="ilh-page"><a href="/w/index.php?title=%E9%80%9A%E7%94%A8%E7%B7%A8%E7%A2%BC_(%E8%B3%87%E6%96%99%E5%A3%93%E7%B8%AE)&amp;action=edit&amp;redlink=1" class="new" title="通用編碼 (資料壓縮)(页面不存在)">通用編碼</a></span><span class="noprint ilh-comment">(<span class="ilh-lang">英语</span><span class="ilh-colon">:</span><span class="ilh-link"><a href="https://en.wikipedia.org/wiki/Universal_code_(data_compression)" class="extiw" title="en:Universal code (data compression)"><span lang="en" dir="auto">Universal code (data compression)</span></a></span>)</span></span><sup id="cite_ref-1" class="reference"><a href="#cite_note-1"><span class="cite-bracket">&#91;</span>1<span class="cite-bracket">&#93;</span></a></sup>。這種編碼是基於<a href="/wiki/%E6%96%90%E6%B3%A2%E9%82%A3%E5%A5%91%E6%95%B8" class="mw-redirect" title="斐波那契數">斐波那契數</a>來表達整數的一個例子。這種編碼皆以「11」為結尾,並且在結尾之前不會出現連續2個1。 </p><p>斐波那契編碼與<a href="/wiki/%E9%BD%8A%E8%82%AF%E5%A4%9A%E5%A4%AB%E5%AE%9A%E7%90%86" title="齊肯多夫定理">齊肯多夫表述法</a>密切相關。齊肯多夫表述法是一種基於<a href="/wiki/%E9%BD%8A%E8%82%AF%E5%A4%9A%E5%A4%AB%E5%AE%9A%E7%90%86" title="齊肯多夫定理">齊肯多夫定理</a>的进制系統,並且也具有不連續使用兩個1的特性。特定整數的斐波那契編碼正是數字順序顛倒的齊肯多夫表述法,並在末尾附加了一個額外的“1”。 </p> <meta property="mw:PageProp/toc" /> <div class="mw-heading mw-heading2"><h2 id="定義"><span id=".E5.AE.9A.E7.BE.A9"></span>定義</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=%E6%96%90%E6%B3%A2%E9%82%A3%E5%A5%91%E7%BC%96%E7%A0%81&amp;action=edit&amp;section=1" title="编辑章节:定義"><span>编辑</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>對於一個數字<span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle N\!}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <mi>N</mi> <mspace width="negativethinmathspace" /> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle N\!}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/b4df206628eed61b48a8c51b432eca0c6520179e" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.338ex; margin-right: -0.387ex; width:2.064ex; height:2.176ex;" alt="{\displaystyle N\!}"></span>,若<span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle d(0),d(1),\ldots ,d(k-1),d(k)\!}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <mi>d</mi> <mo stretchy="false">(</mo> <mn>0</mn> <mo stretchy="false">)</mo> <mo>,</mo> <mi>d</mi> <mo stretchy="false">(</mo> <mn>1</mn> <mo stretchy="false">)</mo> <mo>,</mo> <mo>&#x2026;<!-- … --></mo> <mo>,</mo> <mi>d</mi> <mo stretchy="false">(</mo> <mi>k</mi> <mo>&#x2212;<!-- − --></mo> <mn>1</mn> <mo stretchy="false">)</mo> <mo>,</mo> <mi>d</mi> <mo stretchy="false">(</mo> <mi>k</mi> <mo stretchy="false">)</mo> <mspace width="negativethinmathspace" /> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle d(0),d(1),\ldots ,d(k-1),d(k)\!}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/262078eeffcf8661bf8168002c1ff818e2d9b2f1" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.838ex; margin-right: -0.166ex; width:27.876ex; height:2.843ex;" alt="{\displaystyle d(0),d(1),\ldots ,d(k-1),d(k)\!}"></span>代表<span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle N\!}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <mi>N</mi> <mspace width="negativethinmathspace" /> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle N\!}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/b4df206628eed61b48a8c51b432eca0c6520179e" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.338ex; margin-right: -0.387ex; width:2.064ex; height:2.176ex;" alt="{\displaystyle N\!}"></span>在斐波那契編碼中的<span class="ilh-all" data-orig-title="碼字" data-lang-code="en" data-lang-name="英语" data-foreign-title="code word"><span class="ilh-page"><a href="/w/index.php?title=%E7%A2%BC%E5%AD%97&amp;action=edit&amp;redlink=1" class="new" title="碼字(页面不存在)">碼字</a></span><span class="noprint ilh-comment">(<span class="ilh-lang">英语</span><span class="ilh-colon">:</span><span class="ilh-link"><a href="https://en.wikipedia.org/wiki/code_word" class="extiw" title="en:code word"><span lang="en" dir="auto">code word</span></a></span>)</span></span>,則有: </p> <dl><dd><span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle N=\sum _{i=0}^{k-1}d(i)F(i+2),{\text{ and }}d(k-1)=d(k)=1.\!}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <mi>N</mi> <mo>=</mo> <munderover> <mo>&#x2211;<!-- ∑ --></mo> <mrow class="MJX-TeXAtom-ORD"> <mi>i</mi> <mo>=</mo> <mn>0</mn> </mrow> <mrow class="MJX-TeXAtom-ORD"> <mi>k</mi> <mo>&#x2212;<!-- − --></mo> <mn>1</mn> </mrow> </munderover> <mi>d</mi> <mo stretchy="false">(</mo> <mi>i</mi> <mo stretchy="false">)</mo> <mi>F</mi> <mo stretchy="false">(</mo> <mi>i</mi> <mo>+</mo> <mn>2</mn> <mo stretchy="false">)</mo> <mo>,</mo> <mrow class="MJX-TeXAtom-ORD"> <mtext>&#xA0;and&#xA0;</mtext> </mrow> <mi>d</mi> <mo stretchy="false">(</mo> <mi>k</mi> <mo>&#x2212;<!-- − --></mo> <mn>1</mn> <mo stretchy="false">)</mo> <mo>=</mo> <mi>d</mi> <mo stretchy="false">(</mo> <mi>k</mi> <mo stretchy="false">)</mo> <mo>=</mo> <mn>1.</mn> <mspace width="negativethinmathspace" /> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle N=\sum _{i=0}^{k-1}d(i)F(i+2),{\text{ and }}d(k-1)=d(k)=1.\!}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/53b83695d56b770fb163ba478fa2f9d9aa2c6a52" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -3.005ex; margin-right: -0.204ex; width:47.328ex; height:7.343ex;" alt="{\displaystyle N=\sum _{i=0}^{k-1}d(i)F(i+2),{\text{ and }}d(k-1)=d(k)=1.\!}"></span></dd></dl> <p>其中<style data-mw-deduplicate="TemplateStyles:r58896141">.mw-parser-output .serif{font-family:Times,serif}</style><span class="serif"><span class="texhtml"><i>F</i>(<i>i</i>)</span></span>為第<link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r58896141"><span class="serif"><span class="texhtml"><i>i</i></span></span>個<a href="/wiki/%E6%96%90%E6%B3%A2%E9%82%A3%E5%A5%91%E6%95%B8" class="mw-redirect" title="斐波那契數">斐波那契數</a>,因此<link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r58896141"><span class="serif"><span class="texhtml"><i>F</i>(<i>i</i>+2)</span></span>是第<link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r58896141"><span class="serif"><span class="texhtml"><i>i</i></span></span>個相異的<a href="/wiki/%E6%96%90%E6%B3%A2%E9%82%A3%E5%A5%91%E6%95%B8" class="mw-redirect" title="斐波那契數">斐波那契數</a><span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle 1,2,3,5,8,13,\ldots }"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <mn>1</mn> <mo>,</mo> <mn>2</mn> <mo>,</mo> <mn>3</mn> <mo>,</mo> <mn>5</mn> <mo>,</mo> <mn>8</mn> <mo>,</mo> <mn>13</mn> <mo>,</mo> <mo>&#x2026;<!-- … --></mo> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle 1,2,3,5,8,13,\ldots }</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/a65971693987807896a13cbf12a1398b8c0a02d9" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.671ex; width:17.064ex; height:2.509ex;" alt="{\displaystyle 1,2,3,5,8,13,\ldots }"></span>。最後一位<span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle d(k)}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <mi>d</mi> <mo stretchy="false">(</mo> <mi>k</mi> <mo stretchy="false">)</mo> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle d(k)}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/b59ae56ed5fb312c7303526a49d562e31ea20909" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.838ex; width:4.236ex; height:2.843ex;" alt="{\displaystyle d(k)}"></span>為始終是1的附加位,並且不攜帶位置值。 </p><p>可以看出,這樣的編碼是唯一的,並且在任何碼字中唯一出現的“11”是在末尾,即<i>d</i>(<i>k</i>&#8722;1)和<i>d</i>(<i>k</i>)。倒數第二位是最高有效位,第一位是最低有效位。許多进制可以省略前導零,如十进制,然而斐波那契編碼的前導零不能省略。 </p><p>下面顯示了前幾個斐波那契編碼,以及其所謂的隱含概率,即對所有在斐波那契編碼中有最小碼值的數字而言的值。 </p> <table class="wikitable" style="text-align:right;"> <tbody><tr> <th>數字</th> <th>斐波那契表述法</th> <th>斐波那契編碼</th> <th>隱含概率 </th></tr> <tr> <td>1</td> <td><span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle F(2)}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <mi>F</mi> <mo stretchy="false">(</mo> <mn>2</mn> <mo stretchy="false">)</mo> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle F(2)}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/96ed3f1c8861a0fd967b693342b1692c01ea25c9" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.838ex; width:4.713ex; height:2.843ex;" alt="{\displaystyle F(2)}"></span></td> <td>11</td> <td>1/4 </td></tr> <tr> <td>2</td> <td><span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle F(3)}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <mi>F</mi> <mo stretchy="false">(</mo> <mn>3</mn> <mo stretchy="false">)</mo> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle F(3)}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/9f41ad9360c4645b946b1c9915aaf6f0e35eed65" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.838ex; width:4.713ex; height:2.843ex;" alt="{\displaystyle F(3)}"></span></td> <td>011</td> <td>1/8 </td></tr> <tr> <td>3</td> <td><span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle F(4)}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <mi>F</mi> <mo stretchy="false">(</mo> <mn>4</mn> <mo stretchy="false">)</mo> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle F(4)}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/6072d779036bf7be20a086c085530915be02ccf5" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.838ex; width:4.713ex; height:2.843ex;" alt="{\displaystyle F(4)}"></span></td> <td>0011</td> <td>1/16 </td></tr> <tr> <td>4</td> <td><span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle F(2)+F(4)}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <mi>F</mi> <mo stretchy="false">(</mo> <mn>2</mn> <mo stretchy="false">)</mo> <mo>+</mo> <mi>F</mi> <mo stretchy="false">(</mo> <mn>4</mn> <mo stretchy="false">)</mo> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle F(2)+F(4)}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/a4412431306d06aaa6c04fb46a1ca4140a5c3221" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.838ex; width:12.265ex; height:2.843ex;" alt="{\displaystyle F(2)+F(4)}"></span></td> <td>1011</td> <td>1/16 </td></tr> <tr> <td>5</td> <td><span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle F(5)}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <mi>F</mi> <mo stretchy="false">(</mo> <mn>5</mn> <mo stretchy="false">)</mo> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle F(5)}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/aa1d5dff0c4bffae5648b2c75b28599ac5956c35" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.838ex; width:4.713ex; height:2.843ex;" alt="{\displaystyle F(5)}"></span></td> <td>00011</td> <td>1/32 </td></tr> <tr> <td>6</td> <td><span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle F(2)+F(5)}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <mi>F</mi> <mo stretchy="false">(</mo> <mn>2</mn> <mo stretchy="false">)</mo> <mo>+</mo> <mi>F</mi> <mo stretchy="false">(</mo> <mn>5</mn> <mo stretchy="false">)</mo> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle F(2)+F(5)}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/e934370caaff4714ca611c7a325677d9457c4251" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.838ex; width:12.265ex; height:2.843ex;" alt="{\displaystyle F(2)+F(5)}"></span></td> <td>10011</td> <td>1/32 </td></tr> <tr> <td>7</td> <td><span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle F(3)+F(5)}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <mi>F</mi> <mo stretchy="false">(</mo> <mn>3</mn> <mo stretchy="false">)</mo> <mo>+</mo> <mi>F</mi> <mo stretchy="false">(</mo> <mn>5</mn> <mo stretchy="false">)</mo> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle F(3)+F(5)}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/0df76cdbd737392b71a620751996c8aa036a6b34" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.838ex; width:12.265ex; height:2.843ex;" alt="{\displaystyle F(3)+F(5)}"></span></td> <td>01011</td> <td>1/32 </td></tr> <tr> <td>8</td> <td><span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle F(6)}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <mi>F</mi> <mo stretchy="false">(</mo> <mn>6</mn> <mo stretchy="false">)</mo> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle F(6)}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/983c1d8e6d1d9c192089bdfc38b252082c45413f" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.838ex; width:4.713ex; height:2.843ex;" alt="{\displaystyle F(6)}"></span></td> <td>000011</td> <td>1/64 </td></tr> <tr> <td>9</td> <td><span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle F(2)+F(6)}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <mi>F</mi> <mo stretchy="false">(</mo> <mn>2</mn> <mo stretchy="false">)</mo> <mo>+</mo> <mi>F</mi> <mo stretchy="false">(</mo> <mn>6</mn> <mo stretchy="false">)</mo> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle F(2)+F(6)}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/8e8c616d0596bee0b623fb517e3520f58b39f3bf" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.838ex; width:12.265ex; height:2.843ex;" alt="{\displaystyle F(2)+F(6)}"></span></td> <td>100011</td> <td>1/64 </td></tr> <tr> <td>10</td> <td><span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle F(3)+F(6)}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <mi>F</mi> <mo stretchy="false">(</mo> <mn>3</mn> <mo stretchy="false">)</mo> <mo>+</mo> <mi>F</mi> <mo stretchy="false">(</mo> <mn>6</mn> <mo stretchy="false">)</mo> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle F(3)+F(6)}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/df2d4bb9ae6e432e432b1d08c2b5ac072d4c3009" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.838ex; width:12.265ex; height:2.843ex;" alt="{\displaystyle F(3)+F(6)}"></span></td> <td>010011</td> <td>1/64 </td></tr> <tr> <td>11</td> <td><span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle F(4)+F(6)}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <mi>F</mi> <mo stretchy="false">(</mo> <mn>4</mn> <mo stretchy="false">)</mo> <mo>+</mo> <mi>F</mi> <mo stretchy="false">(</mo> <mn>6</mn> <mo stretchy="false">)</mo> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle F(4)+F(6)}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/4df6067228dd0211dd7a8669fbd2b2c03998c7a5" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.838ex; width:12.265ex; height:2.843ex;" alt="{\displaystyle F(4)+F(6)}"></span></td> <td>001011</td> <td>1/64 </td></tr> <tr> <td>12</td> <td><span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle F(2)+F(4)+F(6)}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <mi>F</mi> <mo stretchy="false">(</mo> <mn>2</mn> <mo stretchy="false">)</mo> <mo>+</mo> <mi>F</mi> <mo stretchy="false">(</mo> <mn>4</mn> <mo stretchy="false">)</mo> <mo>+</mo> <mi>F</mi> <mo stretchy="false">(</mo> <mn>6</mn> <mo stretchy="false">)</mo> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle F(2)+F(4)+F(6)}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/5912de446a9f25cbfe4d6e106eb4ab95d1987290" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.838ex; width:19.818ex; height:2.843ex;" alt="{\displaystyle F(2)+F(4)+F(6)}"></span></td> <td>101011</td> <td>1/64 </td></tr> <tr> <td>13</td> <td><span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle F(7)}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <mi>F</mi> <mo stretchy="false">(</mo> <mn>7</mn> <mo stretchy="false">)</mo> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle F(7)}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/21f23316637ae7b32258efcc5e6f305938df973f" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.838ex; width:4.713ex; height:2.843ex;" alt="{\displaystyle F(7)}"></span></td> <td>0000011</td> <td>1/128 </td></tr> <tr> <td>14</td> <td><span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle F(2)+F(7)}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <mi>F</mi> <mo stretchy="false">(</mo> <mn>2</mn> <mo stretchy="false">)</mo> <mo>+</mo> <mi>F</mi> <mo stretchy="false">(</mo> <mn>7</mn> <mo stretchy="false">)</mo> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle F(2)+F(7)}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/8402b6e67fdd68c639b259ce405114665eda6642" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.838ex; width:12.265ex; height:2.843ex;" alt="{\displaystyle F(2)+F(7)}"></span></td> <td>1000011</td> <td>1/128 </td></tr> </tbody></table> <p>將一個整數N編碼為斐波那契編碼的方法為: </p> <ol><li>找到小於或等於<link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r58896141"><span class="serif"><span class="texhtml"><i>N</i></span></span>的最大<a href="/wiki/%E6%96%90%E6%B3%A2%E9%82%A3%E5%A5%91%E6%95%B8" class="mw-redirect" title="斐波那契數">斐波那契數</a>,並且用<link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r58896141"><span class="serif"><span class="texhtml"><i>N</i></span></span>減去這個<a href="/wiki/%E6%96%90%E6%B3%A2%E9%82%A3%E5%A5%91%E6%95%B8" class="mw-redirect" title="斐波那契數">斐波那契數</a>,並記錄剩餘的數</li> <li>如果減去的這個數為為第<link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r58896141"><span class="serif"><span class="texhtml"><i>i</i></span></span>個<a href="/wiki/%E6%96%90%E6%B3%A2%E9%82%A3%E5%A5%91%E6%95%B8" class="mw-redirect" title="斐波那契數">斐波那契數</a><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r58896141"><span class="serif"><span class="texhtml"><i>F</i>(<i>i</i>)</span></span>,置1到<link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r58896141"><span class="serif"><span class="texhtml"><i>i</i>&#8722;2</span></span>的位置(將最左邊的數字視為位置0)。</li> <li>將<link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r58896141"><span class="serif"><span class="texhtml"><i>N</i></span></span>替換為剩餘的數,並重複步驟1~2直到剩餘的數為0</li> <li>在最右邊加一個「1」</li></ol> <p>要解碼斐波那契編碼,請刪除最後的「1」,將剩餘的位數分配給1,2,3,5,8,13...(斐波那契數),並將位數為「1」的斐波那契數加總。 </p> <div class="mw-heading mw-heading2"><h2 id="與其他通用編碼的比較"><span id=".E8.88.87.E5.85.B6.E4.BB.96.E9.80.9A.E7.94.A8.E7.B7.A8.E7.A2.BC.E7.9A.84.E6.AF.94.E8.BC.83"></span>與其他通用編碼的比較</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=%E6%96%90%E6%B3%A2%E9%82%A3%E5%A5%91%E7%BC%96%E7%A0%81&amp;action=edit&amp;section=2" title="编辑章节:與其他通用編碼的比較"><span>编辑</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>斐波那契編碼有一個有用的特性,有時它與其他<span class="ilh-all" data-orig-title="通用編碼 (資料壓縮)" data-lang-code="en" data-lang-name="英语" data-foreign-title="Universal code (data compression)"><span class="ilh-page"><a href="/w/index.php?title=%E9%80%9A%E7%94%A8%E7%B7%A8%E7%A2%BC_(%E8%B3%87%E6%96%99%E5%A3%93%E7%B8%AE)&amp;action=edit&amp;redlink=1" class="new" title="通用編碼 (資料壓縮)(页面不存在)">通用編碼</a></span><span class="noprint ilh-comment">(<span class="ilh-lang">英语</span><span class="ilh-colon">:</span><span class="ilh-link"><a href="https://en.wikipedia.org/wiki/Universal_code_(data_compression)" class="extiw" title="en:Universal code (data compression)"><span lang="en" dir="auto">Universal code (data compression)</span></a></span>)</span></span>相比更具吸引力:斐波那契編碼是<span class="ilh-all" data-orig-title="自同步編碼" data-lang-code="en" data-lang-name="英语" data-foreign-title="Self-synchronizing code"><span class="ilh-page"><a href="/w/index.php?title=%E8%87%AA%E5%90%8C%E6%AD%A5%E7%B7%A8%E7%A2%BC&amp;action=edit&amp;redlink=1" class="new" title="自同步編碼(页面不存在)">自同步編碼</a></span><span class="noprint ilh-comment">(<span class="ilh-lang">英语</span><span class="ilh-colon">:</span><span class="ilh-link"><a href="https://en.wikipedia.org/wiki/Self-synchronizing_code" class="extiw" title="en:Self-synchronizing code"><span lang="en" dir="auto">Self-synchronizing code</span></a></span>)</span></span>的一個示例,可以更容易地從損壞的<a href="/wiki/%E8%B3%87%E6%96%99%E6%B5%81" title="資料流">資料流</a>中恢復數據。對於大多數其他<span class="ilh-all" data-orig-title="通用編碼 (資料壓縮)" data-lang-code="en" data-lang-name="英语" data-foreign-title="Universal code (data compression)"><span class="ilh-page"><a href="/w/index.php?title=%E9%80%9A%E7%94%A8%E7%B7%A8%E7%A2%BC_(%E8%B3%87%E6%96%99%E5%A3%93%E7%B8%AE)&amp;action=edit&amp;redlink=1" class="new" title="通用編碼 (資料壓縮)(页面不存在)">通用編碼</a></span><span class="noprint ilh-comment">(<span class="ilh-lang">英语</span><span class="ilh-colon">:</span><span class="ilh-link"><a href="https://en.wikipedia.org/wiki/Universal_code_(data_compression)" class="extiw" title="en:Universal code (data compression)"><span lang="en" dir="auto">Universal code (data compression)</span></a></span>)</span></span>,如果單個<a href="/wiki/%E4%BD%8D%E5%85%83" title="位元">位元</a>被更改,則其後的任何數據可能無法被正確讀取。另一方面,對於斐波那契編碼,更改位元可能會導致一個字詞(token)被讀取為兩個,或者導致兩個字詞被錯誤地讀取為一個,但從資料流中讀取“0”能阻止錯誤進一步傳播。由於唯一沒有“0”的資料流是“11”字詞的資料流,因此單個位元錯誤損壞的資料流與原始資料流之間的總<a href="/wiki/%E7%B7%A8%E8%BC%AF%E8%B7%9D%E9%9B%A2" title="編輯距離">編輯距離</a>最多為3。 </p><p>在這種使用符號序列進行編碼的方法中,可以自由推廣其中某些不允許存在的模式(如“11”)。<sup id="cite_ref-2" class="reference"><a href="#cite_note-2"><span class="cite-bracket">&#91;</span>2<span class="cite-bracket">&#93;</span></a></sup> </p> <div class="mw-heading mw-heading2"><h2 id="例子"><span id=".E4.BE.8B.E5.AD.90"></span>例子</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=%E6%96%90%E6%B3%A2%E9%82%A3%E5%A5%91%E7%BC%96%E7%A0%81&amp;action=edit&amp;section=3" title="编辑章节:例子"><span>编辑</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>下表展示了整數65編碼到斐波那契编码為0100100011的具體內容,表示<span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle 65={{{2}+{8}}+{55}}}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <mn>65</mn> <mo>=</mo> <mrow class="MJX-TeXAtom-ORD"> <mrow class="MJX-TeXAtom-ORD"> <mrow class="MJX-TeXAtom-ORD"> <mn>2</mn> </mrow> <mo>+</mo> <mrow class="MJX-TeXAtom-ORD"> <mn>8</mn> </mrow> </mrow> <mo>+</mo> <mrow class="MJX-TeXAtom-ORD"> <mn>55</mn> </mrow> </mrow> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle 65={{{2}+{8}}+{55}}}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/940d11daa4f707a4b11e0bab33f359fa8d414416" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.505ex; width:15.754ex; height:2.343ex;" alt="{\displaystyle 65={{{2}+{8}}+{55}}}"></span>。不使用前兩個斐波那契數<link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r58896141"><span class="serif"><span class="texhtml"><i>F</i>(0)=0</span></span>和<link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r58896141"><span class="serif"><span class="texhtml"><i>F</i>(1)=1</span></span>,且末尾必定會加上一個「1」。 </p> <dl><dd><span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle {\begin{array}{ccccccccccc|c}\hline 0&amp;1&amp;1&amp;2&amp;3&amp;5&amp;8&amp;13&amp;21&amp;34&amp;55&amp;-\\\hline F(0)&amp;F(1)&amp;F(2)&amp;F(3)&amp;F(4)&amp;F(5)&amp;F(6)&amp;F(7)&amp;F(8)&amp;F(9)&amp;F(10)&amp;\scriptstyle {\text{additional}}\\\hline -&amp;-&amp;0&amp;1&amp;0&amp;0&amp;1&amp;0&amp;0&amp;0&amp;1&amp;1\\\hline \end{array}}}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <mrow class="MJX-TeXAtom-ORD"> <menclose notation="top bottom"> <mtable columnalign="center center center center center center center center center center center center" rowspacing="4pt" columnspacing="1em" rowlines="solid solid" columnlines="none none none none none none none none none none solid"> <mtr> <mtd> <mn>0</mn> </mtd> <mtd> <mn>1</mn> </mtd> <mtd> <mn>1</mn> </mtd> <mtd> <mn>2</mn> </mtd> <mtd> <mn>3</mn> </mtd> <mtd> <mn>5</mn> </mtd> <mtd> <mn>8</mn> </mtd> <mtd> <mn>13</mn> </mtd> <mtd> <mn>21</mn> </mtd> <mtd> <mn>34</mn> </mtd> <mtd> <mn>55</mn> </mtd> <mtd> <mo>&#x2212;<!-- − --></mo> </mtd> </mtr> <mtr> <mtd> <mi>F</mi> <mo stretchy="false">(</mo> <mn>0</mn> <mo stretchy="false">)</mo> </mtd> <mtd> <mi>F</mi> <mo stretchy="false">(</mo> <mn>1</mn> <mo stretchy="false">)</mo> </mtd> <mtd> <mi>F</mi> <mo stretchy="false">(</mo> <mn>2</mn> <mo stretchy="false">)</mo> </mtd> <mtd> <mi>F</mi> <mo stretchy="false">(</mo> <mn>3</mn> <mo stretchy="false">)</mo> </mtd> <mtd> <mi>F</mi> <mo stretchy="false">(</mo> <mn>4</mn> <mo stretchy="false">)</mo> </mtd> <mtd> <mi>F</mi> <mo stretchy="false">(</mo> <mn>5</mn> <mo stretchy="false">)</mo> </mtd> <mtd> <mi>F</mi> <mo stretchy="false">(</mo> <mn>6</mn> <mo stretchy="false">)</mo> </mtd> <mtd> <mi>F</mi> <mo stretchy="false">(</mo> <mn>7</mn> <mo stretchy="false">)</mo> </mtd> <mtd> <mi>F</mi> <mo stretchy="false">(</mo> <mn>8</mn> <mo stretchy="false">)</mo> </mtd> <mtd> <mi>F</mi> <mo stretchy="false">(</mo> <mn>9</mn> <mo stretchy="false">)</mo> </mtd> <mtd> <mi>F</mi> <mo stretchy="false">(</mo> <mn>10</mn> <mo stretchy="false">)</mo> </mtd> <mtd> <mstyle displaystyle="false" scriptlevel="1"> <mrow class="MJX-TeXAtom-ORD"> <mtext>additional</mtext> </mrow> </mstyle> </mtd> </mtr> <mtr> <mtd> <mo>&#x2212;<!-- − --></mo> </mtd> <mtd> <mo>&#x2212;<!-- − --></mo> </mtd> <mtd> <mn>0</mn> </mtd> <mtd> <mn>1</mn> </mtd> <mtd> <mn>0</mn> </mtd> <mtd> <mn>0</mn> </mtd> <mtd> <mn>1</mn> </mtd> <mtd> <mn>0</mn> </mtd> <mtd> <mn>0</mn> </mtd> <mtd> <mn>0</mn> </mtd> <mtd> <mn>1</mn> </mtd> <mtd> <mn>1</mn> </mtd> </mtr> </mtable> </menclose> </mrow> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle {\begin{array}{ccccccccccc|c}\hline 0&amp;1&amp;1&amp;2&amp;3&amp;5&amp;8&amp;13&amp;21&amp;34&amp;55&amp;-\\\hline F(0)&amp;F(1)&amp;F(2)&amp;F(3)&amp;F(4)&amp;F(5)&amp;F(6)&amp;F(7)&amp;F(8)&amp;F(9)&amp;F(10)&amp;\scriptstyle {\text{additional}}\\\hline -&amp;-&amp;0&amp;1&amp;0&amp;0&amp;1&amp;0&amp;0&amp;0&amp;1&amp;1\\\hline \end{array}}}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/e39fad4dcdf757d0df2d0cbdf1e71f4082dcb992" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -4.838ex; width:87.951ex; height:10.843ex;" alt="{\displaystyle {\begin{array}{ccccccccccc|c}\hline 0&amp;1&amp;1&amp;2&amp;3&amp;5&amp;8&amp;13&amp;21&amp;34&amp;55&amp;-\\\hline F(0)&amp;F(1)&amp;F(2)&amp;F(3)&amp;F(4)&amp;F(5)&amp;F(6)&amp;F(7)&amp;F(8)&amp;F(9)&amp;F(10)&amp;\scriptstyle {\text{additional}}\\\hline -&amp;-&amp;0&amp;1&amp;0&amp;0&amp;1&amp;0&amp;0&amp;0&amp;1&amp;1\\\hline \end{array}}}"></span></dd></dl> <div class="mw-heading mw-heading2"><h2 id="斐波那契进制"><span id=".E6.96.90.E6.B3.A2.E9.82.A3.E5.A5.91.E8.BF.9B.E5.88.B6"></span>斐波那契进制</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=%E6%96%90%E6%B3%A2%E9%82%A3%E5%A5%91%E7%BC%96%E7%A0%81&amp;action=edit&amp;section=4" title="编辑章节:斐波那契进制"><span>编辑</span></a><span class="mw-editsection-bracket">]</span></span></div> <p><b>斐波那契进制</b>(Fibonaccimal Base)是與<a href="/wiki/%E9%BB%84%E9%87%91%E8%BF%9B%E5%88%B6" title="黄金进制">黃金进制</a>關係緊密的計數系統。它只用0和1表示數,每個數位的位值對應<a href="/wiki/%E6%96%90%E6%B3%A2%E9%82%A3%E5%A5%91%E6%95%B8" class="mw-redirect" title="斐波那契數">斐波那契數</a><sup id="cite_ref-Fibonaccimal_Base_3-0" class="reference"><a href="#cite_note-Fibonaccimal_Base-3"><span class="cite-bracket">&#91;</span>3<span class="cite-bracket">&#93;</span></a></sup>。和黃金进制一樣,其標準形也不連續使用兩個1。如: </p> <dl><dd><dl><dd>30 = 1×21 + 0×13 + 1×8 + 0×5 + 0×3 + 0×2 + 1×1 + 0×1 = 10100010<sub>fib</sub></dd></dl></dd></dl> <p>斐波那契进制與<a href="/wiki/%E9%BD%8A%E8%82%AF%E5%A4%9A%E5%A4%AB%E5%AE%9A%E7%90%86" title="齊肯多夫定理">齊肯多夫表述法</a>非常接近,斐波那契进制僅比齊肯多夫表述法末尾附加了一個額外的“0”。 </p><p>由於最末位始終為零,因此有時會將之省去<sup id="cite_ref-Fibonaccimal_Base_3-1" class="reference"><a href="#cite_note-Fibonaccimal_Base-3"><span class="cite-bracket">&#91;</span>3<span class="cite-bracket">&#93;</span></a></sup>,而省去後的結果則與<a href="/wiki/%E9%BD%8A%E8%82%AF%E5%A4%9A%E5%A4%AB%E5%AE%9A%E7%90%86" title="齊肯多夫定理">齊肯多夫表述法</a>相同<sup id="cite_ref-4" class="reference"><a href="#cite_note-4"><span class="cite-bracket">&#91;</span>4<span class="cite-bracket">&#93;</span></a></sup>。 </p> <div class="mw-heading mw-heading2"><h2 id="參見"><span id=".E5.8F.83.E8.A6.8B"></span>參見</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=%E6%96%90%E6%B3%A2%E9%82%A3%E5%A5%91%E7%BC%96%E7%A0%81&amp;action=edit&amp;section=5" title="编辑章节:參見"><span>编辑</span></a><span class="mw-editsection-bracket">]</span></span></div> <ul><li><a href="/wiki/%E9%80%B2%E4%BD%8D%E5%88%B6" class="mw-redirect" title="進位制">進位制</a></li> <li><a href="/wiki/%E9%BB%84%E9%87%91%E8%BF%9B%E5%88%B6" title="黄金进制">黃金進制</a></li> <li><span class="ilh-all" data-orig-title="负斐波那契编码" data-lang-code="en" data-lang-name="英语" data-foreign-title="Negafibonacci coding"><span class="ilh-page"><a href="/w/index.php?title=%E8%B4%9F%E6%96%90%E6%B3%A2%E9%82%A3%E5%A5%91%E7%BC%96%E7%A0%81&amp;action=edit&amp;redlink=1" class="new" title="负斐波那契编码(页面不存在)">负斐波那契编码</a></span><span class="noprint ilh-comment">(<span class="ilh-lang">英语</span><span class="ilh-colon">:</span><span class="ilh-link"><a href="https://en.wikipedia.org/wiki/Negafibonacci_coding" class="extiw" title="en:Negafibonacci coding"><span lang="en" dir="auto">Negafibonacci coding</span></a></span>)</span></span></li> <li><span class="ilh-all" data-orig-title="奧斯特洛夫斯基记数系统" data-lang-code="en" data-lang-name="英语" data-foreign-title="Ostrowski numeration"><span class="ilh-page"><a href="/w/index.php?title=%E5%A5%A7%E6%96%AF%E7%89%B9%E6%B4%9B%E5%A4%AB%E6%96%AF%E5%9F%BA%E8%AE%B0%E6%95%B0%E7%B3%BB%E7%BB%9F&amp;action=edit&amp;redlink=1" class="new" title="奧斯特洛夫斯基记数系统(页面不存在)">奧斯特洛夫斯基记数系统</a></span><span class="noprint ilh-comment">(<span class="ilh-lang">英语</span><span class="ilh-colon">:</span><span class="ilh-link"><a href="https://en.wikipedia.org/wiki/Ostrowski_numeration" class="extiw" title="en:Ostrowski numeration"><span lang="en" dir="auto">Ostrowski numeration</span></a></span>)</span></span></li> <li><span class="ilh-all" data-orig-title="通用編碼 (資料壓縮)" data-lang-code="en" data-lang-name="英语" data-foreign-title="Universal code (data compression)"><span class="ilh-page"><a href="/w/index.php?title=%E9%80%9A%E7%94%A8%E7%B7%A8%E7%A2%BC_(%E8%B3%87%E6%96%99%E5%A3%93%E7%B8%AE)&amp;action=edit&amp;redlink=1" class="new" title="通用編碼 (資料壓縮)(页面不存在)">通用編碼</a></span><span class="noprint ilh-comment">(<span class="ilh-lang">英语</span><span class="ilh-colon">:</span><span class="ilh-link"><a href="https://en.wikipedia.org/wiki/Universal_code_(data_compression)" class="extiw" title="en:Universal code (data compression)"><span lang="en" dir="auto">Universal code (data compression)</span></a></span>)</span></span></li> <li><a href="/wiki/%E9%BD%8A%E8%82%AF%E5%A4%9A%E5%A4%AB%E5%AE%9A%E7%90%86" title="齊肯多夫定理">齊肯多夫定理</a></li></ul> <div class="mw-heading mw-heading2"><h2 id="参考资料"><span id=".E5.8F.82.E8.80.83.E8.B5.84.E6.96.99"></span>参考资料</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=%E6%96%90%E6%B3%A2%E9%82%A3%E5%A5%91%E7%BC%96%E7%A0%81&amp;action=edit&amp;section=6" title="编辑章节:参考资料"><span>编辑</span></a><span class="mw-editsection-bracket">]</span></span></div> <style data-mw-deduplicate="TemplateStyles:r80540462">.mw-parser-output .refbegin{font-size:90%;margin-bottom:0.5em}.mw-parser-output .refbegin-hanging-indents>ul{margin-left:0}.mw-parser-output .refbegin-hanging-indents>ul>li{margin-left:0;padding-left:3.2em;text-indent:-3.2em}.mw-parser-output .refbegin-hanging-indents ul,.mw-parser-output .refbegin-hanging-indents ul li{list-style:none}@media(max-width:720px){.mw-parser-output .refbegin-hanging-indents>ul>li{padding-left:1.6em;text-indent:-1.6em}}.mw-parser-output .refbegin-columns{margin-top:0.3em}.mw-parser-output .refbegin-columns ul{margin-top:0}.mw-parser-output .refbegin-columns li{page-break-inside:avoid;break-inside:avoid-column}.mw-parser-output .refbegin-100{font-size:100%}</style><div class="refbegin" style=""> <div class="reflist" style="list-style-type: decimal;"> <ol class="references"> <li id="cite_note-1"><span class="mw-cite-backlink"><b><a href="#cite_ref-1">^</a></b></span> <span class="reference-text"><cite class="citation journal">Ayse Nalli, Cagla Ozyilmaz. <a rel="nofollow" class="external text" href="https://linkinghub.elsevier.com/retrieve/pii/S0022314X14002492">The third order variations on the Fibonacci universal code</a>. Journal of Number Theory. 2015-04, <b>149</b>: 15–32 <span class="reference-accessdate"> &#91;<span class="nowrap">2022-10-06</span>&#93;</span>. <a rel="nofollow" class="external text" href="https://doi.org/10.1016%2Fj.jnt.2014.07.010"><span title="數位物件識別號">doi:10.1016/j.jnt.2014.07.010</span></a>. (原始内容<a rel="nofollow" class="external text" href="https://web.archive.org/web/20180629180708/https://linkinghub.elsevier.com/retrieve/pii/S0022314X14002492">存档</a>于2018-06-29) <span style="font-family: sans-serif; cursor: default; color:var(--color-subtle, #54595d); font-size: 0.8em; bottom: 0.1em; font-weight: bold;" title="连接到英语网页">(英语)</span>.</cite><span title="ctx_ver=Z39.88-2004&amp;rfr_id=info%3Asid%2Fzh.wikipedia.org%3A%E6%96%90%E6%B3%A2%E9%82%A3%E5%A5%91%E7%BC%96%E7%A0%81&amp;rft.atitle=The+third+order+variations+on+the+Fibonacci+universal+code&amp;rft.au=Ayse+Nalli%2C+Cagla+Ozyilmaz&amp;rft.date=2015-04&amp;rft.genre=article&amp;rft.jtitle=Journal+of+Number+Theory&amp;rft.pages=15-32&amp;rft.volume=149&amp;rft_id=https%3A%2F%2Flinkinghub.elsevier.com%2Fretrieve%2Fpii%2FS0022314X14002492&amp;rft_id=info%3Adoi%2F10.1016%2Fj.jnt.2014.07.010&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal" class="Z3988"><span style="display:none;">&#160;</span></span></span> </li> <li id="cite_note-2"><span class="mw-cite-backlink"><b><a href="#cite_ref-2">^</a></b></span> <span class="reference-text"><cite class="citation arxiv">Duda, Jarek. Optimal encoding on discrete lattice with translational invariant constrains using statistical algorithms. 2007. <span class="plainlinks"><a rel="nofollow" class="external text" href="//arxiv.org/abs/0710.3861"><span title="arXiv">arXiv:0710.3861</span></a>&#8239;<span typeof="mw:File"><span title="可免费查阅"><img alt="可免费查阅" src="//upload.wikimedia.org/wikipedia/commons/thumb/6/65/Lock-green.svg/9px-Lock-green.svg.png" decoding="async" width="9" height="14" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/6/65/Lock-green.svg/14px-Lock-green.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/6/65/Lock-green.svg/18px-Lock-green.svg.png 2x" data-file-width="512" data-file-height="813" /></span></span></span> [<a rel="nofollow" class="external text" href="//arxiv.org/archive/cs.IT">cs.IT</a>].</cite><span title="ctx_ver=Z39.88-2004&amp;rfr_id=info%3Asid%2Fzh.wikipedia.org%3A%E6%96%90%E6%B3%A2%E9%82%A3%E5%A5%91%E7%BC%96%E7%A0%81&amp;rft.atitle=Optimal+encoding+on+discrete+lattice+with+translational+invariant+constrains+using+statistical+algorithms&amp;rft.aufirst=Jarek&amp;rft.aulast=Duda&amp;rft.date=2007&amp;rft.genre=preprint&amp;rft.jtitle=arXiv&amp;rft_id=info%3Aarxiv%2F0710.3861&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal" class="Z3988"><span style="display:none;">&#160;</span></span></span> </li> <li id="cite_note-Fibonaccimal_Base-3"><span class="mw-cite-backlink">^ <a href="#cite_ref-Fibonaccimal_Base_3-0"><sup><b>3.0</b></sup></a> <a href="#cite_ref-Fibonaccimal_Base_3-1"><sup><b>3.1</b></sup></a></span> <span class="reference-text"><cite class="citation web"><a rel="nofollow" class="external text" href="https://onlinejudge.org/index.php?option=com_onlinejudge&amp;Itemid=8&amp;category=24&amp;page=show_problem&amp;problem=889">Fibonaccimal Base</a>. onlinejudge.org. <span class="reference-accessdate"> &#91;<span class="nowrap">2022-10-06</span>&#93;</span>. (原始内容<a rel="nofollow" class="external text" href="https://web.archive.org/web/20221009151415/https://onlinejudge.org/index.php?option=com_onlinejudge&amp;Itemid=8&amp;category=24&amp;page=show_problem&amp;problem=889">存档</a>于2022-10-09).</cite><span title="ctx_ver=Z39.88-2004&amp;rfr_id=info%3Asid%2Fzh.wikipedia.org%3A%E6%96%90%E6%B3%A2%E9%82%A3%E5%A5%91%E7%BC%96%E7%A0%81&amp;rft.atitle=Fibonaccimal+Base&amp;rft.genre=unknown&amp;rft.jtitle=onlinejudge.org&amp;rft_id=https%3A%2F%2Fonlinejudge.org%2Findex.php%3Foption%3Dcom_onlinejudge%26Itemid%3D8%26category%3D24%26page%3Dshow_problem%26problem%3D889&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal" class="Z3988"><span style="display:none;">&#160;</span></span></span> </li> <li id="cite_note-4"><span class="mw-cite-backlink"><b><a href="#cite_ref-4">^</a></b></span> <span class="reference-text"><cite class="citation web"><a href="/wiki/Neil_Sloane" class="mw-redirect" title="Neil Sloane">Sloane, N.J.A.</a> (编). <a rel="nofollow" class="external text" href="https://oeis.org/A014417">Sequence&#x20;A014417&#x20;(Representation of n in base of Fibonacci numbers (the Zeckendorf representation of n))</a>. The <a href="/wiki/On-Line_Encyclopedia_of_Integer_Sequences" class="mw-redirect" title="On-Line Encyclopedia of Integer Sequences">On-Line Encyclopedia of Integer Sequences</a>. OEIS Foundation.</cite><span title="ctx_ver=Z39.88-2004&amp;rfr_id=info%3Asid%2Fzh.wikipedia.org%3A%E6%96%90%E6%B3%A2%E9%82%A3%E5%A5%91%E7%BC%96%E7%A0%81&amp;rft.atitle=Sequence%26%23x20%3BA014417%26%23x20%3B%28Representation+of+n+in+base+of+Fibonacci+numbers+%28the+Zeckendorf+representation+of+n%29%29&amp;rft.aufirst=N.J.A.&amp;rft.aulast=Sloane&amp;rft.genre=unknown&amp;rft.jtitle=The+On-Line+Encyclopedia+of+Integer+Sequences&amp;rft_id=https%3A%2F%2Foeis.org%2FA014417&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal" class="Z3988"><span style="display:none;">&#160;</span></span></span> </li> </ol></div> <ul><li><cite class="citation book">Allouche, Jean-Paul; <a href="/w/index.php?title=Jeffrey_Shallit&amp;action=edit&amp;redlink=1" class="new" title="Jeffrey Shallit(页面不存在)">Shallit, Jeffrey</a>. <a rel="nofollow" class="external text" href="https://archive.org/details/automaticsequenc00jpal">Automatic Sequences: Theory, Applications, Generalizations</a><span typeof="mw:File"><span title="有限度免费查阅,超限则需付费订阅"><img alt="有限度免费查阅,超限则需付费订阅" src="//upload.wikimedia.org/wikipedia/commons/thumb/b/b4/Lock-blue-alt-2.svg/9px-Lock-blue-alt-2.svg.png" decoding="async" width="9" height="14" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/b/b4/Lock-blue-alt-2.svg/14px-Lock-blue-alt-2.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/b/b4/Lock-blue-alt-2.svg/18px-Lock-blue-alt-2.svg.png 2x" data-file-width="512" data-file-height="813" /></span></span>. <a href="/wiki/Cambridge_University_Press" class="mw-redirect" title="Cambridge University Press">Cambridge University Press</a>. 2003: <a rel="nofollow" class="external text" href="https://archive.org/details/automaticsequenc00jpal/page/n122">105</a>. <a href="/wiki/Special:%E7%BD%91%E7%BB%9C%E4%B9%A6%E6%BA%90/978-0-521-82332-6" title="Special:网络书源/978-0-521-82332-6"><span title="国际标准书号">ISBN</span>&#160;978-0-521-82332-6</a>. <a rel="nofollow" class="external text" href="//zbmath.org/?format=complete&amp;q=an:1086.11015"><span title="Zentralblatt MATH">Zbl&#160;1086.11015</span></a>.</cite><span title="ctx_ver=Z39.88-2004&amp;rfr_id=info%3Asid%2Fzh.wikipedia.org%3A%E6%96%90%E6%B3%A2%E9%82%A3%E5%A5%91%E7%BC%96%E7%A0%81&amp;rft.au=Shallit%2C+Jeffrey&amp;rft.aufirst=Jean-Paul&amp;rft.aulast=Allouche&amp;rft.btitle=Automatic+Sequences%3A+Theory%2C+Applications%2C+Generalizations&amp;rft.date=2003&amp;rft.genre=book&amp;rft.isbn=978-0-521-82332-6&amp;rft.pages=105&amp;rft.pub=Cambridge+University+Press&amp;rft_id=%2F%2Fzbmath.org%2F%3Fformat%3Dcomplete%26q%3Dan%3A1086.11015&amp;rft_id=https%3A%2F%2Farchive.org%2Fdetails%2Fautomaticsequenc00jpal&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook" class="Z3988"><span style="display:none;">&#160;</span></span></li> <li><cite class="citation journal">Fraenkel, Aviezri S.; Klein, Shmuel T. Robust universal complete codes for transmission and compression. Discrete Applied Mathematics. 1996, <b>64</b> (1): 31–55. <span class="plainlinks"><a rel="nofollow" class="external text" href="//citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.37.3064"><span title="CiteSeerX">CiteSeerX&#160;10.1.1.37.3064</span></a>&#8239;<span typeof="mw:File"><span title="可免费查阅"><img alt="可免费查阅" src="//upload.wikimedia.org/wikipedia/commons/thumb/6/65/Lock-green.svg/9px-Lock-green.svg.png" decoding="async" width="9" height="14" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/6/65/Lock-green.svg/14px-Lock-green.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/6/65/Lock-green.svg/18px-Lock-green.svg.png 2x" data-file-width="512" data-file-height="813" /></span></span></span>. <a rel="nofollow" class="external text" href="//www.worldcat.org/issn/0166-218X"><span title="国际标准连续出版物号">ISSN&#160;0166-218X</span></a>. <a rel="nofollow" class="external text" href="//zbmath.org/?format=complete&amp;q=an:0874.94026"><span title="Zentralblatt MATH">Zbl&#160;0874.94026</span></a>. <a rel="nofollow" class="external text" href="https://doi.org/10.1016%2F0166-218X%2893%2900116-H"><span title="數位物件識別號">doi:10.1016/0166-218X(93)00116-H</span></a>.</cite><span title="ctx_ver=Z39.88-2004&amp;rfr_id=info%3Asid%2Fzh.wikipedia.org%3A%E6%96%90%E6%B3%A2%E9%82%A3%E5%A5%91%E7%BC%96%E7%A0%81&amp;rft.atitle=Robust+universal+complete+codes+for+transmission+and+compression&amp;rft.au=Klein%2C+Shmuel+T.&amp;rft.aufirst=Aviezri+S.&amp;rft.aulast=Fraenkel&amp;rft.date=1996&amp;rft.genre=article&amp;rft.issn=0166-218X&amp;rft.issue=1&amp;rft.jtitle=Discrete+Applied+Mathematics&amp;rft.pages=31-55&amp;rft.volume=64&amp;rft_id=%2F%2Fciteseerx.ist.psu.edu%2Fviewdoc%2Fsummary%3Fdoi%3D10.1.1.37.3064&amp;rft_id=%2F%2Fzbmath.org%2F%3Fformat%3Dcomplete%26q%3Dan%3A0874.94026&amp;rft_id=info%3Adoi%2F10.1016%2F0166-218X%2893%2900116-H&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal" class="Z3988"><span style="display:none;">&#160;</span></span></li></ul> </div> <p class="mw-empty-elt"> </p> <div class="navbox-styles"><style data-mw-deduplicate="TemplateStyles:r84265675">.mw-parser-output .hlist dl,.mw-parser-output .hlist ol,.mw-parser-output .hlist ul{margin:0;padding:0}.mw-parser-output .hlist dd,.mw-parser-output .hlist dt,.mw-parser-output .hlist li{margin:0;display:inline}.mw-parser-output .hlist.inline,.mw-parser-output .hlist.inline dl,.mw-parser-output .hlist.inline ol,.mw-parser-output .hlist.inline ul,.mw-parser-output .hlist dl dl,.mw-parser-output .hlist dl ol,.mw-parser-output .hlist dl ul,.mw-parser-output .hlist ol dl,.mw-parser-output .hlist ol ol,.mw-parser-output .hlist ol ul,.mw-parser-output .hlist ul dl,.mw-parser-output .hlist ul ol,.mw-parser-output .hlist ul ul{display:inline}.mw-parser-output .hlist .mw-empty-li{display:none}.mw-parser-output .hlist dt::after{content:" :"}.mw-parser-output .hlist dd::after,.mw-parser-output .hlist li::after{content:" · ";font-weight:bold}.mw-parser-output .hlist-pipe dd::after,.mw-parser-output .hlist-pipe li::after{content:" | ";font-weight:normal}.mw-parser-output .hlist-hyphen dd::after,.mw-parser-output .hlist-hyphen li::after{content:" - ";font-weight:normal}.mw-parser-output .hlist-comma dd::after,.mw-parser-output .hlist-comma li::after{content:"、";font-weight:normal}.mw-parser-output .hlist dd:last-child::after,.mw-parser-output .hlist dt:last-child::after,.mw-parser-output .hlist li:last-child::after{content:none}.mw-parser-output .hlist ol{counter-reset:listitem}.mw-parser-output .hlist ol>li{counter-increment:listitem}.mw-parser-output .hlist ol>li::before{content:" "counter(listitem)"\a0 "}.mw-parser-output .hlist dd ol>li:first-child::before,.mw-parser-output .hlist dt ol>li:first-child::before,.mw-parser-output .hlist li ol>li:first-child::before{content:"("counter(listitem)"\a0 "}.mw-parser-output ul.cslist,.mw-parser-output ul.sslist{margin:0;padding:0;display:inline-block;list-style:none}.mw-parser-output .cslist li,.mw-parser-output .sslist li{margin:0;display:inline-block}.mw-parser-output .cslist li::after{content:","}.mw-parser-output .sslist li::after{content:";"}.mw-parser-output .cslist li:last-child::after,.mw-parser-output .sslist li:last-child::after{content:none}</style><style data-mw-deduplicate="TemplateStyles:r84261037">.mw-parser-output .navbox{box-sizing:border-box;border:1px solid #a2a9b1;width:100%;clear:both;font-size:88%;text-align:center;padding:1px;margin:1em auto 0}.mw-parser-output .navbox .navbox{margin-top:0}.mw-parser-output .navbox+.navbox,.mw-parser-output .navbox+.navbox-styles+.navbox{margin-top:-1px}.mw-parser-output .navbox-inner,.mw-parser-output .navbox-subgroup{width:100%}.mw-parser-output .navbox-group,.mw-parser-output .navbox-title,.mw-parser-output .navbox-abovebelow{text-align:center;padding-left:1em;padding-right:1em}.mw-parser-output .navbox-group{white-space:nowrap;text-align:right}.mw-parser-output .navbox,.mw-parser-output .navbox-subgroup{background-color:#fdfdfd}.mw-parser-output .navbox-list{border-color:#fdfdfd}.mw-parser-output .navbox-list-with-group{text-align:left;border-left-width:2px;border-left-style:solid}.mw-parser-output tr+tr>.navbox-abovebelow,.mw-parser-output tr+tr>.navbox-group,.mw-parser-output tr+tr>.navbox-image,.mw-parser-output tr+tr>.navbox-list{border-top:2px solid #fdfdfd}.mw-parser-output .navbox-title{background-color:#ccf;position:relative}.mw-parser-output .navbox-abovebelow,.mw-parser-output .navbox-group,.mw-parser-output .navbox-subgroup .navbox-title{background-color:#ddf}.mw-parser-output .navbox-subgroup .navbox-group,.mw-parser-output .navbox-subgroup .navbox-abovebelow{background-color:#e6e6ff}.mw-parser-output .navbox-even{background-color:#f7f7f7}.mw-parser-output .navbox-odd{background-color:transparent}.mw-parser-output .navbox .hlist td dl,.mw-parser-output .navbox .hlist td ol,.mw-parser-output .navbox .hlist td ul,.mw-parser-output .navbox td.hlist dl,.mw-parser-output .navbox td.hlist ol,.mw-parser-output .navbox td.hlist ul{padding:0.125em 0}.mw-parser-output .navbox .navbar{display:block;font-size:100%}.mw-parser-output .navbox-title .navbar{float:left;text-align:left;margin-right:0.5em;width:auto;padding-left:0.2em;position:absolute;left:1em}.mw-parser-output .navbox .mw-collapsible-toggle{margin-left:0.5em;position:absolute;right:1em}body.skin--responsive .mw-parser-output .navbox-image img{max-width:none!important}@media print{body.ns-0 .mw-parser-output .navbox{display:none!important}}</style></div><div role="navigation" class="navbox" aria-labelledby="进制的记数系统" style="padding:3px"><table class="nowraplinks mw-collapsible autocollapse navbox-inner" style="border-spacing:0;background:transparent;color:inherit"><tbody><tr><th scope="col" class="collapsible-title navbox-title" colspan="2"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r84265675"><style data-mw-deduplicate="TemplateStyles:r84244141">.mw-parser-output .navbar{display:inline;font-weight:normal}.mw-parser-output .navbar-collapse{float:left;text-align:left}.mw-parser-output .navbar-boxtext{word-spacing:0}.mw-parser-output .navbar ul{display:inline-block;white-space:nowrap;line-height:inherit}.mw-parser-output .navbar-brackets::before{margin-right:-0.125em;content:"[ "}.mw-parser-output .navbar-brackets::after{margin-left:-0.125em;content:" ]"}.mw-parser-output .navbar li{word-spacing:-0.125em}.mw-parser-output .navbar a>span,.mw-parser-output .navbar a>abbr{text-decoration:inherit}.mw-parser-output .navbar-mini abbr{font-variant:small-caps;border-bottom:none;text-decoration:none;cursor:inherit}.mw-parser-output .navbar-ct-full{font-size:110%;margin:0 8em}.mw-parser-output .navbar-ct-mini{font-size:110%;margin:0 5em}html.skin-theme-clientpref-night .mw-parser-output .navbar li a abbr{color:var(--color-base)!important}@media(prefers-color-scheme:dark){html.skin-theme-clientpref-os .mw-parser-output .navbar li a abbr{color:var(--color-base)!important}}@media print{.mw-parser-output .navbar{display:none!important}}</style><div class="navbar plainlinks hlist navbar-mini"><ul><li class="nv-view"><a href="/wiki/Template:Pns" title="Template:Pns"><abbr title="查看该模板">查</abbr></a></li><li class="nv-talk"><a href="/wiki/Template_talk:Pns" title="Template talk:Pns"><abbr title="讨论该模板">论</abbr></a></li><li class="nv-edit"><a href="/wiki/Special:%E7%BC%96%E8%BE%91%E9%A1%B5%E9%9D%A2/Template:Pns" title="Special:编辑页面/Template:Pns"><abbr title="编辑该模板">编</abbr></a></li></ul></div><div id="进制的记数系统" style="font-size:110%;margin:0 5em"><a href="/wiki/%E8%BF%9B%E4%BD%8D%E5%88%B6" title="进位制">进制</a>的<a href="/wiki/%E8%AE%B0%E6%95%B0%E7%B3%BB%E7%BB%9F" title="记数系统">记数系统</a></div></th></tr><tr><th scope="row" class="navbox-group" style="width:1%">基本进位制</th><td class="navbox-list-with-group navbox-list navbox-odd hlist" style="width:100%;padding:0px"><div style="padding:0em 0.25em"> <ul><li><a href="/wiki/%E4%B8%80%E8%BF%9B%E5%88%B6" title="一进制">一进制</a></li> <li><a href="/wiki/%E4%BA%8C%E8%BF%9B%E5%88%B6" title="二进制">二进制</a></li> <li><a href="/wiki/%E4%B8%89%E8%BF%9B%E5%88%B6" title="三进制">三进制</a></li> <li><a href="/wiki/%E5%9B%9B%E9%80%B2%E5%88%B6" title="四進制">四进制</a></li> <li><a href="/wiki/%E4%BA%94%E9%80%B2%E5%88%B6" title="五進制">五进制</a></li> <li><a href="/wiki/%E5%85%AD%E8%BF%9B%E5%88%B6" title="六进制">六进制</a></li> <li><a href="/w/index.php?title=%E4%B8%83%E9%80%B2%E5%88%B6&amp;action=edit&amp;redlink=1" class="new" title="七進制(页面不存在)">七進制</a></li> <li><a href="/wiki/%E5%85%AB%E8%BF%9B%E5%88%B6" title="八进制">八进制</a></li> <li><a href="/wiki/%E4%B9%9D%E9%80%B2%E4%BD%8D" title="九進位">九进制</a></li> <li><a href="/wiki/%E5%8D%81%E8%BF%9B%E5%88%B6" title="十进制">十进制</a></li> <li><a href="/wiki/%E5%8D%81%E4%B8%80%E8%BF%9B%E5%88%B6" title="十一进制">十一进制</a></li> <li><a href="/wiki/%E5%8D%81%E4%BA%8C%E8%BF%9B%E5%88%B6" title="十二进制">十二进制</a></li> <li><a href="/w/index.php?title=%E5%8D%81%E4%B8%89%E8%BF%9B%E5%88%B6&amp;action=edit&amp;redlink=1" class="new" title="十三进制(页面不存在)">十三进制</a></li> <li><a href="/w/index.php?title=%E5%8D%81%E5%9B%9B%E8%BF%9B%E5%88%B6&amp;action=edit&amp;redlink=1" class="new" title="十四进制(页面不存在)">十四进制</a></li> <li><a href="/w/index.php?title=%E5%8D%81%E4%BA%94%E8%BF%9B%E5%88%B6&amp;action=edit&amp;redlink=1" class="new" title="十五进制(页面不存在)">十五进制</a></li> <li><a href="/wiki/%E5%8D%81%E5%85%AD%E8%BF%9B%E5%88%B6" title="十六进制">十六进制</a></li> <li><a href="/w/index.php?title=%E5%8D%81%E4%B8%83%E8%BF%9B%E5%88%B6&amp;action=edit&amp;redlink=1" class="new" title="十七进制(页面不存在)">十七进制</a></li> <li><a href="/w/index.php?title=%E5%8D%81%E5%85%AB%E8%BF%9B%E5%88%B6&amp;action=edit&amp;redlink=1" class="new" title="十八进制(页面不存在)">十八进制</a></li> <li><a href="/w/index.php?title=%E5%8D%81%E4%B9%9D%E8%BF%9B%E5%88%B6&amp;action=edit&amp;redlink=1" class="new" title="十九进制(页面不存在)">十九进制</a></li> <li><a href="/wiki/%E4%BA%8C%E5%8D%81%E8%BF%9B%E5%88%B6" title="二十进制">二十进制</a></li> <li><a href="/wiki/%E4%BA%8C%E5%8D%81%E5%85%AD%E8%BF%9B%E5%88%B6" class="mw-disambig" title="二十六进制">二十六进制</a></li> <li><a href="/wiki/%E4%B8%89%E5%8D%81%E5%85%AD%E8%BF%9B%E5%88%B6" title="三十六进制">三十六进制</a></li> <li><a href="/wiki/%E5%85%AD%E5%8D%81%E9%80%B2%E5%88%B6" title="六十進制">六十进制</a></li> <li><a href="/wiki/%E8%BF%9B%E4%BD%8D%E5%88%B6" title="进位制">六十四进制</a></li> <li><a href="/w/index.php?title=%E4%B8%80%E7%99%BE%E9%80%B2%E5%88%B6&amp;action=edit&amp;redlink=1" class="new" title="一百進制(页面不存在)">一百进制</a></li></ul> </div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">平衡进位制</th><td class="navbox-list-with-group navbox-list navbox-even hlist" style="width:100%;padding:0px"><div style="padding:0em 0.25em"><a href="/wiki/%E5%B9%B3%E8%A1%A1%E4%B8%89%E9%80%B2%E4%BD%8D" title="平衡三進位">平衡三进制</a></div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%"><a href="/wiki/%E5%B9%BF%E4%B9%89%E7%9A%84%E8%BF%9B%E5%88%B6%E7%B3%BB%E7%BB%9F" title="广义的进制系统">广义的进制系统</a></th><td class="navbox-list-with-group navbox-list navbox-odd hlist" style="width:100%;padding:0px"><div style="padding:0em 0.25em"> <ul><li><a href="/wiki/Base64" title="Base64">Base64</a></li> <li><a href="/wiki/%E5%8D%81%E8%BF%9B%E5%88%B6#十进位制" title="十进制">十进位制</a></li> <li><a href="/w/index.php?title=%E4%BA%8C%E9%80%B2%E6%8C%87%E6%95%B8%E6%B3%95&amp;action=edit&amp;redlink=1" class="new" title="二進指數法(页面不存在)">二進指數法</a></li> <li><a href="/wiki/%E9%9D%9E%E6%95%B4%E6%95%B0%E8%BF%9B%E4%BD%8D%E5%88%B6" title="非整数进位制">非整数进位制</a> <ul><li><a href="/w/index.php?title=%E6%A0%B9%E5%8F%B72%E8%BF%9B%E5%88%B6&amp;action=edit&amp;redlink=1" class="new" title="根号2进制(页面不存在)">根號2进制</a></li> <li><a href="/wiki/%E9%BB%84%E9%87%91%E8%BF%9B%E5%88%B6" title="黄金进制">黄金进制</a></li> <li><a href="/wiki/E%E8%BF%9B%E5%88%B6" title="E进制">e进制</a></li></ul></li> <li><span class="ilh-all" data-orig-title="负底数进制" data-lang-code="en" data-lang-name="英语" data-foreign-title="Negative base"><span class="ilh-page"><a href="/w/index.php?title=%E8%B4%9F%E5%BA%95%E6%95%B0%E8%BF%9B%E5%88%B6&amp;action=edit&amp;redlink=1" class="new" title="负底数进制(页面不存在)">负底数进制</a></span><span class="noprint ilh-comment">(<span class="ilh-lang">英语</span><span class="ilh-colon">:</span><span class="ilh-link"><a href="https://en.wikipedia.org/wiki/Negative_base" class="extiw" title="en:Negative base"><span lang="en" dir="auto">Negative base</span></a></span>)</span></span></li> <li><a href="/wiki/%E5%A4%8D%E5%BA%95%E6%95%B0%E8%BF%9B%E5%88%B6" title="复底数进制">複底数进制</a> <ul><li><a href="/wiki/2i%E9%80%B2%E5%88%B6" title="2i進制">2i进制</a></li> <li><a href="/wiki/-1%C2%B1i%E8%BF%9B%E5%88%B6" class="mw-redirect" title="-1±i进制">-1±i进制</a></li></ul></li> <li><span class="ilh-all" data-orig-title="混合底數" data-lang-code="en" data-lang-name="英语" data-foreign-title="Mixed radix"><span class="ilh-page"><a href="/w/index.php?title=%E6%B7%B7%E5%90%88%E5%BA%95%E6%95%B8&amp;action=edit&amp;redlink=1" class="new" title="混合底數(页面不存在)">混合底數</a></span><span class="noprint ilh-comment">(<span class="ilh-lang">英语</span><span class="ilh-colon">:</span><span class="ilh-link"><a href="https://en.wikipedia.org/wiki/Mixed_radix" class="extiw" title="en:Mixed radix"><span lang="en" dir="auto">Mixed radix</span></a></span>)</span></span> <ul><li><a href="/wiki/%E9%98%B6%E4%B9%98%E8%BF%9B%E5%88%B6" title="阶乘进制">阶乘进制</a></li></ul></li> <li><a class="mw-selflink selflink">斐波那契編碼</a></li> <li><a href="/wiki/%E9%9B%99%E5%B0%84%E8%A8%98%E6%95%B8" title="雙射記數">双射记数系统</a></li></ul> </div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">相關條目</th><td class="navbox-list-with-group navbox-list navbox-even hlist" style="width:100%;padding:0px"><div style="padding:0em 0.25em"> <ul><li><a href="/wiki/%E5%BA%95%E6%95%B0_(%E8%BF%9B%E5%88%B6)" title="底数 (进制)">底数</a></li> <li><a href="/wiki/%E6%95%B0%E4%BD%8D_(%E6%95%B0%E5%AD%A6)" title="数位 (数学)">数位</a></li> <li><a href="/wiki/%E4%BD%8D%E5%85%83" title="位元"> 比特 </a></li> <li><a href="/wiki/%E5%AD%97%E8%8A%82" title="字节">位元組</a></li> <li><a href="/wiki/%E8%BF%9B%E4%BD%8D%E5%88%B6" title="进位制">进位制</a></li> <li><a href="/wiki/%E7%B1%B3%E8%BF%AA%E5%AE%9A%E7%90%86" title="米迪定理">米迪定理</a></li> <li><a href="/wiki/%E8%AE%B0%E6%95%B0%E7%B3%BB%E7%BB%9F" title="记数系统">记数系统</a></li></ul> </div></td></tr></tbody></table></div> <!-- NewPP limit report Parsed by mw‐web.eqiad.main‐5b65756c6d‐cdl8n Cached time: 20241119151510 Cache expiry: 2592000 Reduced expiry: false Complications: [show‐toc] CPU time usage: 0.527 seconds Real time usage: 0.730 seconds Preprocessor visited node count: 1699/1000000 Post‐expand include size: 278124/2097152 bytes Template argument size: 1738/2097152 bytes Highest expansion depth: 20/100 Expensive parser function count: 11/500 Unstrip recursion depth: 0/20 Unstrip post‐expand size: 17890/5000000 bytes Lua time usage: 0.235/10.000 seconds Lua memory usage: 6103481/52428800 bytes Number of Wikibase entities loaded: 0/400 --> <!-- Transclusion expansion time report (%,ms,calls,template) 100.00% 471.095 1 -total 22.70% 106.924 1 Template:Reflist 20.11% 94.753 1 Template:Pns 19.45% 91.641 1 Template:Navbox 13.71% 64.580 1 Template:NoteTA 10.86% 51.179 16 Template:進制 10.43% 49.125 2 Template:Cite_journal 9.90% 46.662 1 Template:計算結果 9.31% 43.858 1 Template:計算結果/mathtag 7.87% 37.055 3 Template:Safeyesno --> <!-- Saved in parser cache with key zhwiki:pcache:idhash:1626043-0!canonical!zh and timestamp 20241119151510 and revision id 80498987. Rendering was triggered because: page-view --> </div><!--esi <esi:include src="/esitest-fa8a495983347898/content" /> --><noscript><img src="https://login.wikimedia.org/wiki/Special:CentralAutoLogin/start?type=1x1" alt="" width="1" height="1" style="border: none; position: absolute;"></noscript> <div class="printfooter" data-nosnippet="">检索自“<a dir="ltr" href="https://zh.wikipedia.org/w/index.php?title=斐波那契编码&amp;oldid=80498987">https://zh.wikipedia.org/w/index.php?title=斐波那契编码&amp;oldid=80498987</a>”</div></div> <div id="catlinks" class="catlinks" data-mw="interface"><div id="mw-normal-catlinks" class="mw-normal-catlinks"><a href="/wiki/Special:%E9%A1%B5%E9%9D%A2%E5%88%86%E7%B1%BB" title="Special:页面分类">分类</a>:​<ul><li><a href="/wiki/Category:%E6%95%B0%E6%8D%AE%E5%8E%8B%E7%BC%A9" title="Category:数据压缩">数据压缩</a></li><li><a href="/wiki/Category:%E9%9D%9E%E6%A0%87%E5%87%86%E8%BF%9B%E5%88%B6%E7%B3%BB%E7%BB%9F" title="Category:非标准进制系统">非标准进制系统</a></li><li><a href="/wiki/Category:%E6%97%A0%E6%8D%9F%E5%8E%8B%E7%BC%A9%E7%AE%97%E6%B3%95" title="Category:无损压缩算法">无损压缩算法</a></li><li><a href="/wiki/Category:%E6%96%90%E6%B3%A2%E9%82%A3%E5%A5%91%E6%95%B0" title="Category:斐波那契数">斐波那契数</a></li></ul></div><div id="mw-hidden-catlinks" class="mw-hidden-catlinks mw-hidden-cats-hidden">隐藏分类:​<ul><li><a href="/wiki/Category:CS1%E8%8B%B1%E8%AF%AD%E6%9D%A5%E6%BA%90_(en)" title="Category:CS1英语来源 (en)">CS1英语来源 (en)</a></li></ul></div></div> </div> </main> </div> <div class="mw-footer-container"> <footer id="footer" class="mw-footer" > <ul id="footer-info"> <li id="footer-info-lastmod"> 本页面最后修订于2024年1月15日 (星期一) 03:30。</li> <li id="footer-info-copyright">本站的全部文字在<a rel="nofollow" class="external text" href="//creativecommons.org/licenses/by-sa/4.0/deed.zh">知识共享 署名-相同方式共享 4.0协议</a>之条款下提供,附加条款亦可能应用。(请参阅<a class="external text" href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Terms_of_Use">使用条款</a>)<br /> Wikipedia&#174;和维基百科标志是<a rel="nofollow" class="external text" href="https://wikimediafoundation.org/zh">维基媒体基金会</a>的注册商标;维基&#8482;是维基媒体基金会的商标。<br /> 维基媒体基金会是按美国国內稅收法501(c)(3)登记的<a class="external text" href="https://donate.wikimedia.org/wiki/Special:MyLanguage/Tax_deductibility">非营利慈善机构</a>。<br /></li> </ul> <ul id="footer-places"> <li id="footer-places-privacy"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Privacy_policy">隐私政策</a></li> <li id="footer-places-about"><a href="/wiki/Wikipedia:%E5%85%B3%E4%BA%8E">关于维基百科</a></li> <li id="footer-places-disclaimers"><a href="/wiki/Wikipedia:%E5%85%8D%E8%B4%A3%E5%A3%B0%E6%98%8E">免责声明</a></li> <li id="footer-places-wm-codeofconduct"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Universal_Code_of_Conduct">行为准则</a></li> <li id="footer-places-developers"><a href="https://developer.wikimedia.org">开发者</a></li> <li id="footer-places-statslink"><a href="https://stats.wikimedia.org/#/zh.wikipedia.org">统计</a></li> <li id="footer-places-cookiestatement"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Cookie_statement">Cookie声明</a></li> <li id="footer-places-mobileview"><a href="//zh.m.wikipedia.org/w/index.php?title=%E6%96%90%E6%B3%A2%E9%82%A3%E5%A5%91%E7%BC%96%E7%A0%81&amp;mobileaction=toggle_view_mobile" class="noprint stopMobileRedirectToggle">手机版视图</a></li> </ul> <ul id="footer-icons" class="noprint"> <li id="footer-copyrightico"><a href="https://wikimediafoundation.org/" class="cdx-button cdx-button--fake-button cdx-button--size-large cdx-button--fake-button--enabled"><img src="/static/images/footer/wikimedia-button.svg" width="84" height="29" alt="Wikimedia Foundation" loading="lazy"></a></li> <li id="footer-poweredbyico"><a href="https://www.mediawiki.org/" class="cdx-button cdx-button--fake-button cdx-button--size-large cdx-button--fake-button--enabled"><img src="/w/resources/assets/poweredby_mediawiki.svg" alt="Powered by MediaWiki" width="88" height="31" loading="lazy"></a></li> </ul> </footer> </div> </div> </div> <div class="vector-settings" id="p-dock-bottom"> <ul></ul> </div><script>(RLQ=window.RLQ||[]).push(function(){mw.config.set({"wgHostname":"mw-web.codfw.main-694cf4987f-nxrlk","wgBackendResponseTime":142,"wgPageParseReport":{"limitreport":{"cputime":"0.527","walltime":"0.730","ppvisitednodes":{"value":1699,"limit":1000000},"postexpandincludesize":{"value":278124,"limit":2097152},"templateargumentsize":{"value":1738,"limit":2097152},"expansiondepth":{"value":20,"limit":100},"expensivefunctioncount":{"value":11,"limit":500},"unstrip-depth":{"value":0,"limit":20},"unstrip-size":{"value":17890,"limit":5000000},"entityaccesscount":{"value":0,"limit":400},"timingprofile":["100.00% 471.095 1 -total"," 22.70% 106.924 1 Template:Reflist"," 20.11% 94.753 1 Template:Pns"," 19.45% 91.641 1 Template:Navbox"," 13.71% 64.580 1 Template:NoteTA"," 10.86% 51.179 16 Template:進制"," 10.43% 49.125 2 Template:Cite_journal"," 9.90% 46.662 1 Template:計算結果"," 9.31% 43.858 1 Template:計算結果/mathtag"," 7.87% 37.055 3 Template:Safeyesno"]},"scribunto":{"limitreport-timeusage":{"value":"0.235","limit":"10.000"},"limitreport-memusage":{"value":6103481,"limit":52428800}},"cachereport":{"origin":"mw-web.eqiad.main-5b65756c6d-cdl8n","timestamp":"20241119151510","ttl":2592000,"transientcontent":false}}});});</script> <script type="application/ld+json">{"@context":"https:\/\/schema.org","@type":"Article","name":"\u6590\u6ce2\u90a3\u5951\u7f16\u7801","url":"https:\/\/zh.wikipedia.org\/wiki\/%E6%96%90%E6%B3%A2%E9%82%A3%E5%A5%91%E7%BC%96%E7%A0%81","sameAs":"http:\/\/www.wikidata.org\/entity\/Q2633","mainEntity":"http:\/\/www.wikidata.org\/entity\/Q2633","author":{"@type":"Organization","name":"\u7ef4\u57fa\u5a92\u4f53\u9879\u76ee\u8d21\u732e\u8005"},"publisher":{"@type":"Organization","name":"Wikimedia Foundation, Inc.","logo":{"@type":"ImageObject","url":"https:\/\/www.wikimedia.org\/static\/images\/wmf-hor-googpub.png"}},"datePublished":"2011-08-01T03:02:23Z","dateModified":"2024-01-15T03:30:31Z","headline":"\u7de8\u78bc"}</script> </body> </html>

Pages: 1 2 3 4 5 6 7 8 9 10