| 查看: 328 | 回复: 1 | |||
tieer木虫 (正式写手)
|
[交流]
欧拉工程 第51题 已有1人参与
|
|
好久没看着接着发的了,我发一个吧。 翻译的比较烂,意思应该没错,呵呵,大家凑合看吧。这题的算法我还没想出来呢,期待高手吧。 Problem 51 By replacing the 1st digit of *3, it turns out that six of the nine possible values: 13, 23, 43, 53, 73, and 83, are all prime. By replacing the 3rd and 4th digits of 56**3 with the same digit, this 5-digit number is the first example having seven primes among the ten generated numbers, yielding the family: 56003, 56113, 56333, 56443, 56663, 56773, and 56993. Consequently 56003, being the first member of this family, is the smallest prime with this property. Find the smallest prime which, by replacing part of the number (not necessarily adjacent digits) with the same digit, is part of an eight prime value family. 欧拉工程51: 通过用数字取代*3格式数字中的第一个数,9个数中有6个是素数:13, 23, 43, 53, 73, 83。 通过用同一个数字取代56**3中的第三个和第四个数字,这是第一个在取代得到的十个数字中有7个数字是素数的五位数: 56003, 56113, 56333, 56443, 56663, 56773, 56993。因此56003是其中最小的符合该要求的素数。 寻找最小的用相同数字取代其中的部分后可以得到8个素数的素数,被取代数字不用是相邻的数字。 [ Last edited by tieer on 2012-9-10 at 10:36 ] |
» 猜你喜欢
一志愿厦门大学化学学硕307求调剂
已经有4人回复
材料学硕297已过四六级求调剂推荐
已经有13人回复
一志愿 西北大学 总分282 英语一62 求调剂
已经有6人回复
一志愿 西北大学 ,070300化学学硕,总分287,双非一本,求调剂。
已经有5人回复
0856求调剂
已经有9人回复
一志愿 南京邮电大学 288分 材料考研 求调剂
已经有3人回复
材料与化工304求B区调剂
已经有5人回复
一志愿北京化工大学材料与化工(085600)296求调剂
已经有5人回复
275求调剂
已经有7人回复
274求调剂
已经有19人回复
» 本主题相关价值贴推荐,对您同样有帮助:
Project Euler 50 欧拉工程 50 题
已经有12人回复
Project Euler 48 欧拉工程 48 题
已经有30人回复
Project Euler 45 欧拉工程 45 题
已经有7人回复
欧拉工程不继续了吗?
已经有4人回复
Euler 工程 第三十题
已经有12人回复
Euler 工程 第廿六题:最长的循环节
已经有9人回复
Euler 工程 第廿四题:全排列的第100万项
已经有19人回复
欧拉工程,第二十一题,计算10000以下亲和数的和。
已经有14人回复
Euler 工程 第十八题:三角阵上最大的和
已经有12人回复
Euler 工程第十六题:2的1000次方的各项和
已经有14人回复
Euler 工程 第十五题:从左上角到右下角有多少条路?
已经有5人回复
Euler Project Q13 欧拉工程第十三题
已经有20人回复
Euler Project Q12 欧拉工程第十二题
已经有23人回复
Euler 工程 第十一题:相邻元素乘积最大
已经有10人回复
Euler Project Q8. 欧拉工程第八题
已经有4人回复
Euler Project Q7. 欧拉工程第七题
已经有14人回复
Euler 工程 第六题:平方和与和的平方差多少?
已经有5人回复

wangww2011
木虫 (著名写手)
- 程序强帖: 13
- 应助: 11 (小学生)
- 金币: 4023.1
- 散金: 2709
- 红花: 18
- 沙发: 1
- 帖子: 1915
- 在线: 1537.1小时
- 虫号: 772953
- 注册: 2009-05-17
- 性别: GG
- 专业: 凝聚态物性 II :电子结构
2楼2012-09-11 01:51:54













回复此楼