Skip to main content
3 of 6
saved 1 byte
Arnauld
  • 197.8k
  • 20
  • 180
  • 650

#JavaScript (ES6),  73 65  64 bytes

Saved 1 byte by using JoKing's formula: \$1/(i+j+k+1)+1\$, with \$i\$, \$j\$, \$k\$ 0-indexed.

(x,y,z)=>(g=n=>!n||(1/(n%z-~(n/z%y)+n/z/y%x|0)+1)*g(n-1))(x*y*z)

Try it online!

Arnauld
  • 197.8k
  • 20
  • 180
  • 650