Search a number
sliding n.  and  wasteful n.

First numbers that belong to both sets: