Vampire Number Calculator

Number

Is 1,260 a vampire number?Yes - 1,260 = 21 x 60
Fang pairs found1
Fangs21 and 60
Digits in n4
How this was calculated
  1. A vampire number has an even number of digits and splits into two fangs of half the length whose product is the number and whose digits, pooled together, are exactly the digits of the number.
  2. Both fangs must have 2 digits here, and the pair may not both end in zero.
  3. Searching every fang pair for 1,260 finds 1: 21 and 60.
  4. So 1,260 is a vampire number.

This vampire number calculator tells you whether a whole number is a vampire number in the sense defined by Clifford Pickover. A vampire number has an even number of digits and splits into two equal-length fangs whose product is the number and whose pooled digits are exactly the number's digits; the two fangs may not both end in zero. Enter a number and the calculator checks it against that definition and reports the answer, including how many fang pairs it finds. For example, it confirms that 1,260 is a vampire number, since 1,260 = 21 x 60, exactly one fang pair using precisely the digits of 1,260, and that 1,395 is a vampire number, since 1,395 = 15 x 93, one fang pair. It also confirms that 2,025 is not a vampire number, because no fang pair reproduces its digits (0 fang pairs found).

The method behind the result is the accepted standard for this kind of calculation: it applies Pickover's definition directly, testing equal-length fangs, requiring the pooled digits to match the number's digits exactly, and excluding fang pairs that both end in zero. That is the same rule under which there are exactly seven four-digit vampire numbers. Pseudovampire numbers, a nearby variant that allows fangs of unequal length, are not used here. This page shows the formula, the step-by-step workings, worked examples and sources, so you can follow each check rather than take the result on trust.

Worked examples

1260 = 21 x 60

(1260)

Is 1,260 a vampire number?Yes - 1,260 = 21 x 60
Fang pairs found1
Fangs21 and 60
Digits in n4

1395 = 15 x 93

(1395)

Is 1,395 a vampire number?Yes - 1,395 = 15 x 93
Fang pairs found1
Fangs15 and 93
Digits in n4

2025 has no fangs

(2025)

Is 2,025 a vampire number?No - no fang pair reproduces its digits
Fang pairs found0
FangsNo fangs
Digits in n4

Pickover's definition

A vampire number, in Clifford Pickover's definition, has an even number of digits. That count is then split into two equal-length fangs. The product of the two fangs must be the number itself, and the digits pooled from both fangs must be exactly the digits of the number. One more restriction applies: the two fangs may not both end in zero. A vampire number calculator applies all of these rules at once, so a candidate that satisfies only some of them is not counted.

The classic smallest example is 1,260. It has four digits, so each fang must have two digits. The split works as 1,260 = 21 x 60. Pool the digits of 21 and 60 and you get 2, 1, 6 and 0, which are precisely the digits of 1,260. The number has exactly one fang pair. Note that 21 and 60 do not both end in zero, so the trailing-zero restriction does not disqualify it.

The rules are easier to see when a nearby number fails. Consider 2,025. It has an even digit count, so length alone does not rule it out, but no fang pair reproduces its digits; a search finds 0 fang pairs. Without a matching pair of equal-length factors whose pooled digits equal the number's digits, 2,025 is not a vampire number. This is why the pooled-digit rule matters as much as the product rule: a factorization by itself is not enough.

1,395 shows the definition working again. It has four digits, and 1,395 = 15 x 93 gives one fang pair. The digits of 15 and 93 pool to 1, 5, 9 and 3, exactly the digits of 1,395. Four-digit vampire numbers are rare: there are exactly seven of them. That small count is a useful sanity check on any result you get from a vampire number calculator.

Pickover's definition is strict on purpose. Both fangs must have the same length, their product must equal the number, their pooled digits must match the number's digits, and the two fangs may not both end in zero. A nearby variant, the pseudovampire number, allows fangs of unequal length. That variant is not used here, so results on this page follow the equal-length rule throughout.

  • Even digit count: the number of digits must be even.
  • Two equal-length fangs: the number splits into two factors of the same length.
  • Product rule: the two fangs must multiply to the number.
  • Pooled-digit rule: the digits of both fangs, pooled, must be exactly the number's digits.
  • Trailing-zero rule: the two fangs may not both end in zero.
  • 1,260 = 21 x 60 is the classic smallest example, with exactly one fang pair.
  • 1,395 = 15 x 93 is a vampire number with one fang pair.
  • 2,025 is not a vampire number: 0 fang pairs found.
  • There are exactly seven four-digit vampire numbers.
  • Pseudovampire numbers allow fangs of unequal length and are not used on this page.
