본문으로 이동
Number Buffet

회문 소수

거꾸로 읽어도 같은 소수 — 2, 3, 5, 7, 11, 101, 131, 151 그리고 그 뒤로. 자리 수가 짝수인 것은 11뿐입니다.

OEIS A002385 · 3분 분량

설정

빠른 설정

Produced in increasing order from the smallest allowed length.

Set 5 to skip the small ones and start at 10301.

Group digits as 1,003,001. Breaks the visual palindrome, but easier to read.

모양 미세 조정

먼저 이미지 옆의 설정을 고르세요. 아래 조절기가 그것을 다듬습니다.

Frame

A border drawn inside the edge of the image.

고급

결과

20개 값

2, 3, 5, 7, 11, 101, 131, 151, 181, 191, 313, 353, 373, 383, 727, 757, 787, 797, 919, 929

11 is the only palindromic prime with an even number of digits, so the list jumps from 11 straight to 101.


이미지 만들기

이 숫자를 꾸며 이미지로 내려받으려면 자바스크립트를 켜세요. 값 자체는 위에 나열되어 있습니다.

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.

아래의 배경 설명은 아직 번역되지 않아 영어로 표시됩니다.

회문 소수 소개

Palindromic primes sit at the junction of two very different traditions. One is the recreational numerology of digits, which has no theorems in it at all; the other is the arithmetic of divisibility, which has one sharp result to contribute. A number is divisible by eleven exactly when the alternating sum of its digits is. Reverse a palindrome of even length and the alternating sum cancels to zero, so every even-length palindrome — 1221, 45654554, all of them — is a multiple of eleven. Eleven itself is the single exception that is also prime. One line of elementary arithmetic therefore wipes out half of all candidates forever, which is unusually good value.

The sequence's low catalogue number, A002385, places it among the entries Neil Sloane gathered for A Handbook of Integer Sequences in 1973, the printed ancestor of the On-Line Encyclopedia of Integer Sequences. Martin Gardner's "Mathematical Games" column in Scientific American had already carried palindromic numbers to a far wider audience, usually in company with the reverse-and-add problem of whether 196 ever turns into a palindrome, which remains unsolved.

Beyond that the record is one of computation rather than proof. Harvey Dubner spent decades hunting large palindromic primes with increasingly capable hardware, and the current records run past a million digits — found, as large primes almost always are now, by distributed search rather than by insight. The one genuine theorem of the modern era points the wrong way for collectors: in 2004 William Banks, Derrick Hart and Mayumi Sakata proved that almost all palindromes are composite, meaning the primes among them have density zero. Whether infinitely many palindromic primes exist at all is still open.

주요 성질

  • Apart from 11, every palindromic prime has an odd number of digits: an even-length palindrome is always divisible by 11.
  • There are exactly 15 three-digit palindromic primes, and exactly 20 palindromic primes below 10,000.
  • A palindromic prime above 11 cannot start with 2, 4, 5, 6 or 8, because its first and last digits are equal and no prime above 5 ends in an even digit or in 5.
  • The four single-digit primes 2, 3, 5 and 7 are all trivially palindromic.
  • Repunits — 1, 11, 111, … — are palindromes, so every repunit prime is a palindromic prime; the smaller known ones have 2, 19, 23, 317 and 1031 digits.
  • Being palindromic depends on the base: 7 is a palindrome in decimal and in binary (111), while 13 is the palindrome 11 in base 12 but 1101 in binary.
  • In 2004 Banks, Hart and Sakata proved that almost all palindromes are composite, so palindromic primes have density zero among palindromes.
  • Whether there are infinitely many palindromic primes is an open question.

등장하는 곳

  • The 31-digit prime 1000000000000066600000000000001 — 666 flanked by thirteen zeros on each side — was nicknamed "Belphegor's prime" by the writer Clifford Pickover; the name is whimsy, the primality is not.
  • Repunit primes, which are a subfamily of palindromic primes, are tracked by the Cunningham Project and are standard test cases for factorisation software.
  • Mersenne primes are palindromes in binary, since 2^p - 1 is a run of p ones — the same digit-reversal idea in a different base.
  • Palindromes are a staple of introductory programming exercises and benchmarks; Project Euler's fourth problem asks for the largest palindromic product of two three-digit numbers.
  • Palindromic numbers are treated as auspicious in several numerological traditions and in some date-watching customs — a belief about digits rather than a mathematical property.

이 생성기 사용법

생성된 값은 위쪽에 표시되고 옆에 복사 단추가 있습니다. 이미지로 만들려면 이미지 만들기의 스타일에서 모양을 고르고, 내보내기 크기를 정한 뒤 PNG·JPEG·WebP로 내려받으세요. 모두 브라우저에서 그려지므로 생성한 내용이 서버로 전송되지 않습니다.

작업하는 동안 주소창이 갱신되므로, 링크는 항상 지금 보이는 상태를 그대로 재현합니다. 특정 수열을 공유하거나 설정을 저장해 두기에 좋습니다. 값을 일반 텍스트로 가져가려면 복사를, CSV·JSON·NDJSON·SQL·XML이 필요하면 데이터 내보내기를 사용하세요.

출처

이 페이지의 역사적 설명은 위에 나열한 공개 라이선스 자료를 바탕으로 합니다. 잘못된 내용을 발견하셨나요? 알려주시면 바로잡겠습니다.