New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Euler Totient function #55
Comments
@knotman90 Yes, you can definitely submit a PR for this. In fact I was thinking about adding it a few weeks ago but didn't get the time. You can add the code in a file named |
Is the issue open? I would like to work on it |
@ankur54 I guess you can as I have not performed any action since then. |
Would a normal c++ code suffice or, do I have to code it in .h file? |
Algorithm implementation goes in header (.hpp) file, unit tests go in .cpp file. Thanks! |
This issue has been automatically marked as inactive because it has not had recent activity. It will be closed in 15 days if no further activity occurs. Thank you for your contributions. |
Since the recent code reorganisation, the code for this should now go in |
This issue has been automatically marked as inactive because it has not had recent activity. It will be closed in 15 days if no further activity occurs. Thank you for your contributions. |
Can I work on this? |
Yes please. Make a pull request.
…On Sat, 19 Oct 2019, 19:44 naveensaigit, ***@***.***> wrote:
Can I work on this?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#55>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABM5NS7ZA6XBXEFFQJENOP3QPNBPRANCNFSM4DLWFLZA>
.
|
What about writing some code for computing the euler totient function?
It is defined as follows:
Given an integer
n
how many number<n
are coprime with it?It is a very common constant in number theory.
https://en.wikipedia.org/wiki/Euler%27s_totient_function
Would you mind if I submit a PR on this?
The text was updated successfully, but these errors were encountered: