ArticleslgStudy

mathematics

Vampire number

Vampire number is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Vampire number rather than just read about it. In short: In recreational mathematics, a vampire number (or true vampire number) is a composite natural number with an even number of digits, that can be factored into two natural numbers each with half as many digits as the original number, where the two factors contain precisely all the digits of the original number, in any order, counting multiplicity. The two factors cannot both have trailing zeroes.

Key takeaways

  • Vampire number belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Vampire number to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Vampire number from memory before moving on to harder problems.

Reference excerpt

In recreational mathematics, a vampire number (or true vampire number) is a composite natural number with an even number of digits, that can be factored into two natural numbers each with half as many digits as the original number, where the two factors contain precisely all the digits of the original number, in any order, counting multiplicity. The two factors cannot both have trailing zeroes. The first vampire number is 1260 = 21 × 60.

Definition Let N be a natural number with 2k digits:

N=n2kn2k−1...n1 Then N is a vampire number if and only if there exist two natural numbers A and B, each with k digits:

A=akak−1...a1 B=bkbk−1...b1 such that A×B=N, a1 and b1 are not both zero, and the 2k digits of the concatenation of A and B (akak−1...a2a1bkbk−1...b2b1) are a permutation of the 2k digits of N. The two numbers A and B are called the fangs of N. Vampire numbers were first described in a 1994 post by Clifford A. Pickover to the Usenet group sci.math, and the article he later wrote was published in chapter 30 of his book Keys to Infinity.

Examples

1260 is a vampire number, with 21 and 60 as fangs, since 21 × 60 = 1260 and the digits of the concatenation of the two factors (2160) are a permutation of the digits of the original number (1260). However, 126000 (which can be expressed as 21 × 6000 or 210 × 600) is not a vampire number, since although 126000 = 21 × 6000 and the digits (216000) are a permutation of the original number, the two factors 21 and 6000 do not have the correct number of digits. Furthermore, although 126000 = 210 × 600, both factors 210 and 600 have trailing zeroes. The first few vampire numbers are:

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 The sequence of vampire numbers is:

1260, 1395, 1435, 1530, 1827, 2187, 6880, 102510, 104260, 105210, 105264, 105750, 108135, 110758, 115672, 116725, 117067, 118440, 120600, 123354, 124483, 125248, 125433, 125460, 125500, ... (sequence A014575 in the OEIS) There are many known sequences of infinitely many vampire numbers following a pattern, such as:

1530 = 30 × 51, 150300 = 300 × 501, 15003000 = 3000 × 5001, ... Al Sweigart calculated all the vampire numbers that have at most 10 digits.

Multiple fang pairs A vampire number can have multiple distinct pairs of fangs. The first of infinitely many vampire numbers with 2 pairs of fangs:

125460 = 204 × 615 = 246 × 510 The first with 3 pairs of fangs:

13078260 = 1620 × 8073 = 1863 × 7020 = 2070 × 6318 The first with 4 pairs of fangs:

16758243290880 = 1982736 × 8452080 = 2123856 × 7890480 = 2751840 × 6089832 = 2817360 × 5948208 The first with 5 pairs of fangs:

24959017348650 = 2947050 × 8469153 = 2949705 × 8461530 = 4125870 × 6049395 = 4129587 × 6043950 = 4230765 × 5899410

Other bases Vampire numbers also exist for bases other than base 10. For example, a vampire number in base 12 is 10392BA45768 = 105628 × BA3974, where A means ten and B means eleven. Another example in the same base is a vampire number with three fangs, 572164B9A830 = 8752 × 9346 × A0B1. An example with four fangs is 3715A6B89420 = 763 × 824 × 905 × B1A. In these examples, all 12 digits are used exactly once.

See also Friedman number

References

External links Sweigart, Al. Vampire Numbers Visualized Grime, James; Copeland, Ed. "Vampire numbers". Numberphile. Brady Haran. Archived from the original on 2017-10-14. Retrieved 2013-04-08.

Worked examples

Example 1 — a first encounter with Vampire number

Start with the simplest possible case. Write down what Vampire number claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Vampire number before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Vampire number ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Vampire number

In research
Vampire number appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Vampire number in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Vampire number is common in secondary-school and first-year university syllabi. It links to neighbouring topics Base-dependent integer sequences, Metaphors referring to monsters, so understanding it makes those chapters shorter.
In everyday life
Look for Vampire number outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Vampire number” →

How to study Vampire number in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Vampire number means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Vampire number out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Vampire number in simple terms?

In recreational mathematics, a vampire number (or true vampire number) is a composite natural number with an even number of digits, that can be factored into two natural numbers each with half as many digits as the original number, where the two factors contain precisely all the digits of the origi…

Why does Vampire number matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Vampire number?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Vampire number.

Tags

  • Base-dependent integer sequences
  • Metaphors referring to monsters

Keep exploring