# [MATL](https://github.com/lmendo/MATL), 8 bytes

    1T&y4$Zr

Try it at [MATL Online!](https://matl.suever.net/?code=1T%26y4%24Zr&inputs=%5B4%2C+1%2C+5%5D&version=20.4.1) Or [modify the initial `1`](https://matl.suever.net/?code=100T%26y4%24Zr&inputs=%5B4%2C+1%2C+5%5D&version=20.4.1) to see more values in the same run.