示例#1
0
        public static void Main()
        {
            var n = ulong.Parse(Console.ReadLine());

            var eulerFunction = new EulerFunction();

            Console.WriteLine(eulerFunction.EulerFunctionCalculator(n));
        }
        public void EulerFuncNumberOfReciprocalPrimes()
        {
            //Arrange
            EulerFunction eulerFunction = new EulerFunction();

            //Act
            var result = eulerFunction.EulerFunctionCalculator(9);

            //Assert
            Assert.AreEqual(result, 6, "Wrong result");
        }