# 16（数）

**16（十六）**是介于15与17之间的自然数。它是2的四次方，写作\( 2^{4} \)，也是十六进制数制的基数——计算机用它作为二进制数据的紧凑简写。在算术中，它是一个合数、偶数、平方数，恰好有五个因数。

| 关键事实 | 详情 |
|---|---|
| 素因数分解 | \( 16 = 2^{4} \)，即单一素数自乘四次<sup>[1](https://numbermatics.com/n/16/)</sup> |
| 因数 | 1、2、4、8、16；共五个因数，因数和为31<sup>[2](https://www.numberempire.com/16)</sup> |
| 平方与四次方 | \( 16 = 4^{2} \)，是第四个平方数；且\( 2^{16} = 65536 \)<sup>[2](https://www.numberempire.com/16)</sup><sup> • </sup><sup>[3](https://math.fandom.com/wiki/16_%28number%29)</sup> |
| 欧拉函数 | \( \varphi(16) = 8 \)，即1到16中有八个整数与它互素<sup>[2](https://www.numberempire.com/16)</sup> |
| 二进制与十六进制 | 16的二进制表示为10000，十六进制表示为10<sup>[2](https://www.numberempire.com/16)</sup> |
| 互异幂 | 16是唯一能写成\( x^{y} = y^{x} \)（x、y为互异整数）的数，即\( 4^{2} = 2^{4} \)<sup>[3](https://math.fandom.com/wiki/16_%28number%29)</sup> |
| 分类 | 偶合数、亏数（真因数之和为15）、正规数，不是斐波那契数、三角数或完全数<sup>[1](https://numbermatics.com/n/16/)</sup><sup> • </sup><sup>[2](https://www.numberempire.com/16)</sup> |

## 算术与数论性质

素因数分解\( 16 = 2^{4} \)赋予了16其结构。由于唯一的素因数是2，每个因数本身都是2的幂：1、2、4、8和16。因数个数公式将分解式中每个指数加一后相乘，给出\( 4 + 1 = 5 \)个因数，因数和为\( 1 + 2 + 4 + 8 + 16 = 31 \)<sup>[2](https://www.numberempire.com/16)</sup>。由于真因数之和为15，比该数本身少一，16被归类为亏数<sup>[1](https://numbermatics.com/n/16/)</sup>。

作为2的幂，16处于若干数族的交汇处。它是第四个平方数\( 4^{2} \)，也是四次方\( 2^{4} \)，这使它成为一个双二次数<sup>[2](https://www.numberempire.com/16)</sup><sup> • </sup><sup>[4](https://oeis.org/A000290)</sup>。它的平方是256，立方是4096，四次方是65536，因此\( 2^{16} = 65536 \)<sup>[2](https://www.numberempire.com/16)</sup>。欧拉函数计算不超过n且与n互素的正整数个数，给出\( \varphi(16) = 8 \)：1、3、5、7、9、11、13、15这八个值恰好是小于16的奇数，因为2是唯一整除它的素数<sup>[2](https://www.numberempire.com/16)</sup>。

有一个奇妙之处使16在所有整数中独树一帜：它是唯一能写成\( x^{y} = y^{x} \)（x与y为不同整数）的数，即\( 4^{2} = 2^{4} = 16 \)<sup>[3](https://math.fandom.com/wiki/16_%28number%29)</sup>。在模算术中，费马小定理意味着任何与17互素的底数b满足\( b^{16} \equiv 1 \pmod{17} \)，因为16比素数17小一<sup>[5](https://oeis.org/wiki/16)</sup>。16还是一个哈沙德数，即能被其数字之和整除，在从二进制到十六进制的每个进制中皆如此，唯六进制、十进制、十一进制、十二进制和十四进制除外<sup>[5](https://oeis.org/wiki/16)</sup>。

## 16作为基数：十六进制

由于\( 16 = 2^{4} \)，每个十六进制数字恰好对应四个二进制数字。一个字节——标准的8位组——因此只需两个十六进制数字，从00到FF，二进制与十六进制之间的转换简化为将位按四个一组分组，每组替换为一个数字<sup>[6](https://www.plctalk.net/textbook/numbering-systems-and-data/the-hexadecimal-and-octal-number-systems/)</sup><sup> • </sup><sup>[7](https://academia.sh/en/courses/how-computers-work/hexadecimal-and-octal-bases)</sup>。这使十六进制成为二进制的紧凑、人类可读的替代品，因此程序员用它来表示内存地址、位掩码和颜色代码<sup>[8](https://www.techtarget.com/whatis/definition/hexadecimal)</sup>。

数字符号是西方阿拉伯数字0到9，加上字母A到F表示10到15的值。美国国家标准局选定了这套符号，此后一直是标准<sup>[9](https://link.springer.com/article/10.1007/s00283-022-10206-w)</sup>。这一选择并非人人欢迎：1968年，布鲁斯·艾伦·马丁抱怨用字母作数字符号是“荒谬的选择”，并为非零十六进制数字草拟了十五个新字形，但他的提议无疾而终<sup>[9](https://link.springer.com/article/10.1007/s00283-022-10206-w)</sup>。

这个词本身的历史很短。《牛津英语词典》首次收录的用例可追溯到1954年1月，但该术语可以前推至1950年，当时它描述的是向标准东部自动计算机（SEAC）输入数字所用的记数法——SEAC是国家标准局建造的一台存储程序计算机，于1950年5月开始有效运算<sup>[9](https://link.springer.com/article/10.1007/s00283-022-10206-w)</sup><sup> • </sup><sup>[10](https://www.nist.gov/mathematics-statistics/standards-eastern-automatic-computer)</sup>。常有人说这个词是IBM创造的，此说为假<sup>[9](https://link.springer.com/article/10.1007/s00283-022-10206-w)</sup>。斯坦福大学计算机科学家、《计算机程序设计艺术》的作者唐纳德·克努特指出，“hexadecimal”混合了希腊词根（ἕξ，“六”）和拉丁词根（decem，“十”），并建议“senidenary”“sedecimal”或“sexadecimal”在词源上更为一致<sup>[9](https://link.springer.com/article/10.1007/s00283-022-10206-w)</sup>。

## 早期的十六进制提议

十六进制计数比计算机早了数个世纪。据数学哲学家、曼彻斯特城市大学教授劳埃德·斯特里克兰与欧文·丹尼尔·琼斯的研究，已知最早的倡导者是戈特弗里德·威廉·莱布尼茨（Gottfried Wilhelm Leibniz，1646—1716），他在十七世纪发明了一种他称为“sedecimal”的十六进制系统，并算出了如何将十进制数1679——他发明该系统的年份——转换为十六进制<sup>[9](https://link.springer.com/article/10.1007/s00283-022-10206-w)</sup>。莱布尼茨曾试验用字母m、n、p、q、r、s表示六个额外数字，后来改用圭多·达雷佐唱名法中的音节ut、re、mi、fa、sol、la，缩写为u、r、m、f、s和ℓ<sup>[9](https://link.springer.com/article/10.1007/s00283-022-10206-w)</sup>。

1845年，英国校长兼数学家托马斯·赖特·希尔（Thomas Wright Hill，1763—1851）在英国科学促进会宣读的一篇论文中提出了一种他称为“sexdecimal”的十六进制记数法。他的灵感来自约克郡以16磅而非14磅计一石的习惯，这样可以更方便地二分<sup>[9](https://link.springer.com/article/10.1007/s00283-022-10206-w)</sup>。最详尽的早期方案来自瑞典裔美国工程师约翰·威廉·奈斯特伦（John William Nystrom，1825—1885），他在1862年的一本书中提议用十六进制“音调”系统完全取代十进制算术，包括数字的新名称、新的度量衡单位、将一天分为十六小时的钟表，以及一年十六个月的历法。1867年，美国专利局的W. B. 泰勒评论指出，在表示极大数时十六进制几乎不比十进制更经济，奈斯特伦最终放弃了这一运动<sup>[9](https://link.springer.com/article/10.1007/s00283-022-10206-w)</sup>。

## 计算实践中的16

十六进制通过字长为四位的倍数的机器进入主流计算。IBM System/360于1964年4月7日发布，在其体系结构中直接采用了十六进制基数，同时还有二进制寻址和十进制算术<sup>[11](https://tcm.computerhistory.org/ComputerTimeline/Chap43-44_ibm360_CS1_40-41CS2.pdf)</sup>。360/370系列还使用十六进制浮点格式：有效数字以24位存储，解释为六个十六进制数字，7位指数表示16的幂。这比二进制系统提供了更宽的正规化值范围，但允许最多三个前导零位，因此精度在21到24位之间<sup>[12](https://epubs.siam.org/doi/abs/10.1137/1.9780898718072.ch4)</sup>。后来的IEEE 754标准将浮点回归到基2，十六进制浮点主要存留于IBM Z大型机上<sup>[12](https://epubs.siam.org/doi/abs/10.1137/1.9780898718072.ch4)</sup>。

十六进制记数法仍嵌入日常计算标准中。Unicode在“U+”前缀后以十六进制书写每个码位，因此U+0041是十六进制数0041，等于十进制65，对应字符“A”<sup>[13](https://www.unicode.org/standard/principles.html)</sup>。在CSS中，颜色写作十六进制字符串如#rrggbb，每对十六进制数字指定一个RGB通道的值，范围为00到FF，即0到255<sup>[14](https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Values/hex-color)</sup>。NIST的SHA-3标准等密码学规范将其测试值定义为前面带有标记0x的十六进制字符串，并规定了将每对十六进制数字转换为其在十六进制中所表示的字节（0到255的整数）的算法<sup>[15](https://nvlpubs.nist.gov/nistpubs/fips/nist.fips.202.pdf)</sup>。

十六进制胜过八进制——另一种二进制简写——的主导地位源于字长。

## 在度量与文化中

十六在习惯度量中通过常衡磅出现，一磅分为16盎司；希尔1845年的提议直接借鉴了约克郡16磅一石的做法，其反复二分与十六进制算术相呼应<sup>[9](https://link.springer.com/article/10.1007/s00283-022-10206-w)</sup>。在音乐中，十六分音符在常用拍中持续四分之一拍，而Fandom网站的数字条目将1/16记作在某一速度约定下持续四分之一秒的音符时值<sup>[3](https://math.fandom.com/wiki/16_%28number%29)</sup>。在几何学中，具有十六个四面体胞的四维正多胞体称为16胞体，在该分类中16被描述为第二个超立方体数<sup>[3](https://math.fandom.com/wiki/16_%28number%29)</sup>。

## References

1. [Number 16 – Curious Math Facts and Interesting Properties, Numbermatics](https://numbermatics.com/n/16/)
2. [Properties of the number 16, Number Empire](https://www.numberempire.com/16)
3. [16 (number), Math Wiki](https://math.fandom.com/wiki/16_%28number%29)
4. [A000290 – The squares, OEIS](https://oeis.org/A000290)
5. [16 – OeisWiki](https://oeis.org/wiki/16)
6. [The Hexadecimal and Octal Number Systems, PLCTalk textbook](https://www.plctalk.net/textbook/numbering-systems-and-data/the-hexadecimal-and-octal-number-systems/)
7. [Hexadecimal and Octal Bases – How Computers Work](https://academia.sh/en/courses/how-computers-work/hexadecimal-and-octal-bases)
8. [What is Hexadecimal Numbering? TechTarget](https://www.techtarget.com/whatis/definition/hexadecimal)
9. [Lloyd Strickland and Owain Daniel Jones (2022). F Things You (Probably) Didn't Know About Hexadecimal. The Mathematical Intelligencer 45, 126–130.](https://link.springer.com/article/10.1007/s00283-022-10206-w)
10. [Standards Eastern Automatic Computer, NIST](https://www.nist.gov/mathematics-statistics/standards-eastern-automatic-computer)
11. [IBM System/360 logical structure, Computer History Museum](https://tcm.computerhistory.org/ComputerTimeline/Chap43-44_ibm360_CS1_40-41CS2.pdf)
12. [Michael L. Overton. Numerical Computing with IEEE Floating Point Arithmetic, Chapter 4, SIAM.](https://epubs.siam.org/doi/abs/10.1137/1.9780898718072.ch4)
13. [Technical Introduction, Unicode Standard](https://www.unicode.org/standard/principles.html)
14. [<hex-color> CSS type, MDN Web Docs](https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Values/hex-color)
15. [FIPS 202: SHA-3 Standard, NIST](https://nvlpubs.nist.gov/nistpubs/fips/nist.fips.202.pdf)
16. [RFC 9226 – Bioctal: Hexadecimal 2.0, IETF](https://datatracker.ietf.org/doc/html/rfc9226)

---
*Initially written Sep 17, 2026 · Reviewed: Sep 30, 2026; Oct 15, 2026 · Edited: Sep 30, 2026; Oct 15, 2026 · Last review: Oct 15, 2026*

Topic: 物质世界与数学 › 数学与统计学 › 数与代数 › Arithmetic and number systems › Integer sequences and partitions › Special and named integers › Named individual integers

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/16-number

English original: https://www.edgepedia.org/16-number
