Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Euler–Jacobi pseudoprime
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{Short description|Odd composite number which passes the given congruence}} In [[number theory]], an [[odd number|odd]] [[integer]] ''n'' is called an '''Euler–Jacobi probable prime''' (or, more commonly, an '''Euler probable prime''') to base ''a'', if ''a'' and ''n'' are [[coprime]], and :<math>a^{(n-1)/2} \equiv \left(\frac{a}{n}\right)\pmod{n}</math> where <math>\left(\frac{a}{n}\right)</math> is the [[Jacobi symbol]]. The Jacobi symbol evaluates to 0 if ''a'' and ''n'' are not coprime, so the test can alternatively be expressed as: :<math>a^{(n-1)/2} \equiv \left(\frac{a}{n}\right) \neq 0 \pmod{n}.</math> If ''n'' is an odd [[composite number|composite]] integer that satisfies the above congruence, then ''n'' is called an '''Euler–Jacobi pseudoprime''' (or, more commonly, an '''Euler pseudoprime''') to base ''a''. As long as ''a'' is not a multiple of ''n'' (usually 2 ≤ ''a'' < ''n''), then if ''a'' and ''n'' are not coprime, ''n'' is definitely composite, as 1 < [[Greatest common divisor|gcd]](''a'',''n'') < ''n'' is a factor of ''n''.
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)