Skip to main content
Bounty Ended with 200 reputation awarded by Bubbler
added 45 characters in body
Source Link
Razetime
  • 27.4k
  • 3
  • 29
  • 72

APL (Dyalog Extended), 4545 44 bytes

+/×{+/{a b c←⍵⋄√(×/a÷b ca×a÷b×c)+2-(⊢+÷)b÷c}¨⌽∘⍵¨⍳3⌽∘⍵¨⍳3}

Try it online!Try it online!

Bubbler has a 27 byte solution with a complete train, but I think it deserves it's own answer.

This is a port of Surculose Suptum's formula, simplified by Kevin Cruijssen.

-1 byte from dzaima.

APL (Dyalog Extended), 45 bytes

+/×{+/{a b c←⍵⋄√(×/a÷b c)+2-(⊢+÷)b÷c}¨⌽∘⍵¨⍳3}

Try it online!

Bubbler has a 27 byte solution with a complete train, but I think it deserves it's own answer.

This is a port of Surculose Suptum's formula, simplified by Kevin Cruijssen.

APL (Dyalog Extended), 45 44 bytes

+/×{+/{a b c←⍵⋄√(a×a÷b×c)+2-(⊢+÷)b÷c}⌽∘⍵¨⍳3}

Try it online!

Bubbler has a 27 byte solution with a complete train, but I think it deserves it's own answer.

This is a port of Surculose Suptum's formula, simplified by Kevin Cruijssen.

-1 byte from dzaima.

Source Link
Razetime
  • 27.4k
  • 3
  • 29
  • 72

APL (Dyalog Extended), 45 bytes

+/×{+/{a b c←⍵⋄√(×/a÷b c)+2-(⊢+÷)b÷c}¨⌽∘⍵¨⍳3}

Try it online!

Bubbler has a 27 byte solution with a complete train, but I think it deserves it's own answer.

This is a port of Surculose Suptum's formula, simplified by Kevin Cruijssen.