Skip to main content
2 of 9
added 132 characters in body
recursive
  • 10.4k
  • 20
  • 36

Stax, 27 bytes

Çùⁿm╡d╫∟b*ç■L9‼àCHñ═==≥i⌐√x

Run and debug it

It handles zeroes, negative values, floating point values, and even fractions for that matter. Output is separated by newlines.

recursive
  • 10.4k
  • 20
  • 36