已知最大质数(截至2024年10月)为2136,279,841 − 1,十进制时有41,024,320位数,由互联网梅森素数大搜索(GIMPS)的志愿者卢克 · 杜兰特(Luke Durant)于2024年发现。
不少大质数为梅森素数,定义为2的幂减去1的正整数。近来最大质数纪录皆为梅森素数。所有梅森素数的二进制表示中,所有数字皆为1。
转:已知最大质数
版主: verdelite, TheMatrix
#2 Re: 转:已知最大质数
用到的Lucas-Lehmer test
Let q
be an odd prime.
Let ⟨Ln⟩n∈N
be the recursive sequence in Z/(2q−1)Z
defined by:
L0=4,Ln+1=L2n−2(mod2q−1)
Then 2q−1
is prime if and only if Lq−2=0(mod2q−1).
Let q
be an odd prime.
Let ⟨Ln⟩n∈N
be the recursive sequence in Z/(2q−1)Z
defined by:
L0=4,Ln+1=L2n−2(mod2q−1)
Then 2q−1
is prime if and only if Lq−2=0(mod2q−1).
-
- 论坛支柱
2024年度优秀版主
TheMatrix 的博客 - 帖子互动: 277
- 帖子: 13638
- 注册时间: 2022年 7月 26日 00:35
#3 Re: 转:已知最大质数
嗯。有意思。(ヅ) 写了: 2024年 10月 26日 23:55 用到的Lucas-Lehmer test
Let q
be an odd prime.
Let ⟨Ln⟩n∈N
be the recursive sequence in Z/(2q−1)Z
defined by:
L0=4,Ln+1=L2n−2(mod2q−1)
Then 2q−1
is prime if and only if Lq−2=0(mod2q−1).
查了一下,你这里有几个指数没写出来。
ChatGPT给的比较清楚。


wiki link:
https://en.wikipedia.org/wiki/Lucas%E2% ... ality_test