# 42（数字）

**42**（四十二；罗马数字 XLII）是紧接41、先于43的自然数，是质数2、3、7的乘积，也是道格拉斯·亚当斯（Douglas Adams）的喜剧计算机“深思”（Deep Thought）在《银河系漫游指南》（*The Hitchhiker's Guide to the Galaxy*）中给出的“生命、宇宙以及一切的终极问题的答案”。<sup>[1](https://www.theguardian.com/books/2011/feb/03/douglas-adams-42-hitchhiker)</sup><sup> • </sup><sup>[2](https://www.numberempire.com/42)</sup> 仅凭这一个玩笑，42就成了流行文化中最广为人知的数字之一。<sup>[1](https://www.theguardian.com/books/2011/feb/03/douglas-adams-42-hitchhiker)</sup>

| 关键事实 | 详情 |
|---|---|
| 算术 | 42 = 2 × 3 × 7；因数为1、2、3、6、7、14、21、42（共8个）；因数之和为96；欧拉函数 φ(42) = 12<sup>[2](https://www.numberempire.com/42)</sup> |
| 表示法 | 二进制101010，八进制52，十六进制2A，罗马数字XLII<sup>[2](https://www.numberempire.com/42)</sup><sup> • </sup><sup>[3](https://science.slc.edu/~jmarshall/courses/2007/spring/hello-world/notes/week06/number_systems.html)</sup> |
| 组合数学 | 第5个卡塔兰数，C₅ = 42<sup>[2](https://www.numberempire.com/42)</sup><sup> • </sup><sup>[4](https://www.samuelfhopkins.com/classes/UMN/4707/catalan_worksheet.pdf)</sup> |
| 虚构作品中的角色 | 亚当斯《银河系漫游指南》中“深思”经750万年计算后宣布的答案<sup>[1](https://www.theguardian.com/books/2011/feb/03/douglas-adams-42-hitchhiker)</sup> |
| 首次播出 | BBC广播四台“第四回”，1978年3月29日，杰弗里·麦吉文（Geoffrey McGivern）为“深思”配音<sup>[5](https://quotle.info/who-said/the-answer-to-the-great-question-of-life-the-universe-and/)</sup> |
| 化学 | 钼（Mo）的原子序数，相对原子质量95.95<sup>[6](https://periodic-table.rsc.org/element/42/MolybdenumH)</sup> |
| 几何 | 方程1/p + 1/q + 1/r = 1/2的解中r的最大可能值，即(3, 7, 42)<sup>[7](https://math.ucr.edu/home/baez/42.html)</sup> |

## 在《银河系漫游指南》中的起源

故事中，一台名叫“深思”的巨型计算机花了整整750万年思考生命、宇宙以及一切，然后郑重宣布终极答案是“四十二”。<sup>[1](https://www.theguardian.com/books/2011/feb/03/douglas-adams-42-hitchhiker)</sup> 这个笑料最初是通过广播传到公众耳中的：“深思”在“第四回”中给出答案，该集于1978年3月29日在BBC广播四台播出，由杰弗里·麦吉文为这台计算机配音。<sup>[5](https://quotle.info/who-said/the-answer-to-the-great-question-of-life-the-universe-and/)</sup> 这部广播喜剧于1978年首播，用《卫报》（The Guardian）的话说，这个玩笑此后发展出了“一种与任何其他笑话——无论此前还是此后——都截然不同的生命”。<sup>[1](https://www.theguardian.com/books/2011/feb/03/douglas-adams-42-hitchhiker)</sup>

**亚当斯本人的解释。** 亚当斯多次表示这个选择是随意的。用他自己的话说：“那是个玩笑。它得是个数字，一个普通的、不大的数字，我就选了那个。我坐在桌前，望着花园，心想‘42就行’。就这么回事。”<sup>[8](https://www.sd43.bc.ca/school/riverside/ProgramsServices/ClubsActivities/Movie%20Club%20Documents/Classics%20of%20Comedy%20Review.pdf)</sup> 《卫报》指出，亚当斯本人就驳斥过好几个粉丝理论，包括说他是在向刘易斯·卡罗尔（Lewis Carroll）致敬、说他是在用十三进制开玩笑、或者说他是在隐晦地影射西藏传统上统治者的数目；同一篇文章还报道说，亚当斯从未透露过完整的故事——据他的朋友斯蒂芬·弗莱（Stephen Fry）说，他只告诉了弗莱，而弗莱声称他会把这个秘密带进坟墓。<sup>[1](https://www.theguardian.com/books/2011/feb/03/douglas-adams-42-hitchhiker)</sup>

## 文化中的后续生命

这个数字如今被当作该书读者之间的共同暗号。《卫报》形容，听到它就像听到“一句温和的、一锤定音的‘道格拉斯·亚当斯’”——每当42偶然出现，无论是座位号、餐厅桌号还是作业答案，人们就会这么说；粉丝们贴出自己最爱的42清单，拍下“42”的照片，还办42岁生日派对（平克·弗洛伊德（Pink Floyd）就曾在亚当斯的42岁生日派对上与他同台演出）。<sup>[1](https://www.theguardian.com/books/2011/feb/03/douglas-adams-42-hitchhiker)</sup> 著名的真实与虚构实例包括：古腾堡42行圣经、美国国歌中那面42英尺长的星条旗、皮克斯（Pixar）《海底总动员》（*Finding Nemo*）中潜水镜上的地址“袋鼠路42号”，以及伊恩·弗莱明（Ian Fleming）把邦德反派奥里克·金手指（Auric Goldfinger）的年龄定为42岁。<sup>[1](https://www.theguardian.com/books/2011/feb/03/douglas-adams-42-hitchhiker)</sup> 谷歌（Google）总部和欧洲核子研究中心（CERN）的大型强子对撞机都有以这个数字命名的办公建筑群。<sup>[1](https://www.theguardian.com/books/2011/feb/03/douglas-adams-42-hitchhiker)</sup>

这个玩笑还影响了一些技术专家谈论人工智能的方式。埃隆·马斯克（Elon Musk）告诉他的传记作者阿什莉·万斯（Ashlee Vance），《银河系漫游指南》是对他影响最大的一本书，因为“它教会[他]，难的是弄清楚该问什么问题”，他指的是“深思”给出42并坚持必须找到问题本身的那一段。<sup>[9](https://www.lemonde.fr/en/summer-reads/article/2025/08/04/the-sci-fi-classic-that-shaped-elon-musk-s-worldview_6744061_183.html)</sup>

## 数学性质

作为一个整数，42是合数，质因数分解为2 × 3 × 7，有八个因数，因数和为96，欧拉函数 φ(42) = 12；它是普洛尼克数，即6 × 7，也是第5个卡塔兰数。<sup>[2](https://www.numberempire.com/42)</sup> 由于它是三个不同质数的乘积，它是楔形数，同时也是第三个初等伪完全数，以及西尔维斯特数列（Sylvester's sequence）前三项的乘积。<sup>[10](https://planetmath.org/fortytwo)</sup> 在进位制表示中，它的二进制是101010，八进制是52，十六进制是2A。<sup>[2](https://www.numberempire.com/42)</sup><sup> • </sup><sup>[3](https://science.slc.edu/~jmarshall/courses/2007/spring/hello-world/notes/week06/number_systems.html)</sup>

**埃及分数与几何。** 加州大学河滨分校的数学物理学家约翰·贝兹（John Baez）强调了两个极值性质。在正整数 p ≤ q ≤ r 满足 1/p + 1/q + 1/r = 1/2 的所有解中，r 的最大可能值是42，来自解(3, 7, 42)，对应着一个等边三角形、一个正七边形和一个正四十二边形在一个点处严丝合缝地相接。<sup>[7](https://math.ucr.edu/home/baez/42.html)</sup> 等价地说，和 1/2 + 1/3 + 1/7 是 1/a + 1/b + 1/c 保持在1以下的最大值，恰好差 1/42。<sup>[7](https://math.ucr.edu/home/baez/42.html)</sup> 这在几何中很重要：用内角为 π/2、π/3 和 π/7 的三角形铺砌双曲平面，得到亏格 g ≥ 2、具有最大数目共形变换 84(g − 1) 的黎曼曲面，这个上界被称为胡尔维茨自同构定理（Hurwitz's automorphism theorem）；84是42的两倍，因为 1 − 1/2 − 1/3 − 1/7 = 1/42。<sup>[7](https://math.ucr.edu/home/baez/42.html)</sup> 第一个达到这个最大值的曲面是克莱因四次曲线（Klein's quartic curve），它有三个洞、168个对称，费利克斯·克莱因（Felix Klein）从1878年开始研究它。<sup>[7](https://math.ucr.edu/home/baez/42.html)</sup>

## 科学中的42

在化学中，42是钼的原子序数。钼是一种银色金属，位于元素周期表第六族，介于铬和钨之间，相对原子质量为95.95。<sup>[6](https://periodic-table.rsc.org/element/42/MolybdenumH)</sup> 英国皇家化学学会（Royal Society of Chemistry）关于该元素的播客一开头就指出了这个巧合：“终极问题的答案……正如每个道格拉斯·亚当斯粉丝所知，是42。而42，正如每个门捷列夫（Mendeleev）粉丝所知，是钼的原子序数。”<sup>[6](https://periodic-table.rsc.org/element/42/MolybdenumH)</sup>

物理学家保罗·戴维斯（Paul Davies）在澳大利亚广播公司（Australian Broadcasting Corporation）的《科学秀》（Science Show）节目中讲述，他曾见过亚当斯，并寻找过更深层的含义，他饶有兴味地指出，按 a = 1、b = 2、c = 3 这样的简单编码，“大爆炸”（the Big Bang）的值算出来正好是42；他的结论是，没有人真正知道亚当斯到底想表达什么。<sup>[11](https://www.abc.net.au/listen/programs/scienceshow/42%21/8843302)</sup>

## References

1. [Douglas Adams and the cult of 42, The Guardian (3 February 2011)](https://www.theguardian.com/books/2011/feb/03/douglas-adams-42-hitchhiker)
2. [Properties of the number 42, Number Empire](https://www.numberempire.com/42)
3. [Number Systems, course notes, Sarah Lawrence College](https://science.slc.edu/~jmarshall/courses/2007/spring/hello-world/notes/week06/number_systems.html)
4. [Catalan numbers worksheet, Math 4707, University of Minnesota (Samuel F. Hopkins)](https://www.samuelfhopkins.com/classes/UMN/4707/catalan_worksheet.pdf)
5. [Who really said "The Answer to the Great Question of Life, the Universe and Everything is Forty-two"?, Quotle.info](https://quotle.info/who-said/the-answer-to-the-great-question-of-life-the-universe-and/)
6. [Molybdenum, element 42, Royal Society of Chemistry periodic table](https://periodic-table.rsc.org/element/42/MolybdenumH)
7. [John Baez (2015). 42. University of California, Riverside.](https://math.ucr.edu/home/baez/42.html)
8. [Douglas Adams on 42, quoted in a Riverside school district comedy review document](https://www.sd43.bc.ca/school/riverside/ProgramsServices/ClubsActivities/Movie%20Club%20Documents/Classics%20of%20Comedy%20Review.pdf)
9. [The sci-fi classic that shaped Elon Musk's worldview, Le Monde (4 August 2025)](https://www.lemonde.fr/en/summer-reads/article/2025/08/04/the-sci-fi-classic-that-shaped-elon-musk-s-worldview_6744061_183.html)
10. [forty-two, PlanetMath](https://planetmath.org/fortytwo)
11. [42!, The Science Show, ABC Radio National](https://www.abc.net.au/listen/programs/scienceshow/42%21/8843302)

---
*Initially written Sep 17, 2026 · Reviewed: Oct 15, 2026 · Edited: 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/42-number

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