Vampire Number
   HOME

TheInfoList



OR:

In
number theory Number theory (or arithmetic or higher arithmetic in older usage) is a branch of pure mathematics devoted primarily to the study of the integers and integer-valued functions. German mathematician Carl Friedrich Gauss (1777–1855) said, "Mat ...
, a vampire number (or true vampire number) is a
composite Composite or compositing may refer to: Materials * Composite material, a material that is made from several different substances ** Metal matrix composite, composed of metal and other parts ** Cermet, a composite of ceramic and metallic materials ...
natural number In mathematics, the natural numbers are those numbers used for counting (as in "there are ''six'' coins on the table") and ordering (as in "this is the ''third'' largest city in the country"). Numbers used for counting are called ''cardinal ...
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 = ... Then N is a vampire number if and only if there exist two natural numbers A and B, each with k digits: :A = ... :B = ... such that A \times B = N, a_1 and b_1 are not both zero, and the 2k digits of the
concatenation In formal language theory and computer programming, string concatenation is the operation of joining character strings end-to-end. For example, the concatenation of "snow" and "ball" is "snowball". In certain formalisations of concatenat ...
of A and B (......) 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 Usenet () is a worldwide distributed discussion system available on computers. It was developed from the general-purpose Unix-to-Unix Copy (UUCP) dial-up network architecture. Tom Truscott and Jim Ellis conceived the idea in 1979, and it wa ...
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, ... 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


Variants

''Pseudovampire numbers (disfigurate vampire numbers)'' are similar to vampire numbers, except that the fangs of an ''n''-digit pseudovampire number need not be of length ''n''/2 digits. Pseudovampire numbers can have an odd number of digits, for example 126 = 6 × 21. More generally, more than two fangs are allowed. In this case, vampire numbers are numbers ''n'' which can be factorized using the digits of ''n''. For example, 1395 = 5 × 9 × 31. This sequence starts : :126, 153, 688, 1206, 1255, 1260, 1395, ... A ''vampire prime'' or ''prime vampire number'', as defined by Carlos Rivera in 2002, is a true vampire number whose fangs are its prime factors. The first few vampire primes are: :117067, 124483, 146137, 371893, 536539 the largest known is the square (94892254795 × 10103294 + 1)2, found by Jens K. Andersen in September, 2007. A ''double vampire number'' is a vampire number which has fangs that are also vampire numbers, an example of such a number is 1047527295416280 = 25198740 × 41570622 = (2940 × 8571) × (5601 × 7422) which is the smallest double vampire number. A ''Roman numeral vampire number'' is vampire number that uses Roman numerals instead of base-10. An example of this number is II × IV = VIII.


References


External links

* Sweigart, Al
''Vampire Numbers Visualized''
* {{DEFAULTSORT:Vampire Number Base-dependent integer sequences