Problem 3869 · Hard
Strictly monotone digits make a number good; a number is fancy when it or its digit sum is good.
Open the interactive visualisation