# [MATL], <s>30</s> 29 bytes

    A077430I\2-|Gw^1Mwx*10&Ylk1+&

[A077430]

[Try it online!][TIO-j5xlztt3]

-1 byte thanks to @Sanchises

[MATL]: https://github.com/lmendo/MATL
[TIO-j5xlztt3]: https://tio.run/##y00syfn/39HA3NzE2MAzxki3xr08ztC3vELL0EAtMifbUFvt/38LEwA "MATL – Try It Online"
[A077430]: https://oeis.org/A077430