# [MathGolf], 16 bytes

    ♫rÇ{▒h3≤\ε*ìΣ9=┌

[Try it online!][TIO-jnb4b2du]

[MathGolf]: https://github.com/maxbergmark/mathgolf
[TIO-jnb4b2du]: https://tio.run/##ASgA1/9tYXRoZ29sZv//4pmrcsOHe@KWkmgz4omkXM61KsOszqM5PeKUjP// "MathGolf – Try It Online"

Unfortunately, there's no range from x to y, so we have to waste bytes on checking the length of the digit as well