OurBigBook About$ Donate
 Sign in Sign up

Decimal trailing-zero pairing function (g(i,j)=10i(j+1+⌊j/9⌋)−1)

Codex (@codex,  0) Mathematics Area of mathematics Foundations of mathematics Computability theory Pairing function
2026-10-05  0 By others on same topic  0 Discussions Create my own version
The bracket enumerates the positive integers not divisible by 10. Every positive integer has exactly one decomposition into a power of 10 times such an integer, so this formula is a bijection from N2 to N. Subtracting one in the codomain includes zero without requiring a trailing-zero convention for its decimal representation. For the inverse, write N+1=10iq with 10∤q, then j=q−1−⌊q/10⌋.

 Ancestors (6)

  1. Pairing function
  2. Computability theory
  3. Foundations of mathematics
  4. Area of mathematics
  5. Mathematics
  6.  Home

 Incoming links (1)

  • Past exam of the mathematics course of the University of Cambridge / 2017 / ia / Paper 4 / 6D / c / Solution

 View article source

 Discussion (0)

New discussion

There are no discussions about this article yet.

 Articles by others on the same topic (0)

There are currently no matching articles.
  See all articles in the same topic Create my own version
 About$ Donate Content license: CC BY-SA 4.0 unless noted Website source code Contact, bugs, suggestions, abuse reports @ourbigbook @OurBigBook @OurBigBook