Chuyển tới nội dung
Number Buffet

Số nguyên tố

Những số không có ước nào ngoài chính nó và một — liệt kê theo thứ tự từ bất cứ đâu bạn muốn, bằng sàng theo đoạn.

OEIS A000040 · Đọc 3 phút

Thiết lập

Thiết lập nhanh

Primes are listed in ascending order.

The first prime listed is the smallest one at or above this number.

Dirichlet proved that each of these progressions contains infinitely many primes.

Group large primes as 1,299,709 for readability.

Tinh chỉnh dáng vẻ

Hãy chọn một thiết lập cạnh ảnh trước — các điều khiển này điều chỉnh nó.

Frame

A border drawn inside the edge of the image.

Nâng cao

Kết quả

25 giá trị

2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97

25 primes, from 2 to 97.


Tạo ảnh

Hãy bật JavaScript để tạo kiểu cho những số này và tải về dưới dạng ảnh. Bản thân các giá trị đã được liệt kê ở trên.

Text on the image

Drag a line straight onto the picture to place it — once placed, it stays exactly where you put it. Everything here is drawn into the download.

Bài viết nền bên dưới chưa được dịch và đang hiển thị bằng tiếng Anh.

Về số nguyên tố

The earliest surviving study of primes is Greek. Euclid's Elements, compiled around 300 BCE, proves in Book IX, Proposition 20 that no finite list of primes can be complete: multiply the listed primes together, add one, and whatever divides the result is a prime that was not on the list. The same book proves the fundamental theorem of arithmetic and shows how to build a perfect number out of a prime of the form 2^p − 1. Greek writers called them prōtos arithmòs, the "first" numbers. The Rhind Mathematical Papyrus of about 1550 BCE does expand fractions with prime and with composite denominators, and that is sometimes offered as evidence that Egyptian scribes recognised the distinction — the papyrus never says so, and the reading is inference rather than record.

Even the sieve named after Eratosthenes reaches us at second hand. The earliest surviving description is in Nicomachus of Gerasa's Introduction to Arithmetic, written early in the second century CE, which credits Eratosthenes of Cyrene — and then describes sieving by odd numbers rather than by primes.

Progress afterwards came in bursts. Around 1000 CE Ibn al-Haytham stated the result now known as Wilson's theorem. Fibonacci's Liber Abaci of 1202 was the first book to set out trial division, including the labour-saving point that you may stop at the square root. Fermat stated his little theorem in 1640, and Marin Mersenne catalogued primes of the form 2^p − 1. In 1737 Euler proved that the sum of the reciprocals of the primes diverges, which pulled analysis into what had been pure arithmetic. Legendre and Gauss each conjectured, around 1800, that the number of primes below x approaches x/ln x; Riemann's 1859 paper on the zeta function sketched a route to a proof, and Hadamard and de la Vallée Poussin completed it independently in 1896.

Membership shifted too. Some Greek writers treated primes as a subdivision of the odd numbers and so did not count 2, and Christian Goldbach was still listing 1 as prime in his letters to Euler in the mid-eighteenth century. Euler disagreed, and the modern convention follows him.

Tính chất chính

  • 2 is the only even prime. Every prime above 3 is one less or one more than a multiple of 6, because the other four residues mod 6 are divisible by 2 or by 3.
  • There are infinitely many primes — Euclid, Elements, Book IX, Proposition 20.
  • Every integer above 1 is a product of primes in exactly one way apart from their order: the fundamental theorem of arithmetic.
  • 1 is not prime by modern convention, because admitting it would destroy the uniqueness of that factorisation.
  • There are 25 primes below 100, 168 below 1,000, 1,229 below 10,000, 78,498 below one million and 50,847,534 below one billion.
  • The prime number theorem — proved in 1896 by Hadamard and de la Vallée Poussin — says the count of primes up to x is asymptotic to x/ln x.
  • The sum of the reciprocals of the primes diverges (Euler, 1737), even though the primes have density zero among the integers.
  • Bertrand's postulate, proved by Chebyshev in 1852, guarantees at least one prime strictly between n and 2n for every n greater than 1.

Xuất hiện ở đâu

  • RSA and Diffie–Hellman key generation both pick large primes; RSA's security rests on the difficulty of recovering two primes from the product nobody minds publishing.
  • Hash tables and checksum schemes commonly use a prime modulus, since a modulus sharing a factor with the stride of the input collapses distinct keys into the same bucket.
  • Finite fields — whose sizes are always a prime or a prime power — underpin error-correcting codes, including the Reed–Solomon codes used on compact discs and in QR codes.
  • The 13-year and 17-year life cycles of the Magicicada periodical cicadas are prime. That this evolved to frustrate predators with shorter cycles is a long-standing hypothesis, not a settled result.
  • On 12 October 2024 the Great Internet Mersenne Prime Search found 2^136,279,841 − 1, a prime of 41,024,320 digits, on a cloud machine volunteered by Luke Durant of San Jose. It was still the largest prime known in September 2026.

Cách dùng bộ tạo này

Các giá trị được tạo hiện ở trên cùng, bên cạnh là nút sao chép. Để biến chúng thành ảnh, hãy chọn một dáng vẻ trong các kiểu ở phần Tạo ảnh, chọn kích thước xuất rồi tải về dưới dạng PNG, JPEG hoặc WebP. Mọi thứ được vẽ trong trình duyệt, nên không có gì bạn tạo ra được gửi tới máy chủ.

Thanh địa chỉ cập nhật theo lúc bạn làm, nên liên kết luôn cho lại đúng những gì bạn đang thấy — tiện khi muốn chia sẻ một dãy cụ thể hay giữ lại một cấu hình. Dùng Sao chép để lấy giá trị dưới dạng văn bản thuần, hoặc Xuất dữ liệu để có CSV, JSON, NDJSON, SQL và XML.

Nguồn

Các phần tóm lược lịch sử trên trang này dựa vào những tài liệu giấy phép mở được liệt kê ở trên. Thấy chỗ nào sai? Hãy cho chúng tôi biết và chúng tôi sẽ sửa.