打开/关闭菜单
打开/关闭外观设置菜单
打开/关闭个人菜单
未登录
未登录用户的IP地址会在进行任意编辑后公开展示。

葛立恒数

来自Googology Wiki

葛立恒数(Graham's Number)是拉姆齐理论中一个问题(即葛立恒问题)的上界。它也是大数领域中最著名的数之一,与 TREE(3)、SCG(3) 齐名。

定义

葛立恒函数

葛立恒函数(Graham's Function)是用高德纳箭头递归定义的:

G(n)={3G(n1)3,n04,n=0

葛立恒函数的 FGH 增长率约为ω+1

葛立恒数

葛立恒数被定义为 G(64)(有时也被写作 G,g64,g(64) 等)。

G(64)=33333333}64 layers

葛立恒问题

葛立恒数源于拉姆齐理论中以下未解决的问题:[1]

考虑一个n维的超立方体(1 维为线段,2 维为正方形,3 维为立方体,4 维为超立方体等),

在连结所有顶点后,将形成一个2n个顶点的完全图。将这个图的每条边填上红色或蓝色,求使得所有填法中都必定存在一个在同一平面上有四个顶点的单色完全子图(由四个两两相连的顶点构成,且所有边颜色相同)的n的最小值N*

图中展示了一个立方体的示例,包含 12 个共面的 K₄ 完全图,其中下方显示了一个单色 K₄。若将该 K₄ 底部的边改为蓝色,则立方体中将不存在单色的共面 K₄,从而证明 N* 至少为 4。

1971 年,R.L.Graham 和 B.L.Rothschild 在他们的论文[2]中证明了NN*N

其中N=6N=F(F(F(F(F(F(F(12,3),3),3),3),3),3),3)

F 函数的定义为: F(m,n)={2n,m=14,n=2F(m1,F(m,n1)),m2 and n3

它等价于 F7(12) ,其中 F(n)=2n3

Sbiis Saibian 称这个数字为 “Little Graham”。

目前,该问题有可靠来源的最新下界为13,最新上界为

(25138)×((25140)(2×25137))25

历史

葛立恒数的由来

从目前的证据来看,葛立恒数的作者并非葛立恒。

1976 年,Donald E.Knuth 在他的论文[3]中定义了现在所使用的高德纳箭头。

1977 年,M.Gardner 在他的文章[4]中定义了现在的葛立恒数。Gardner 在发现这个数字的大小时,发现很难解释,于是他设计了一个更大、更容易解释的数字。他在 Scientific Amercian 上写了关于这个数字的文章,后来在 1980 年作为数学证明中使用的最大数字进入吉尼斯世界纪录,尽管几年后该记录已被删除。一说是 Gardner 在与 Graham 交流后,Graham 给他提供的这个较为宽松的上界,但无从考证,Gardner 的原文章里也没有提及此事。

1995 年,John.H.Conway, Richard.K.Guy 在 The Book of Numbers 一书[5]中给出了葛立恒数,这被许多人认为是它的来源。

葛立恒问题的进展

2003 年,Exoo [6][7]证明了 N*11

2008 年,Jerome Barkley [8]证明了 N*13

2013 年,Mikhail Lavrov, Mitchell Lee, John Mackey [9]通过使用 Hales-Jewett 定理将上限进一步降低到 N*=22(3+28)

2019 年,Eryk Lipka [10]将上限进一步降低到 (25138)×((25140)(2×25137))25

比较

[11]由于 G(0) 是 4 而不是 3,因此葛立恒数不能用链式箭头表示法BEAF 精确表示。

Tim Chow 证明[12]了葛立恒数比 Moser 数大得多。他于 1998 年 7 月 7 日将证明[13]发送给 Susan Stepney。巧合的是,几天后 Todd Cesere 向 Stepney 发送了类似的证明。

2021年,Daniel Nagaj 声称他的 16 态图灵机实现了多展开并超过了葛立恒数[14],这意味着 BB(16)>G(64)。这一结论后来被 S. Ligocki 证明[15]

在其他记号中的近似

  • 33642链式箭头表示法
  • {3,65,1,2}(BEAF)
  • [3,3,4,64](Graham Array Notation,精确值)
  • E[3]3##4#64(Hyper-E Notation)
  • s(3,64,2,2)(SAN)
  • 64[&1](Ampersand Notation)
  • fω+1(64)FGH
  • Hωω+1(64)Hωω64(4)HH
  • gΓ0(65)SGH

葛立恒数的最后 n 位

可通过简单的模幂算法轻松计算葛立恒数的最后位数。以下是一个获取较小 x 值对应葛立恒数末 x 位数 N(x) 的简易算法:

N(x)={3,x=03N(x1)(mod10x),x0

然而,若将该公式应用于极大的x值则不成立——尽管该错误公式曾被认为正确,并在 2019 年 12 月前于英语 googology 社区流传。可通过以下思路修正错误:葛立恒数 G(64) 实质是以 3 为底、以极大值 b 为超指数的整数迭代幂次(即 G(64)=b3 )。

2020年,Marco Ripà 证明[16][17]了在十进制下,当且仅当超指数为 1 时 3 的 congruence speed(同余速度)为 0,否则恒为 1。因此,对所有 c=1,2,,b2,b1, G(64) 的末 b-1 位数与 c3 相同。但此性质不适用于 G(64) 的第 b 位数——该数字与 b+13,b+23,b+33, 的第 b 位数均不相等。由 b1=slog3(G64)1(其中 slog 表示超对数)可得 G63b1G64。故最终可证[18]:对所有正整数 c ,满足:

G64slog3(G64)+c3(mod10slog3(G64)1)G64≢slog3(G64)+c3(mod10slog3(G64))

实际上,该方法会返回映射 x3x 在 10 进制整数中的不动点的最后位数。因此上述“错误算法”仅能计算葛立恒数的末 b-1 位。由于 b 值极大(在此尺度下几乎与葛立恒数本身相当),该算法对所有实际应用的 x 值均有效——这可能是其曾被推广至任意正整数 x 的原因。

葛立恒数的最后 1000 位数字如下:

... 69789 01699 96590 70368 75647 69571 41995 17294 68405 82682
71081 20793 88857 60678 08905 76605 97351 28204 06609 18730
71084 83992 11311 79579 18089 16067 30297 76868 73493 26380
38255 18970 12211 05348 18861 41584 87485 19200 98526 10652
52039 48232 20737 11493 41083 91687 37854 40379 86033 68448
47205 27292 48390 75786 66178 05529 41415 71193 66603 08189
28819 36678 77414 82317 80172 81269 34985 73578 32709 50758
57659 19749 47039 19315 29675 96669 23404 88030 23624 47049
10353 17809 08226 11674 69507 74641 91287 72824 43305 83239
50925 25499 35509 25261 68572 45956 57413 17934 41675 01485
02425 95069 50647 38395 65747 91365 19351 79833 45353 62521
43003 54012 60267 71622 67216 04198 10652 26316 93551 88780
38814 48314 06525 26168 78509 55526 46051 07117 20009 97092
91249 54437 88874 96062 88291 17250 63001 30362 29349 16080
25459 46149 45788 71427 83235 08292 42102 09182 58967 53560
43086 99380 16892 49889 26809 95101 69055 91995 11950 27887
17830 83701 83402 36474 54888 22221 61573 22801 01329 74509
27344 59450 43433 00901 09692 80253 52751 83328 98844 61508
94042 48265 01819 38515 62535 79639 96189 93967 90549 66380
03222 34872 39670 18485 18643 90591 04575 62726 24641 95387.
前 n 位数字

当前学术界尚无法计算葛立恒数在十进制下的首位数字(且很可能永远无法实现),但可确定:

  • 二进制下首位必为 1(因所有非零正整数均满足此性质)
  • 三进制下首位必为 1(因其是 3 的幂)
  • 九进制下首位必为 3(因其是 3 的奇数次幂)

除非进制本身是 3 的幂(如 27 进制),或与葛立恒数可比(如葛立恒数减 64),否则无法计算其在其他进制下的首位数字。

不过,仍然可以进行概率估计[19]:葛立恒数以d为开头的概率为

Pd=log10(d+1)log10(d)=log10(1+1d)

如以 123 为开头的概率就是 P123=log10(1+1123)0.0035

参考资料

  1. Weisstein, Eric W. "Graham's Number." From MathWorld--A Wolfram Resource. https://mathworld.wolfram.com/GrahamsNumber.html
  2. Graham, R. L. & Rothschild, B. L. (1971). Ramsey’s theorem for $n$-parameter sets[J]. Transactions of the American Mathematical Society, 159: 257-292. https://www.ams.org/journals/tran/1971-159-00/S0002-9947-1971-0284352-8/S0002-9947-1971-0284352-8.pdf
  3. Knuth, D. E. (1976). Mathematics and Computer Science: Coping with Finiteness, Advances in Our Ability to Compute are Bringing Us Substantially Closer to Ultimate Limitations. Science, 194, pp. 1235--1242. https://cse-robotics.engr.tamu.edu/dshell/cs625/finiteness.pdf
  4. Gardner, M. (1977). Mathematical games[J]. Scientific American, 237(3): 28-38. https://raw.githubusercontent.com/AllenDowney/ModSimPy/master/papers/scientific_american_nov_77.pdf
  5. Conway, J. H., & Guy, R. K. (1995). The Book of Numbers. Copernicus. https://studylib.net/doc/26253636/the-book-of-numbers
  6. Exoo, G. (2003). A Euclidean Ramsey Problem. Discrete Comput Geom, 29, 223–227. https://doi.org/10.1007/s00454-002-0780-5
  7. Exoo, G. A Ramsay Problem on Hypercubes. (EB/OL). http://isu.indstate.edu/ge/GEOMETRY/cubes.html
  8. Barkley, G. (2008). Improved lower bound on an Euclidean Ramsey problem. arXiv:0811.1055 [math.CO]. http://arxiv.org/abs/0811.1055
  9. Lavrov, M., & Lee, M., & Mackey, J. (2013). Graham's Number is Less Than 2^^^6. arXiv:1304.6910 [math.CO]. http://arxiv.org/abs/1304.6910
  10. Lipka, E. (2019). Further improving of upper bound on a geometric Ramsey problem. arXiv:1905.05617 [math.CO]. http://arxiv.org/abs/1905.05617
  11. Googology Wiki. Graham's Number. (EB/OL). https://googology.fandom.com/wiki/Graham%27s_number
  12. Tim Chow. Proof that G >> M. (EB/OL). https://www-users.cs.york.ac.uk/susan/cyc/b/gmproof.htm
  13. Stepney, S. Moser's polygon notation. (EB/OL). https://www-users.york.ac.uk/~ss44/cyc/b/big.htm#moser
  14. Daniel Nagaj (2021). Multiexpandal growth Turing machine with 16 states. (EB/OL). https://morphett.info/turing/turing.html
  15. S.Ligochi (2022). BB(16) > Graham's Number. (EB/OL). https://www.sligocki.com/2022/07/11/bb-16-graham.html
  16. Ripà, M. (2020). On the constant congruence speed of tetration. (EB/OL), Notes on Number Theory and Discrete Mathematics, 26 (3), 245-260. https://nntdm.net/volume-26-2020/number-3/245-260/
  17. Ripà, M., & Onnis, L. (2022). Number of stable digits of any integer tetration. (EB/OL), Notes on Number Theory and Discrete Mathematics, 28(3), 441-457. https://nntdm.net/volume-28-2022/number-3/441-457/
  18. Ripà, M. (2024). Graham's number stable digits: an exact solution. arXiv:2411.00015 [math.GM]. https://arxiv.org/abs/2411.00015
  19. Pippi shrimp - 9527 (2025). Who knows the first and last digits of the Graham's number?. (EB/OL), Zhihu. https://www.zhihu.com/question/1912212423273841746/answer/1912287623952725543