Skip to content
Surf Wiki
Save to docs
general/arithmetic-dynamics

From Surf Wiki (app.surf) — the open knowledge base

Meertens number

Number that is its own Gödel number


Number that is its own Gödel number

In number theory and mathematical logic, a Meertens number in a given number base b is a natural number that is its own Gödel number. It was named after Lambert Meertens by Richard S. Bird as a present during the celebration of his 25 years at the CWI, Amsterdam.

Definition

Let n be a natural number. We define the Meertens function for base b 1 F_{b} : \mathbb{N} \rightarrow \mathbb{N} to be the following: :F_{b}(n) = \prod_{i=0}^{k - 1} p_{k - i - 1}^{d_i}. where k = \lfloor \log_{b}{n} \rfloor + 1 is the number of digits in the number in base b, p_i is the i-th prime number (starting at 0), and :d_i = \frac{n \bmod{b^{i+1}} - n \bmod b^i}{b^i} is the value of each digit of the number. A natural number n is a Meertens number if it is a fixed point for F_{b}, which occurs if F_{b}(n) = n. This corresponds to a Gödel encoding.

For example, the number 3020 in base b = 4 is a Meertens number, because :3020 = 2^{3}3^{0}5^{2}7^{0}.

A natural number n is a sociable Meertens number if it is a periodic point for F_{b}, where F_{b}^k(n) = n for a positive integer k, and forms a cycle of period k. A Meertens number is a sociable Meertens number with k = 1, and a amicable Meertens number is a sociable Meertens number with k = 2.

The number of iterations i needed for F_{b}^{i}(n) to reach a fixed point is the Meertens function's persistence of n, and undefined if it never reaches a fixed point.

Meertens numbers and cycles of ''Fb'' for specific ''b''

All numbers are in base b.

bMeertens numbersCyclesComments
210, 110, 1010id=A246532}}
310111 → 20 → 11n
430202 → 10 → 2n
511, 3032000, 21302000n
613012 → 30 → 12n
7202n
8330n
97810000n
1081312000n
11\varnothingn
12\varnothingn
13\varnothingn
1413310n
15\varnothingn
16122 → 4 → 10 → 2n

References

References

  1. [[Richard S. Bird]]. (1998). "Meertens number". [[Journal of Functional Programming]].
  2. {{OEIS
Info: Wikipedia Source

This article was imported from Wikipedia and is available under the Creative Commons Attribution-ShareAlike 4.0 License. Content has been adapted to SurfDoc format. Original contributors can be found on the article history page.

Want to explore this topic further?

Ask Mako anything about Meertens number — get instant answers, deeper analysis, and related topics.

Research with Mako

Free with your Surf account

Content sourced from Wikipedia, available under CC BY-SA 4.0.

This content may have been generated or modified by AI. CloudSurf Software LLC is not responsible for the accuracy, completeness, or reliability of AI-generated content. Always verify important information from primary sources.

Report