I am trying to learn C and find 6-digit-vampire numbers. I found all six-digit numbers which are got result of multiplying two three-digit numbers and separated them. But, I couldn't come up with any good idea about if one of them is vampire number.
Can you help with getting a hint about algorithm of the problem?
Vampire Number:http://en.wikipedia.org/wiki/Vampire_number