期刊文献+

素数筛选法的实现及优化

Implementation and Optimization of Prime Sieve Method
下载PDF
导出
摘要 根据素数筛选法的思想设计了一种算法,并对该算法进行了优化.对得到的算法进行了时间复杂度分析,并从平均运行时间和主要代码执行次数两个指标对算法进行度量.测试结果表明,优化后的算法具有较高的执行效率. An algorithm is designed according to the idea of prime sieve method,and it is optimized. The time complexity of the algorithm is analyzed,and the algorithm is measured by two indexes: the average running time and the main code execution times. The test results show that the optimized algorithm has high execution efficiency.
出处 《河南教育学院学报(自然科学版)》 2017年第1期39-41,共3页 Journal of Henan Institute of Education(Natural Science Edition)
基金 河南省高等学校重点科研项目计划(16A520008)
关键词 素数 筛选法 优化 时间复杂度 执行效率 prime number sieve method optimization time complexity execution efficiency
  • 相关文献

参考文献2

二级参考文献13

  • 1杜瑞庆,夏方林.埃拉托斯特尼筛法及改进(C++语言)[J].中国科技信息,2006(18):152-153. 被引量:1
  • 2Tan S Y.Perfect,amicable,and sociable numbers[EB/OL].http://djm.cc/amicable.html.
  • 3Gary L Miller.Riemann's hypothesis and tests for primality[EB/OL].http://www.springerlink.com/content/f861 nldp66b 759wg/.
  • 4Michael O Rabin.Probabilistic algorithm for testing primality[EB/OL].http://inst.eecs.berkeley.edu/~cs174/sp05/primes.ps.
  • 5Solovay R,Strassen V.A fast monte-carlo test for primality[EB/OL].http://www.cs.auckland.ac.nz/CDMTCS/chaitin/cpam.pdf.
  • 6Manindra Agrawal,Neeraj Kayal,Nitin Saxena.PRIMES is in P[EB/OL].http://www.cse.iitk.ac.in/news/primality.ps.
  • 7Cohen H.A course in computational algebraic number theory[M].Berlin:Springer-Verlag,2000:445 -467.
  • 8Bhatt G K Patra.Analysis on implementation and its further improvements of AKS class Algoriths[EB/OL].http://www.cmmacs.ernet.in/cmmacs/Publications/resch_rep/rrcm0307.pdf/.
  • 9TongJin.Researching and implementing on AKS algorithm[EB/OL].http://www.cs.bath.ac.uk/~amb/CM30076/proj ects.bho/2004-5/TongJin-2004-5.pdf.
  • 10尚德庆,王际昭.Dirichlet定理衍生的素数筛法[J].新乡学院学报,1997,18(2):47-49. 被引量:1

共引文献3

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部