4 lines
127 B
Text
4 lines
127 B
Text
for n in (1..25) {
|
|
var totient = 𝜑(n)
|
|
printf("𝜑(%2s) = %3s%s\n", n, totient, totient==(n-1) ? ' - prime' : '')
|
|
}
|