Four-digit vampire numbers are rare: there are exactly seven of them.

How the fang search works

The calculator's fang search follows Pickover's definition step by step. A vampire number has an even number of digits, and it must split into two fangs of equal length. Multiply those two fangs together, and the result must be the original number. Then pool the digits of both fangs and compare them to the digits of the number itself: the two groups must match exactly, digit for digit. One more rule applies — the two fangs may not both end in zero. The search checks each of these conditions in turn, so a candidate only counts when every part of the definition holds.

The work starts by taking the number's digits and dividing them into two halves of equal length. Because the order of the digits matters, the search tries the possible arrangements of those digits into two groups rather than assuming the first half and second half as written are the only split worth testing. For each arrangement, it forms the two candidate fangs, multiplies them, and asks whether the product equals the original number. If the product matches, the digit pool is compared against the number's own digits, and the trailing-zero rule is applied. A vampire number calculator run this way reports only the splits that survive all of those checks.

1,395 shows how a passing case looks. Its digits are split into 15 and 93, and 15 x 93 = 1,395. The pooled digits of the fangs are 1, 5, 9 and 3 — exactly the digits of 1,395 — and the two fangs do not both end in zero, so the pair qualifies. The search records this as one fang pair. The count of fang pairs is simply the number of qualifying splits the search finds: each distinct pair of fangs that multiplies to the number and reproduces its digits adds one to the total.

Other results show the count in action. 1,260 = 21 x 60, which is exactly one fang pair, using precisely the digits of 1,260. 2,025, by contrast, yields no fang pair that reproduces its digits, so the search returns 0 fang pairs found and the number is not a vampire number. Among four-digit numbers, the search finds exactly seven vampire numbers. The page does not use pseudovampire numbers, the nearby variant that allows fangs of unequal length; here both fangs must always have the same number of digits.

A fang pair counts only when the product matches, the pooled digits match exactly, and the two fangs do not both end in zero. 1,395 passes with 15 x 93; 2,025 finds 0 fang pairs.

The trailing-zero rule and near misses

The trailing-zero rule is a small clause in Clifford Pickover's definition of a vampire number, but it does real work. Under that definition, a vampire number has an even number of digits and splits into two equal-length fangs whose product is the number and whose pooled digits are exactly the number's digits — and the two fangs may not both end in zero. That last restriction matters because without it, multiplying by ten would let you manufacture vampire numbers almost at will. Take any candidate pair and append a zero to each fang, and the product grows by a factor of one hundred while the pooled digits of the fangs gain two zeros. The digit-matching test would still pass, but nothing genuinely new would have been discovered. Requiring that the fangs not both end in zero keeps the definition from being trivially satisfied by padding.

A vampire number calculator applies this rule alongside the digit test, so a pair like 21 and 60 is accepted while a pair of fangs both ending in zero is rejected even if the digits line up. The rule is about which factorizations count, not about whether the arithmetic is correct. Both fangs still have to be the same length, and together their digits must be exactly the digits of the number itself, with no extras and nothing missing.

The case of 2,025 shows that the digit test alone can be unforgiving. 2,025 is not a vampire number: no fang pair reproduces its digits, and a search finds 0 fang pairs. It looks like it should work — the digits suggest an obvious split — but no equal-length pair of fangs multiplies to 2,025 while pooling to exactly 2, 0, 2 and 5. This is the kind of near miss that makes the vampire number calculator useful: it does not stop at a promising-looking arrangement of digits, it checks the actual products.

Contrast that with two confirmed examples. 1,260 is a vampire number: 1,260 = 21 x 60, exactly one fang pair, using precisely the digits of 1,260. 1,395 is a vampire number: 1,395 = 15 x 93, one fang pair. In each case the fangs are equal in length, their digits pool to the number's digits, and the pair does not run afoul of the trailing-zero rule. Among four-digit numbers there are exactly seven vampire numbers, so most four-digit candidates — 2,025 included — fall away.

One nearby variant is worth naming so it is not confused with the real thing. Pseudovampire numbers allow fangs of unequal length; that is a different definition, and this page does not use it. When you run a number through the vampire number calculator, the trailing-zero rule and the equal-length requirement are both enforced, which is why a plausible near miss like 2,025 comes back with no fangs rather than a borrowed answer.

2,025 is not a vampire number: no fang pair reproduces its digits (0 fang pairs found).

