5 lines
84 B
Text
5 lines
84 B
Text
func 𝜑(n) {
|
|
n.factor_exp.prod {|p|
|
|
(p[0]-1) * p[0]**(p[1]-1)
|
|
}
|
|
}
|