游客:
新账户
|
登录
|
会员
|
统计
|
帮助
|
繁体
|
English
中国分布式计算论坛
»
GIMPS (Prime95)
» [GIMPS]Stage 1 GCD 是个什么过程?
‹‹ 上一主题
|
下一主题 ››
投票
交易
悬赏
活动
打印
|
推荐
|
订阅
|
收藏
标题: [GIMPS]Stage 1 GCD 是个什么过程?
碧城仙
管理员
UID 403
精华
54
积分 8773
帖子 8087
阅读权限 102
注册 2004-1-24
来自 华东理工大学
#1
发表于 2006-2-17 22:08
资料
主页
短消息
加为好友
[GIMPS]Stage 1 GCD 是个什么过程?
恕本人见识短浅,GCD 过程从来没看到过,Google 上倒是搜索到不少,要么是求助的,要是是说些不相干的东西的。
看下面的界面提示:
Starting stage 1 GCD - please be patient.
Stage 1 GCD complete. Time:264.521 sec.
帖图如下,从图片倒数第 6 行开始。
快是快乐的一半,快乐才是计算的全部。
癌症研究相关项目:Folding@home、Rosetta@home、Help Conquer Cancer(WCG)、Cels@Home
[广告]
Einstein@Home 官方优化程序,推荐使用!
fwjmath
超级版主
Strasbourg~~~
UID 5458
精华
7
积分 2549
帖子 2236
阅读权限 101
注册 2005-5-22
来自 广东佛山
#2
发表于 2006-2-18 19:31
资料
主页
短消息
加为好友
Stage1是Pollard p-1方法
这是一种概率型的素性检验方法
METHOD
Choose a number, N, you wish to factor
Choose a number, 1 < a < N, say a = 2
Choose a number, k, say k = 2
If gcd(a, N) is not 1, you have a factor. Otherwise...
Let t = a^k mod N
Let d = GCD( t-1, N )
Use division algorithm to see if d is a factor of N
YES? - You found a factor, you are done
NO? - Then...
Change a and/or k and go back to step 4
看看中间出现了gcd~~~
就是求最大公约数啦~~~
liqi
论坛知事
UID 552
精华
1
积分 271
帖子 85
阅读权限 10
注册 2004-2-14
#3
发表于 2006-2-24 14:58
资料
短消息
加为好友
楼主请看帮助文件:
P-1 Factoring
The P-1 method is quite simple. First, pick a bound B1. P-1 will find the factor q as long as all factors of k are less than B1 (k is called B1-smooth). Second, compute E - the product of all primes less than B1. Third, compute x = 3E*2*P. Finally, check the GCD (x-1, 2P-1) to see if a factor was found.
这是程序默认的执行步骤.
并且可以手动关闭跳过此步骤:
You can skip the GCD in stage 1 of P-1 factoring with this prime.ini setting:
Stage1GCD=0
碧城仙
管理员
UID 403
精华
54
积分 8773
帖子 8087
阅读权限 102
注册 2004-1-24
来自 华东理工大学
#4
发表于 2006-2-25 22:57
资料
主页
短消息
加为好友
呵呵,后来我又经历了 stage 1 GCD 阶段,现在进入 LL 阶段了。
快是快乐的一半,快乐才是计算的全部。
癌症研究相关项目:Folding@home、Rosetta@home、Help Conquer Cancer(WCG)、Cels@Home
投票
交易
悬赏
活动
控制面板首页
编辑个人资料
积分交易
公众用户组
好友列表
当前时区 GMT+8, 现在时间是 2008-7-6 14:34
沪ICP备05042587号
Powered by
Discuz!
5.5.0
© 2001-2007 Comsenz Inc.
TOP
清除 Cookies
-
联系我们
-
中国分布式计算总站
-
Archiver
-
WAP