Search a number
alternating n.  and  trimorphic n.

First numbers that belong to both sets:

1, 4, 5, 6, 9, 25, 49, 76, 125, 501, 749.