Search a number
trimorphic n.  and  Ulam n.

First numbers that belong to both sets:

1, 4, 6, 99, 624, 751, 8751, 390625, 9999999.