3 lines
70 B
BQN
3 lines
70 B
BQN
|
|
GCD ← {𝕨(|𝕊⍟(>⟜0)⊣)𝕩}
|
|||
|
|
Totient ← +´1=⊢GCD¨1+↕
|