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_perfect_power implementation #137

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

is_perfect_power implementation #137

wants to merge 1 commit into from

Conversation

n1tz53
Copy link
Contributor

@n1tz53 n1tz53 commented May 15, 2015

This pull request is intended to add a function which test word size positive integer for perfect power, in FLINT.

x ^ ((q[i] - 1) / p[i]) mod q[i] <= 1.
see this following link for info:
("http://citeseerx.ist.psu.edu/viewdoc/
download?doi=10.1.1.108.458&rep=rep1&type=pdf")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AKA
Eric Bach, Jonathan Sorenson,
Sieve algorithms for perfect power testing,
Algorithmica 9 (1993), 313–328. MR 94d:11103

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants