Number Theory 4.3 prime examples

Source: Internet
Author: User

There are infinite prime numbers. Euclidean recursion proves:

Pn = P1P2... Pn-1 + 1, when n ≥ 1

The n-1-1 prime number can not be divided into Pn, because each can be divided into Pn-1.

For example, the number of 2p-1 (P is a prime number) is called Mersenne numbers.

If this number is also a prime number, it is called the prime number of Mason.

If n is a union, 2n-1 cannot be a prime number.

Proof: 2 km-1 = (2 m-1) (2 m (k-1) + 2 m (K-2) +... + 1)

But when P is a prime number, 2 P-1 is not always a prime number.

For example, the minimum non-merceon number is 211-1 = 2047 = 23*89.

Http://acm.zju.edu.cn/show_problem.php? PID = 1, 2400

 

There is an approximate formula, the K prime number PK ≈ K lnk

This means that when K → ∞, PK/K lnk → 1

Similarly, π (x) can be introduced to indicate the number of prime numbers not greater than X, π (x) ≈ x/lnx

When N or X tends to be infinite, more precise estimation functions are available.

Finally, I talked about the eratoshenes screening method. This is too simple and I don't want to worry about it ~

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.