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 Fb:ℕ→ℕ to be the following:
Fb(n)=∏i=0k−1pk−i−1di. where k=⌊logbn⌋+1 is the number of digits in the number in base b, pi is the i-th prime number (starting at 0), and
di=nmodbi+1−nmodbibi is the value of each digit of the number. A natural number n is a Meertens number if it is a fixed point for Fb, which occurs if Fb(n)=n. This corresponds to a Gödel encoding. For example, the number 3020 in base b=4 is a Meertens number, because
3020=23305270. A natural number n is a sociable Meertens number if it is a periodic point for Fb, where Fbk(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 Fbi(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.
See also Arithmetic dynamics Dudeney number Factorion Happy number Kaprekar's constant Kaprekar number Narcissistic number Perfect digit-to-digit invariant Perfect digital invariant Sum-product number
References
External links OEIS sequence A189398 (a(n) = 2^d(1) * 3^d(2) * ... * prime(k)^d(k)) OEIS sequence A246532 (Smallest Meertens number in base n, or -1 if none exists.)