Smallest sparse number greater than or equal to N

hard
Last edited: August 2, 2025