--- from: http://rosettacode.org/wiki/Vampire_number note: Mathematics