5 lines
119 B
Text
5 lines
119 B
Text
|
|
foreach n in ([1..25]){
|
||
|
|
println("\u03c6(%2d) ==%3d %s"
|
||
|
|
.fmt(n,totient(n),isPrime(n) and "is prime" or ""));
|
||
|
|
}
|