Program to calculate Euler's Totient Function.
All checks were successful
The build was successful.

This commit is contained in:
2019-04-20 14:17:06 +02:00
parent ed8f3f341e
commit 8331d36869
2 changed files with 39 additions and 0 deletions

10
tests/eulers_totient.exp Normal file
View File

@@ -0,0 +1,10 @@
phi(1) = 1
phi(2) = 1
phi(3) = 2
phi(4) = 2
phi(5) = 4
phi(6) = 2
phi(7) = 6
phi(8) = 4
phi(9) = 6
phi(10) = 4