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

Số ma cà rồng

Những số tách thành hai thừa số dài bằng nhau dựng từ chính các chữ số của nó — 1260 = 21 × 60. Clifford Pickover đặt tên cho chúng năm 1994.

OEIS A014575 · Đọc 3 phút

Thiết lập

Thiết lập nhanh

A vampire number must have an even digit count, since the two fangs are the same length. Ten digits cannot be scanned exhaustively in a browser, so it is offered on its own.

Prints 1260 = 21 × 60 instead of just 1260.

The first is 125460 = 204 × 615 = 246 × 510.

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ả

20 giá trị

1260 = 21 × 60, 1395 = 15 × 93, 1435 = 35 × 41, 1530 = 30 × 51, 1827 = 21 × 87, 2187 = 27 × 81, 6880 = 80 × 86, 102510 = 201 × 510, 104260 = 260 × 401, 105210 = 210 × 501, 105264 = 204 × 516, 105750 = 150 × 705, 108135 = 135 × 801, 110758 = 158 × 701, 115672 = 152 × 761, 116725 = 161 × 725, 117067 = 167 × 701, 118440 = 141 × 840, 120600 = 201 × 600, 123354 = 231 × 534

Showing the first 20; raise the count to see more. Fang pairs are not allowed to both end in zero, which is what keeps 126000 = 210 × 600 off the list as a mere restatement of 1260 = 21 × 60.


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ố ma cà rồng

Vampire numbers have an unusually precise birth date for a piece of recreational number theory. Clifford A. Pickover introduced them in a 1994 post to the Usenet newsgroup sci.math, and wrote them up the following year in Keys to Infinity (1995), where chapter 30, "Vampire Numbers", occupies pages 227–231. The OEIS entry credits him by name. The conceit is that the number is a vampire and the two factors are its fangs: each hides half the victim's digits, and multiplying them brings the victim back.

Pickover was writing at the height of a brief vogue, in the early and mid-1990s, for naming recreational integer families after whatever image the pattern suggested — a style that reads as slightly embarrassing in a journal and works perfectly well in a popular book. The gimmick did its job: the definition is memorable, the smallest example is small enough to check in your head, and the search is just hard enough to be an interesting programming problem rather than a one-liner.

The one piece of the definition that looks arbitrary is the rule that the fangs may not both end in zero, and it earns its place. Without it, multiplying any vampire number by 100 produces another one for free — 1260 = 21 × 60 begets 126000 = 210 × 600 — and the four-digit list of seven would spawn seven junk six-digit entries. With the rule in place the counts are clean: 7 four-digit vampire numbers, 148 with six digits, 3,228 with eight. Pickover also defined looser variants, including pseudovampire numbers whose fangs need not be the same length, and the counts of the strict version are catalogued separately as OEIS A048935.

Tính chất chính

  • The smallest vampire number is 1260 = 21 × 60.
  • A vampire number must have an even number of digits, because its two fangs have the same length and together account for all of them.
  • The fangs may not both end in zero; without that rule every vampire number would generate another by multiplication by 100.
  • There are exactly 7 four-digit vampire numbers — 1260, 1395, 1435, 1530, 1827, 2187 and 6880 — then 148 with six digits and 3,228 with eight.
  • Because digit sums are preserved modulo 9, a vampire number satisfies v ≡ x + y (mod 9) as well as v = x · y, which forces (x − 1)(y − 1) ≡ 1 (mod 9) and prunes roughly 93% of candidate fang pairs.
  • Some vampire numbers have more than one pair of fangs: 125460 = 204 × 615 = 246 × 510 is the first, and 13078260 is the first with three.
  • Every vampire number is composite by construction, since both fangs are at least 10.
  • 2187 = 3⁷ = 27 × 81 is both a vampire number and a perfect power.

Xuất hiện ở đâu

  • Pickover's Keys to Infinity (1995) devotes a chapter to them, and is the source most citations trace back to.
  • Finding vampire numbers is a popular programming-exercise and code-golf task — Rosetta Code carries it as a standard problem with implementations in dozens of languages.
  • They are a common teaching example for the difference between a naive search and a pruned one: the modulo-9 congruence turns an intractable scan into a feasible one.
  • Prime vampire numbers, where both fangs are prime, are a studied sub-family; 117067 = 167 × 701 is an example, with both factors prime.
  • The name belongs to a small tradition of deliberately lurid recreational-mathematics coinages from the 1990s, alongside Pickover's other inventions.

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.