Skip to main content
added 142 characters in body
Source Link
Neil
  • 177.3k
  • 12
  • 74
  • 281

05AB1E, 20 bytes

[D_#>3‰`<s])sô0ζεR3β

Try it online! Port of @Blckknght's answer. Might even get around to porting the inverse eventually.Inverse, 17 bytes:

[Z_#>3‰ø`<s])˜R3β

Try it online!

05AB1E, 20 bytes

[D_#>3‰`<s])sô0ζεR3β

Try it online! Port of @Blckknght's answer. Might even get around to porting the inverse eventually.

05AB1E, 20 bytes

[D_#>3‰`<s])sô0ζεR3β

Try it online! Port of @Blckknght's answer. Inverse, 17 bytes:

[Z_#>3‰ø`<s])˜R3β

Try it online!

Source Link
Neil
  • 177.3k
  • 12
  • 74
  • 281

05AB1E, 20 bytes

[D_#>3‰`<s])sô0ζεR3β

Try it online! Port of @Blckknght's answer. Might even get around to porting the inverse eventually.