- 积分
- 133
- 注册时间
- 2006-1-10
- 仿真币
-
- 最后登录
- 1970-1-1
|
解题发挥 Euler Project 10 + 35 + 37 ---- 论数据库搜索的效率
Euler Project 10 + 35 + 37 ,为同样的问题!都是有关素数。
我整理了一下思路,同各位会员分享!有错误请指正或是更好的方法请补充。
Euler Project 10 ,十分简单,是基础。
Euler Project 35 + 37 类似问题,思路相同。
仅以 35 为例:
The number, 197, is called a circular prime because all rotations of the digits : 197, 971, and 719, are themselves prime.
There are thirteen such primes below 100 : 2, 3, 5, 7, 11, 13, 17, 31, 37, 71, 73, 79, and 97.
How many circular primes are there below one million?
详情见附件!
[ 本帖最后由 FreddyMusic 于 2008-12-18 15:41 编辑 ] |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?注册
×
|