Przejdź do treści
Number Buffet

Liczby wampiryczne

Liczby rozpadające się na dwa czynniki równej długości zbudowane z własnych cyfr — 1260 = 21 × 60. Clifford Pickover nadał im nazwę w 1994 roku.

OEIS A014575 · 3 min czytania

Ustawienia

Szybkie ustawienia

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.

Dopracuj wygląd

Najpierw wybierz styl obok obrazu — te suwaki go dostrajają.

Frame

A border drawn inside the edge of the image.

Zaawansowane

Wyniki

20 wartości

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.


Utwórz obraz

Włącz JavaScript, aby ostylować te liczby i pobrać je jako obraz. Same wartości są wypisane powyżej.

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.

Artykuł z tłem historycznym poniżej nie został jeszcze przetłumaczony i jest wyświetlany po angielsku.

O liczby wampiryczne

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.

Najważniejsze właściwości

  • 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.

Gdzie się pojawiają

  • 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.

Jak korzystać z tego generatora

Wygenerowane wartości są na górze, a obok nich przycisk kopiowania. Aby zrobić z nich obraz, wybierz wygląd spośród styli w sekcji Utwórz obraz, wskaż rozmiar eksportu i pobierz jako PNG, JPEG lub WebP. Wszystko renderuje się w przeglądarce, więc nic, co wygenerujesz, nie jest wysyłane na serwer.

Pasek adresu aktualizuje się w trakcie pracy, więc link zawsze odtwarza dokładnie to, co widzisz — przydaje się, gdy chcesz udostępnić konkretny ciąg albo zachować konfigurację na później. Użyj Kopiuj, aby zabrać wartości jako zwykły tekst, albo Eksportuj dane, aby otrzymać CSV, JSON, NDJSON, SQL lub XML.

Źródła

Streszczenia historyczne na tej stronie opierają się na wymienionych wyżej źródłach o otwartej licencji. Zauważyłeś błąd? Napisz nam, a go poprawimy.