Search a number
frugal n.  and  heptagonal n.

First numbers that belong to both sets: