Tuesday, June 9, 2015

Haskell 99 Problem 34

Problem

Please find the problem here.

Solution:

Please see the solution as follow:

I know, there is more efficient way to compute Euler's Totient function - but let's stick with this simple method for now - in the coming problems we will optimize it.

No comments :

Post a Comment