http://www.perlmonks.org?node_id=173579


in reply to Re: Vampire Numbers
in thread Vampire Numbers

a couple of general formulas such as the the fangs

x = 25.10^k+1 y = 100(10^(k+1)+52)/25

give the vampire

v = xy = (10^(k+1)+52)10^(k+2)+100(10^k+1+52)/25 = x'.10^(k+2)+t
= 8(26+5.10^k)(1+25.10^k)

where x' denotes x with digits reversed

Replies are listed 'Best First'.
153
by Anonymous Monk on Jun 11, 2002 at 17:29 UTC
    153 is also a plus perfect number or 'armstrong' number

    153=1^3+5^3+3^3=1+125+27