Search a number
magnanimous n.  and  trimorphic n.

First numbers that belong to both sets:

25, 49, 76, 376, 625.