Search a number
alternating n.  and  deficient n.

First numbers that belong to both sets:

Some larger examples :