Skip to main content
1 of 3
Jonathan Allan
  • 115.5k
  • 8
  • 68
  • 293

Jelly, 6 bytes

*Ɱ4%⁵Q 

A monadic link which accepts an integer and yield a list of integers.

Try it online!

Jonathan Allan
  • 115.5k
  • 8
  • 68
  • 293