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
Pairing function
(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!
==Definition== A '''pairing function''' is a [[bijection]] :<math>\pi:\mathbb{N} \times \mathbb{N} \to \mathbb{N}.</math>{{sfn|Pigeon}}{{sfn|Lisi|2007}}{{sfn|Regan|1992}} ===Generalization=== More generally, a pairing function on a set <math>A</math> is a function that maps each pair of elements from <math>A</math> into an element of <math>A</math>, such that any two pairs of elements of <math>A</math> are associated with different elements of <math>A</math>,{{sfn|Szudzik|2006}}{{efn|That is, an [[Injective function|injection]] from <math>A^2 \rightarrow A</math>.}} or a bijection from <math>A^2</math> to <math>A</math>.{{sfn|Szudzik|2017}} Instead of abstracting from the domain, the arity of the pairing function can also be generalized: there exists an n-ary generalized Cantor pairing function on <math>\mathbb{N}</math>.{{sfn|Lisi|2007}}
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)