Pseudovampires and bigger vampires

The strict definition this calculator follows comes from Clifford Pickover. A vampire number has an even number of digits and splits into two equal-length fangs. Multiply the fangs and you get the number; pool the digits of the two fangs and you get exactly the digits of the number, in the same quantities. One more rule applies: the two fangs may not both end in zero. That last condition matters, because without it a number like 1,260 could be padded into trivial factorizations that tell you nothing. Under this definition, 1,260 is a genuine vampire number: 1,260 = 21 x 60, exactly one fang pair, using precisely the digits of 1,260. Likewise, 1,395 = 15 x 93, one fang pair. And 2,025 is not a vampire number, because no fang pair reproduces its digits — zero fang pairs found.

Pseudovampire numbers sit just outside this family. They allow fangs of unequal length, so the tidy symmetry of two equal halves is relaxed. That makes them a nearby variant rather than the same object, and it is a variant this page does not use. Keeping the equal-length rule is what lets a vampire number calculator check a candidate quickly and report a clean count of fang pairs: either the digits line up or they do not. If you are testing a number and it fails only because its factors have different lengths, you are looking at the pseudovampire neighborhood, not at a vampire number under Pickover's definition.

Vampire numbers are also scarce, and they thin out as the digit count climbs. The four-digit range is fully settled: there are exactly seven four-digit vampire numbers. 1,260 and 1,395 are two of them, and 2,025 is not, which shows how easily a number with the right shape can still miss. Beyond four digits the pool of candidates grows enormously while the numbers that satisfy both the product rule and the exact-digit rule stay rare, so the search gets harder as you add digits. That is the practical reason a calculator helps: scanning by hand across longer and longer numbers is slow, and the equal-length fang requirement is easy to misapply.

When you use the vampire number calculator, keep the two families separate in your head. A true vampire number needs an even digit count, two fangs of the same length, an exact product, an exact digit match, and fangs that are not both ending in zero. A pseudovampire drops the equal-length requirement and is therefore a different question with a different answer. If a result surprises you, check the digit count first, then the fang lengths, then the trailing-zero rule. Those three checks resolve most confusion, and they keep your results consistent with the definition the calculator is built on.

Quick check: even digit count, two equal-length fangs, exact product, exact digit match, and the fangs may not both end in zero. Miss the equal-length rule and you have wandered into pseudovampire territory.

FAQs

Is 1,260 a vampire number?

Yes. 1,260 = 21 × 60, and if you pool the digits of the fangs 21 and 60, you get exactly the digits of 1,260: one 1, one 2, one 6, and one 0. Because the pooled fang digits match the number's digits exactly, 1,260 qualifies as a vampire number.

Is 1,395 a vampire number?

Yes. 1,395 = 15 × 93. The two fangs, 15 and 93, have equal length, and their pooled digits are 1, 5, 9, and 3, which are exactly the digits of 1,395. That exact digit match is what makes 1,395 a vampire number.

Is 2,025 a vampire number?

No. For 2,025 to be a vampire number, some pair of equal-length fangs would have to multiply to 2,025 and pool digits matching its digits exactly, and no fang pair does that. Without a fang pair that reproduces its digits, 2,025 is not a vampire number.

How many four-digit vampire numbers are there?

Exactly seven. Among all four-digit numbers, only seven satisfy the definition of a vampire number, meaning they have two equal-length fangs whose product is the number and whose pooled digits match the number's digits exactly. So the four-digit vampire numbers form a small, fixed set of seven.

What are fangs?

Fangs are the two equal-length factors whose product is the number and whose pooled digits match the number's digits exactly. For example, 21 and 60 are the fangs of 1,260. Both conditions must hold: the factors must multiply to the number, and together their digits must be an exact match for the number's digits.

Can both fangs end in zero?

No. The definition of a vampire number forbids both fangs ending in zero at once. So a pair like 20 and 30 cannot serve as fangs, even though the digits might otherwise line up. At most one fang may end in zero for the pair to count.

Sources

Related calculators

Euclid Number Calculator
Compute the Euclid number E(n) - the product of the first n primes plus 1 - with its primorial, factorization and digit count.
Armstrong Number Calculator
Check whether a number is an Armstrong (narcissistic) number: the sum of its digits each raised to the power of the digit count, compared with the number itself.
Automorphic Number Calculator
Test whether a number is automorphic - whether its square ends in the number itself - with the full square, the trailing digits and how many of them match.