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

bug in factor #1609

Closed
thofma opened this issue Sep 17, 2024 · 2 comments
Closed

bug in factor #1609

thofma opened this issue Sep 17, 2024 · 2 comments

Comments

@thofma
Copy link
Owner

thofma commented Sep 17, 2024

@fieker Can you reproduce and know how to fix it?

julia> a = ZZ(65261404486168272596469055321032207458900347428758158658012236487063743080177113810110282680249226184903475017526897956542827985941267684646505051975441057446672916412353515625)
65261404486168272596469055321032207458900347428758158658012236487063743080177113810110282680249226184903475017526897956542827985941267684646505051975441057446672916412353515625

julia> for i in 1:10; f = factor(a); @show f[2430601]; end
f[2430601] = 4
f[2430601] = 2
f[2430601] = 2
f[2430601] = 2
f[2430601] = 2
f[2430601] = 4
f[2430601] = 4
f[2430601] = 2
f[2430601] = 2
f[2430601] = 2

julia> valuation(a, 2430601)
4
@lgoettgens
Copy link
Contributor

lgoettgens commented Sep 18, 2024

smaller example:

julia> a = ZZ(15256904898765951040575460247493335266128960885722986287515593)

julia> julia> for i in 1:10; f = factor(a); @show f[2430601]; end
f[2430601] = 4
f[2430601] = 4
f[2430601] = 4
f[2430601] = 2
f[2430601] = 4
f[2430601] = 4
f[2430601] = 2
f[2430601] = 4
f[2430601] = 4
f[2430601] = 4

fieker added a commit that referenced this issue Sep 18, 2024
fieker added a commit that referenced this issue Sep 18, 2024
thofma pushed a commit that referenced this issue Sep 18, 2024
@thofma
Copy link
Owner Author

thofma commented Sep 18, 2024

Fixed in #1610

@thofma thofma closed this as completed Sep 18, 2024
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

2 participants