文件名称:findsushu
介绍说明--下载内容均来自于网络,请自行研究使用
用筛选法可得到2~10000之间的所有素数,找出此序列中最长的等差序列(连续的和不连续的两种)。例如:3,5,7 为一连续等差序列,长度为3,公差为2;而7,13,19 为一不连续等差序列,长度为3,公差为6。-2 with the screening method available for all prime numbers between 10000 to find out the sequence of the longest arithmetic sequence (continuous and discontinuous two). For example: 3,5,7 for a continuous arithmetic sequence of length 3 with a tolerance of 2 and 7,13,19 for a discrete arithmetic sequence of length 3, tolerance is 6.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
findsushu.cpp
readme.txt
readme.txt