Immortal numbers
Last update: 15 March 2024
The immortal numbers (Recreational mathematics) were defined and researched by Daniel Marschall and are defined as integers, which contain themselves as suffix when raised to a power.
Table of contents
1. Definitions
1.0 Digit count function
In this document we use the following function that counts the amount of digits of an integer , represented in base :
1.1 Simple case (base 10, power 2)
Definition: A number is "immortal" (with power 2 at base 10), if it satisfies the following equation:
Example: The number 625 is immortal at base 10, because 625 x 625 = 390625
1.2 General case (base b, power p)
Definition: A number is "immortal" with power at base , if it satisfies the following equation:
Example: The number 2047 ( 3777(8) ) is immortal with power 3 at base 8, because
3777(8)3 = 77720013777(8)
A more general case with complex numbers and negative numbers can be found here.
1.3 Set of immortal numbers
The set contains all immortal numbers with power at base .
Definition:
Example:
1.4 Immortality of base/power-tuples
The "immortality" of a tuple is defined by the amount of immortal numbers divided by the
maximum length of these numbers. The higher the maximum length is chosen, the more accurate is the immortality.
The unit of measurement can be optionally written as ("Immortals per Digit"). Since the numbers are always immortal,
they will be exluded from this calculation.
Formal definition:
Example 1: For base 10, power 2, there are 8 immortal numbers with length of 1-3 digits,
excluding the super immortal numbers and . The immortality of is therefore .
Actually, we know that 2 is the exact value, since 2 is the amount of branches that exists for base 10, power 2.
Example 2: For base 10, power 3, there are 1176 immortal numbers with length of 1-100 digits,
excluding the super immortal numbers and . The immortality of is therefore approximately
If you include negative numbers:
Here you can find a plot that compares the immortality of various tuples.
A more general case with complex numbers and negative numbers can be found here.
1.5 Pseudo immortal base/power-tuples
There are base/power-tuples where only the numbers are immortal.
These base/power-tuples are called "pseudo-immortal". An example is .
Their immortality is zero because:
Here you can find a plot that shows the tuples of some pseudo-immortals.
1.6 Super immortal numbers
Super immortal numbers are numbers which are immortal to every tuple.
Only the numbers satisfy this property (see proof).
2. Branch graph notation
Immortal numbers can be written in graph with "branches".
In base 10, power 2, things are quite easy: There are only 4 branches 0, 1, 5 and 6. The branches 0 and 1 are trivial branches and have no children.
In branch 5, the immortal numbers are 5, 25, 625, 90625, 890625, 2890625, 12890625, 212890625, 8212890625, ...
In branch 6, the immortal numbers are 6, 76, 376, 9376, 109376, 7109376, 87109376, 787109376, 1787109376, ...
In this case, immortal numbers of base 10 power 2 can be generated using a tree node and adding a single digit in front of it. Additionally, the sum of the pairs of digits below branch 5 and 6 always add up to 9.
However, there are more complex graphs, for example base 10, power 3:
Credits: The graphs were created with mind-map-online.de
3. Immortal number search
3.1 Base 10, power 2
There has been a huge effort to find immortal numbers with several million digits. A special algorithm, optimized extensively using SSE/MMX technology, has been written to archive this task.
On July, 9th 2019, the immortal number of base 10, power 2 with 1.1 billion digits was found and on March, 30th 2020, the result was double-verified.
Download the giant immortal numbers:
Get the tool to calculate these numbers (Source codes written in C)
Credits: The search for giant immortal numbers at base-10-power-2 were only made possible by the users of the
matheboard.de thread who contributed the algorithm for finding base-10-power-2 numbers
as well as the contributor of this StackOverflow question
who has showed me how to speed up the algorithm using SSE/MMX instructions.
3.2 Base b, power p
A rather trivial search algorithm has been developed to find all immortal numbers between base 2 and 36 and power 2 till 10, with a maximum length of 100 digits.
Python source code
Get a list of immortal numbers with max length 100 digits, for powers 2 till 10, with the following base:
02
03
04
05
06
07
08
09
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
3.3 Calculation using Chinese Remainder Theorem (power 2)
English: |
German: |
We want to find all
(1) Let be the number of unique prime factors of and the the prime decomposition of be:
with being the valuation (how many times can be divded by )
and .
(2) Let be the length of the number we want to find.
(3) The congruence equation for an immortal number with power 2, base and length can be written as:
(3b) and are coprime: .
(3c) Therefore, each , for , must divide into either just , giving that ; or , giving that . (see additional explanation)
(3d) So, the immortal number for a given length can be found using the following congruence equation:
simplified:
with
(3e) Only the smallest canonical of the congruence equation is immortal (not: ).
(3f) The permutations of generate numbers of a specific branch.
Example for
Therefore:
Now can be found using the Chinese Remainder Theorem.
The permutations generate the different branches of the immortal numbers of :
- Tuple generates branch 0 (only one element: )
- Tuple generates branch 6 (elements for )
- Tuple generates branch 5 (elements for )
- Tuple generates branch 1 (only one element: )
Credits: John Omielan for the proof above and why this scheme cannot be easily applied to powers other than 2.
|
Gesucht sind die Zahlen , die zu der Basis unsterblich sind.
(1) Sei die Anzahl der verschiedenen Primfaktoren von und die kanonische Primfaktorzerlegung von :
wobei die -Bewertung von ist (wie oft durch teilbar ist)
sowie .
(2) sei die Länge der unsterblichen Zahl, die wir suchen..
(3) Die Kongruenzgleichung für die unsterbliche Zahl mit Potenz 2, Basis und Länge kann geschrieben werden als:
(3b) und sind teilerfremd.
(3c) Deswegen muss für alle sich entweder
durch teilen (ergibt ) oder durch (ergibt ).
(Weitere Erklärungen auf Englisch)
(3d) Deswegen gilt die Kongruenzgleichung zur Findung aller mit jeweils Stellen:
bzw.
mit
(3e) Die unsterbliche Zahl der kleinste kanonische Wert der Kongruenzgleichung ist (nicht ).
(3f) Die Permutationen von erzeugen unsterbliche Zahlen eines bestimmten Stamms.
Beispiel für
Es ergibt sich damit folgende Kongruenzgleichung:
kann mit dem Chinesischem Restsatz gefunden werden.
Die Permutationen erzeugen die verschiedenen Stämme der unsterblichen Zahlen von :
- Tupel generiert Stamm 0 (nur ein Element: )
- Tupel generiert Stamm 6 (Elemente für )
- Tupel generiert Stamm 5 (Elemente für )
- Tupel generiert Stamm 1 (nur ein Element: )
|
4. Graphical plots
4.1 Immortal number overview
Python source code
Base 10 filtered:
4.2 Immortality of various (b,p)-tuples
Python source code
A red x denotes an immortality of zero. Dots denote an immortality.
The bigger the dots are, the greater is the immortality of .
Green dots denote an immortality of .
Blue dots denote an immortality of .
4.3 Pseudo immortal base/power tuples
Python source code
5. Miscellaneous proofs, theorems and attributes
5.1 An immortal number with power p is also immortal with power p+k(p-1)
We want to prove that
Let's begin with:
With mathematical induction we can now prove that
therefore
Since all immortal numbers of power are also immortal in power , we have now proven that
5.2 Theorem of complete immortality
Theorem: For every number there is a tuple so that .
In other words, every number is immortal to some specific base and power.
Note: The theorem of complete immortality also leads to the conclusion:
Proof:
(0) Let with an arbitary value.
(1) Let be a prime that is not a prime factor of ( ),
then is not a prime factor of either ( ).
In other words: .
(2) Since we have , we can create the following term using the Fermat-Euler theorem:
Transforming it a bit, we get:
(3) If we now define and insert the definition of from above, then we get:
which is equivalent to:
Credits: Many thanks to Finn from matheboard.de
for showing me how to prove this theorem!
5.3 The only super-immortals are 0 and 1
We want to prove that the only super-immortals are 0 and 1.
(1) First, we verify that 0 and 1 are immortal to every :
(1.1)
(1.2)
(2) To prove that the only super-immortals are 0 and 1, we want to find a tuple for every that will cause :
(3) The definition of an immortal number is
We can see that a number can only be immortal if is a number that has more digits (in the notation of base ) than .
(4) If we choose a high enough base , then and would have the same amounts of digits, and therefore could not be immortal.
So, we need to find a , so that .
If we choose , we get:
If , then and therefore:
, which is true, if .
(5) We continue by taking the general definition of an immortal number
which can also be written as:
Since and ( because if ) :
, which is false if .
Side note:
If , then:
(6) Therefore:
(7) Bringing together the results of step (1) and (6), we can conclude:
5.4 Only 0 and 1 are immortal to a base which has only one unique prime in its integer factorization (power 2)
Theorem:
If is prime, or the if the prime decomposition of consists only of a single prime,
then there are no immortal numbers except .
Proof:
Since the prime decomposition only consists of a single product ,
there is just one congruence equation (see Solution via Chinese Remainder Theorem above):
with and being the length of .
Therefore, the solutions of are
6. Extension with complex numbers
6.1 General case (base b, power p) with complex numbers
Definition: A complex number is "immortal" with power at base , if it satisfies the following equation:
This general case also allows negative numbers, e.g. is immortal with base 10 and power 2, because (-313+216i)2 = (51313-135216i).
6.2 Complex immortality of base/power-tuples
The "complex immortality" of a tuple is defined by the amount of positive complex immortal numbers divided by the
maximum length of the imaginary and real part of these complex numbers raised to the cardinality of the set. The higher the maximum length is chosen, the more accurate is the immortality.
The unit of measurement can be optionally written as ("Immortals per Digit"). Since the numbers are always immortal,
they will be exluded from this calculation.
Formal definition:
When all components are positive:
When negative numbers are allowed:
Example: For base 10, power 2, there are 27 immortal complex numbers (10 without imaginary part and 17 with imaginary part) with imaginary/real part with length of 1-5 digits, excluding the super immortal numbers and . The complex immortality of with only positive components is allowed is therefore approximately .
In comparison, the non-complex immortality (natural numbers ) for base 2, power 10, with 1-5 digits is:
.
6.3 Complex immortal number search
See a list of 1700 found immortal numbers with non-zero imaginary part here
Source code can be found here
6.4 Proof that (k+ki) is not immortal with power 2 for k ≠ 0 at any base b
Let .
Assume .
Therefore, can only be 0.
Then, can only be 0, too, due to our previous assumption and additionally because .
So, the only possibility is
7. Hypercomplex numbers
7.0 General case for all complex and hypercomplex numbers
General rule for all complex and hypercomplex number systems :
Definition: is "immortal" with power at base , if it satisfies the following equation:
where is the digit count function and is the -th element of the vector , starting with .
Definition: The "immortality" when all components are positive is:
where is the -th element of the vector , starting with .
Definition: The "immortality" when negative numbers are allowed is:
where is the -th element of the vector , starting with .
7.1 Quaternions
7.1.1 General case (base b, power p) with Quaternions
Definition: A Quaternion is "immortal" with power at base , if it satisfies the following equation:
where is the digit count function and is the -th element of the vector , starting with .
Example: is immortal with base 10 and power 2, because (93+2i+4j+6k)2 =
(8593+372i+744j+1116k).
This general case also allows negative numbers.
7.1.2 Quaternion immortality of base/power-tuples
Quaternion immortality follows the same scheme as the complex immortality.
When all components are positive:
where is the -th element of the vector , starting with .
When negative numbers are allowed:
where is the -th element of the vector , starting with .
Approximation for various powers at base 10, using quaternions with 1-2 digits and only positive components;
2 is subtracted from the amount of integers in order to exclude the super immortal numbers 0 and 1:
7.1.3 Quaternion immortal number search
Only a very short search for Quaternion immortal numbers has been done with only 1-2 digits and powers 2 and 3.
Source code and results can be found here
7.2 Octonions
7.2.1 General case (base b, power p) with Octonions
Definition: An Octonion is "immortal" with power at base , if it satisfies the following equation:
where is the digit count function and is the -th element of the vector , starting with .
Example: is immortal with base 10 and power 2,
because
(3e0
+ 0e1
+ 4e2
+ 6e3
+ 4e4
+ 4e5
+ 2e6
+ 2e7)2 =
(-83e0
+ 0e1
+ 24e2
+ 36e3
+ 24e4
+ 24e5
+ 12e6
+ 12e7).
This general case also allows negative numbers.
7.2.2 Octonions immortality of base/power-tuples
Formal definition:
When all components are positive:
where is the -th element of the vector , starting with .
When negative numbers are allowed:
where is the -th element of the vector , starting with .
Approximation for various powers at base 10, using immortal Octonions with 1 digit and only positive parts;
2 is subtracted from the amount of integers in order to exclude the super immortal numbers 0 and 1:
7.2.3 Octonion immortal number search
Only a very short search for Octonions immortal numbers has been done with only 1-2 digits and power 2.
Source code and results can be found here
7.3 Sedenions
7.3.1 General case (base b, power p) with Sedenions
Definition: A Sedenion is "immortal" with power at base , if it satisfies the following equation:
where is the digit count function and is the -th element of the vector , starting with .
Example: is immortal with base 10 and power 2,
because
(3e0
+ 0e1
+ 0e2
+ 0e3
+ 2e4
+ 2e5
+ 2e6
+ 2e7
+ 2e8
+ 2e9
+ 2e10
+ 0e11
+ 0e12
+ 0e13
+ 2e14
+ 0e15)2 =
(-23e0
+ 0e1
+ 0e2
+ 0e3
+ 12e4
+ 12e5
+ 12e6
+ 12e7
+ 12e8
+ 12e9
+ 12e10
+ 0e11
+ 0e12
+ 0e13
+ 12e14
+ 0e15).
This general case also allows negative numbers.
7.3.2 Sedenions immortality of base/power-tuples
Formal definition:
When all components are positive:
where is the -th element of the vector , starting with .
When negative numbers are allowed:
where is the -th element of the vector , starting with .
It turns out that the following Sedenions have a 20% chance to be immortal at base 10, power 2 (source code to test this):
with .
Therefore, the immortality is at least .
7.3.3 Sedenion immortal number search
A few immortal Sedenions have been found.
Source code and results can be found here
7.4. Dual Numbers
7.4.1 General case (base b, power p) with Dual Numbers
Definition: A Dual Number is "immortal" with power at base , if it satisfies the following equation:
where is the digit count function.
Note: Multiplication of Two Dual Numbers is .
Therefore, raising a Dual Number to a power is done like this: .
Example: is immortal with base 10 and power 5,
because (3+25ε)5 =
(243+10125ε).
This general case also allows negative numbers.
7.4.2 Dual Numbers immortality of base/power-tuples
Dual Numbers immortality follows the same scheme as the complex immortality.
Formal definition:
When all components are positive:
When negative numbers are allowed:
Approximation for various powers at base 10, using immortal dual numbers with 1-5 digits and only positive parts;
2 is subtracted from the amount of integers in order to exclude the super immortal numbers 0 and 1:
7.4.3 Dual Numbers immortal number search
Source code and results can be found here
7.5 Split Complex Numbers
Also called hyperbolic numbers, perplex numbers, and double numbers.
7.5.1 General case (base b, power p) with Split Complex Numbers
Definition: A Split Complex Number is "immortal" with power at base , if it satisfies the following equation:
where is the digit count function.
Note: Squaring a Split Complex Number works like this: , as the multiplication is .
Example: is immortal with base 10 and power 2,
because (3+8j)2 =
(73+48j).
This general case also allows negative numbers.
7.5.2 Split Complex Numbers immortality of base/power-tuples
Split Complex Numbers immortality follows the same scheme as the complex immortality.
Formal definition:
When all components are positive:
When negative numbers are allowed:
Approximation for various powers at base 10, using immortal split complex numbers with 1-5 digits and only positive parts;
2 is subtracted from the amount of integers in order to exclude the super immortal numbers 0 and 1:
7.5.3 Split Complex Numbers immortal number search
Source code and results can be found here
7.6 Other Hypercomplex Number Systems
There are more hypercomplex numbers systems such as:
I have collected a few rules I have figured out here.
8. Alternative immortal numbers
We can extend the definition of immortal numbers by searching the source number not only at the ending but at any position in the resulting power.
We define which is the amount of digits which is omitted at the right.
The definition of these immortal numbers (in this case only complex numbers, but also works for Quaternions, Octonions, etc.) is:
where is the digit count function.
Example: because 146512 = 214651801
Here you can find a list of alternative immortal numbers with .
9. Open questions and unproven theorems
Help and suggestions are welcome!
#1:
#2:
#3: Is there a base that does not have any non-trivial (not 0,1) immortal numbers?
#4: Is there a power that does not have any non-trivial (not 0,1) immortal numbers?
#5: The topic "Base B / Power P" is not researched very much. It is not known how to find "Base B / Power P" immortal numbers without brute-forcing them.
#6: some old notes from 2011 (in German):
- Jede Basis hat immer 0 und 1 als unsterbliche Zahlen: bzw.
- , da die Darstellung als "zusammengefasste Primfaktoren" für jede Basis eindeutig ist. (???)
- Es ist unmöglich, dass durch das Zusammenfassen von Primfaktoren eine Menge entsteht, die wiederum doppelte Elemente enthält, da bzw. mit als Wiederholungen von den Primzahlen
- Bei einer Basis mit verschiedene Primfaktoren gibt es Permutationen und somit Stämme (inklusive der 2 trivialen Stämme )
- Vermutung: Jede Basis mit mindestens 2 verschiedenen Primfaktoren besitzt unsterbliche Zahlen, die nicht aus den trivialen Stämmen entspringen. Äquivalente Aussage: Der chinesische Restsatz ist immer lösbar.
Various notes and other stuff: runs, old_notes
Credits:
The MathML equations are rendered by MathJax because Google Chrome does not care about MathML.
Contact: info&daniel-marschall.de