a_a =: 1 + +
a_b =: [ % +.
py (a_b ` a_a @. has_gcd) y
Either you write it so it is “easy” to understand or you write it so it is easy to compare with the source equation.
Both have pros and cons.
The numberphile video to which the article links is a good watch!