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

euler_phi_inv for 1 #1780

Closed
SoongNoonien opened this issue Feb 25, 2025 · 2 comments · Fixed by #1785
Closed

euler_phi_inv for 1 #1780

SoongNoonien opened this issue Feb 25, 2025 · 2 comments · Fixed by #1785

Comments

@SoongNoonien
Copy link
Contributor

According to the docstring I'd expect euler_phi_inv(1) to return a vector containing both 1 and 2:

The inverse of the Euler totient functions: find all x s.th. phi(x) = n holds.

But currently it just returns a vector containing 1 as its only element.

@fingolfin
Copy link
Contributor

So either the docstring should be adjusted, or the behavior for this input.

Any preferences @fieker @thofma ?

@fieker
Copy link
Collaborator

fieker commented Feb 26, 2025

the behaviour

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

Successfully merging a pull request may close this issue.

3 participants