VAMPIRE NUMBER
This program has being solved by our legend teachersA very interesting program for you all
explanation
In number theory, 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 and not both with trailing zeroes, where the two factors contain precisely all the digits of the original number, in any order, counting multiplicity. The first vampire number is 1260 = 21 × 60.
The vampire numbers are:
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, ..
- download the code here
- DOWNLOAD CODE PDF HERE
- Now lets get into coding
KEEP VISITING KEEP ASKING>