Status: Valid
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 3549 by [email protected]: totient and totient_ are identical (?)
http://code.google.com/p/sympy/issues/detail?id=3549
There are two functions in the ntheory module, totient() and totient_().
They both represent Euler's totient function, as far as I can tell. The
former uses integer factorization and the latter uses gcd calculations.
They seem to agree on all values except for 1 (totient(1) gives 1 and
totient_(1) gives 0). Is there a difference here?
--
You received this message because you are subscribed to the Google Groups
"sympy-issues" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sympy-issues?hl=en.