Search a number
amicable n.  and  happy n.

First numbers that belong to both sets: