Webster defines prime as:
prime (prim) n. [ME, fr. MF, fem. of prin first, L primus; akin to L prior] 1: first in
time: original 2 a: having no factor except itself and one ⟨3 is a number⟩ b : having
no common factor except one ⟨12 and 25 are relatively ⟩ 3 a: first in rank, authority or
significance: principal b: having the highest quality or value ⟨ television time ⟩ [from
Webster’s New Collegiate Dictionary]
The most relevant definition for this problem is 2a: An integer g > 1 is said to be prime if and only
if its only positive divisors are itself and one (otherwise it is said to be composite). For example, the
number 21 is composite; the number 23 is prime. Note that the decompositon of a positive number g
into its prime factors, i.e.,
g = f1 f2 fn
is unique if we assert that fi > 1 for all i and fi fj for i < j.
One interesting class of prime numbers are the so-called Mersenne primes which are of the form
2p

最新文章

  1. substr()函数
  2. go语言学习笔记
  3. Canvas 知识体系简单总结
  4. Android 颜色渲染PorterDuff及Xfermode详解
  5. poj 2378 (dijkstra)
  6. 解决 iOS7 通过tag 找不到 UITableViewCell 的子控件
  7. jQuery1.9 $.browser 的替代方法
  8. 【C#学习笔记】函数重载
  9. C - Minimum Inversion Number
  10. iframe和response.sendRedirect使用的问题
  11. web开发中各种宽高
  12. MySQL优化之推荐使用规范
  13. 基于贝叶斯算法实现简单的分类(java)
  14. ZedBoard前期准备工作
  15. 自动化测试-12.selenium的弹出框处理
  16. java 解析txt/html文件
  17. python2.7.13环境搭建
  18. maven学习--基础篇
  19. Vijos / 题库 / 输油管道问题
  20. bitnami-redmine Apache服务启动不起来

热门文章

  1. 6 、 图论—NP 搜索
  2. 腾讯WeTest携手拉夏贝尔共筑电商小程序安全壁垒
  3. 英语Lignaloes沉香木LIGNALOES单词
  4. afnet缓存
  5. Windows 10 Java开发环境配置
  6. Rust自定义智能指针
  7. LOJ 3184: 「CEOI2018」斐波那契表示法
  8. 为什么tcp的TIME_WAIT状态要维持2MSL
  9. C++使用OpenCV保存和读取XML
  10. NOIP 2012 Vigen&#232;re 密码