Search a number
lucky n.  and  partition n.

First numbers that belong to both sets: