Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
Niidae Wiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Coprime integers
(section)
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
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!
== Notation and testing == When the integers {{mvar|a}} and {{mvar|b}} are coprime, the standard way of expressing this fact in mathematical notation is to indicate that their greatest common divisor is one, by the formula {{math|1=gcd(''a'', ''b'') = 1}} or {{math|1=(''a'', ''b'') = 1}}. In their 1989 textbook ''[[Concrete Mathematics]]'', [[Ronald Graham]], [[Donald Knuth]], and [[Oren Patashnik]] proposed an alternative notation <math>a\perp b</math> to indicate that {{mvar|a}} and {{mvar|b}} are relatively prime and that the term "prime" be used instead of coprime (as in {{mvar|a}} is ''prime'' to {{mvar|b}}).<ref>{{citation|first1=R. L.|last1=Graham|first2=D. E.|last2=Knuth|first3=O.|last3=Patashnik|title=[[Concrete Mathematics]] / A Foundation for Computer Science|publisher=Addison-Wesley|year=1989|page=115|isbn=0-201-14236-8}}</ref> A fast way to determine whether two numbers are coprime is given by the [[Euclidean algorithm]] and its faster variants such as [[binary GCD algorithm]] or [[Lehmer's GCD algorithm]]. The number of integers coprime with a positive integer {{mvar|n}}, between 1 and {{mvar|n}}, is given by [[Euler's totient function]], also known as Euler's phi function, {{math|''Ο''(''n'')}}. A [[Set (mathematics)|set]] of integers can also be called coprime if its elements share no common positive factor except 1. A stronger condition on a set of integers is pairwise coprime, which means that {{mvar|a}} and {{mvar|b}} are coprime for every pair {{math|(''a'', ''b'')}} of different integers in the set. The set {{math|{2, 3, 4} }} is coprime, but it is not pairwise coprime since 2 and 4 are not relatively prime.
Summary:
Please note that all contributions to Niidae Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Encyclopedia:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Search
Search
Editing
Coprime integers
(section)
Add topic