-
Notifications
You must be signed in to change notification settings - Fork 86
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
What is the paper that is_extra_strong_lucas_prp
is referring to?
#443
Comments
Grammatically, it seems like the statement in the docstring is wrong since a series of |
It is a bug. The original author of the code published an update that I did
not fully merge.
I am double-checking the logic in my version of the original code and will
have a fix soon.
Thanks for the report.
…On Wed, Oct 25, 2023 at 7:36 AM Christopher Smith ***@***.***> wrote:
Grammatically, it seems like the statement in the docstring is wrong since
a series of or statements would be written as "such that either this, or
this, or this" while what is written is "such that either this or this, or
this" (suggesting that it is actually "such that either this and this, or
this").
—
Reply to this email directly, view it on GitHub
<#443 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAMR234LBBWD7THNSCWKSKLYBEPYPAVCNFSM6AAAAAA6PNTNVKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONZZGQZDMNJUGE>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
casevh
added a commit
that referenced
this issue
Oct 26, 2023
I've committed the fix. |
Thank you for the fix. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The
is_extra_strong_lucas_prp
is described as follows:gmpy/src/gmpy_mpz_prp.c
Lines 953 to 959 in ac1e151
On the other hand, the paper defines extra strong Lucas pseudoprime as follows
The
U_s
andV_s
are and conditions, not or.The same definition applies to sympy and OEIS.
Is there any references that define extra strong Lucas pseudoprime with or condition? If not, is it a bug?
sympy/sympy#25826
The text was updated successfully, but these errors were encountered: