Skip to content
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

Missing edge case in phi function definition page 28 #22

Closed
ghost opened this issue Feb 24, 2020 · 1 comment
Closed

Missing edge case in phi function definition page 28 #22

ghost opened this issue Feb 24, 2020 · 1 comment

Comments

@ghost
Copy link

ghost commented Feb 24, 2020

In the text it says

... define phi(n) by the number of positive integers less than n that are relatively prime to n

but it doesn't state the edge case for phi(1).

@j2kun
Copy link
Collaborator

j2kun commented Mar 1, 2020

Thanks! I will add n>1 as a condition. However, note that some define 1 to be relatively prime to all integers (including 0).

@j2kun j2kun closed this as completed Mar 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant