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

Is it guaranteed that primeFactors are always ascending? #7

Open
kindaro opened this issue Feb 19, 2018 · 0 comments
Open

Is it guaranteed that primeFactors are always ascending? #7

kindaro opened this issue Feb 19, 2018 · 0 comments

Comments

@kindaro
Copy link

kindaro commented Feb 19, 2018

It would be nice if there was a guarantee that primeFactors are sorted. The user code may then take advantage of it, eschewing sorts and thus speeding up. This property seems to hold, and it probably should not take much effort to prove and add some automated property checking.

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