Jump to content

Multiplicative digital root: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Add conjecture
(64 intermediate revisions by the same user not shown)
Line 1: Line 1:
The '''multiplicative digital root''' of a positive integer ''n'' is found by [[multiplication|multiplying]] the digits of ''n'' together, then repeating this operation until only a single digit remains. This single-digit number is called the multiplicative digital root of ''n''.<ref>{{Mathworld|title=Multiplicative Persistence|urlname=MultiplicativePersistence}}</ref>
In number theory, the '''multiplicative digital root''' of a [[natural number]] <math>n</math> in a given number base <math>b</math> is found by [[multiplication|multiplying]] the digits of <math>n</math> together, then repeating this operation until only a single-digit remains, which is called the multiplicative digital root of <math>n</math>.<ref>{{Mathworld|title=Multiplicative Persistence|urlname=MultiplicativePersistence}}</ref> Multiplicative digital roots are the multiplicative equivalent of [[digital root]]s.


== Definition ==
Multiplicative digital roots depend upon the [[radix|base]] in which ''n'' is written. If the term is used without qualification, it is assumed that ''n'' is written in base 10.
Let <math>n</math> be a natural number. We define the '''digit product''' for base <math>b > 1</math> <math>F_{b} : \mathbb{N} \rightarrow \mathbb{N}</math> to be the following:
:<math>F_{b}(n) = \prod_{i=0}^{k - 1} d_i</math>
where <math>k = \lfloor \log_{b}{n} \rfloor + 1</math> is the number of digits in the number in base <math>b</math>, and
:<math>d_i = \frac{n \bmod{b^{i+1}} - n \bmod b^i}{b^i}</math>
is the value of each digit of the number. A natural number <math>n</math> is a '''multiplicative digital root''' if it is a [[Fixed point (mathematics)|fixed point]] for <math>F_{b}</math>, which occurs if <math>F_{b}(n) = n</math>.


Multiplicative digital roots are the multiplicative equivalent of [[digital root]]s.
For example, in base <math>b = 10</math>, 0 is the multiplicative digital root of 9876, as
: <math>F_{10}(9876) = (9)(8)(7)(6) = 3024</math>
: <math>F_{10}(3024) = (3)(0)(2)(4) = 0</math>
: <math>F_{10}(0) = 0</math>


All natural numbers <math>n</math> are [[periodic point#iterated function|preperiodic points]] for <math>F_{b}</math>, regardless of the base. This is because if <math>n \geq b</math>, then
It has been conjectured that there are only a finite number of numbers with only digits in the 2-9 interval whose multiplicative digital root is not 0; the largest of these is 77,333,222,222,222,222,222,222,222,222,222,222,222,222,222 (44 digits.)
:<math>n = \sum_{i=0}^{k - 1} d_i b^i</math>
and therefore
:<math>F_{b}(n) = \prod_{i=0}^{k - 1} d_i = d_{k - 1} \prod_{i=0}^{k - 2} d_i < d_{k - 1} b^{k - 1} < \sum_{i=0}^{k - 1} d_i b^i = n</math>
If <math>n < b</math>, then trivially
:<math>F_{b}(n) = n</math>
Therefore, the only possible multiplicative digital roots are the natural numbers <math>0 \leq n < b</math>, and there are no cycles other than the fixed points of <math>0 \leq n < b</math>.


==Multiplicative persistence==
== Example ==
{{See also|Persistence of a number}}
9876 would be reduced as 9876 -> 9×8×7×6 = 3024 -> 3×0×2×4 = 0. So the multiplicative digital root of 9876 is 0 and its [[multiplicative persistence]] (the number of steps required to reach a single digit) is 2.
The number of iterations <math>i</math> needed for <math>F_{b}^{i}(n)</math> to reach a fixed point is the '''multiplicative [[Persistence of a number|persistence]]''' of <math>n</math>. The multiplicative persistence is undefined if it never reaches a fixed point.

In [[base 2]], the multiplicative persistence of 0 and 1 is zero, and the multiplicative persistence of all numbers greater than 1 is one.

In [[base 3]], it is conjectured that there is no number with a multiplicative persistence <math>i > 3</math>: this is the case for numbers <math>n \leq 3^{7776} - 1</math>. The smallest numbers with persistence 0, 1, ... are:
: 0, 10, 22, 222
The search for these numbers can be sped up by using additional properties of the digits of these record-breaking numbers. These digits must all be 2, and their digit product is therefore a [[power of 2]]. It is conjectured that for <math>p > 15</math>, the [[base 3]] representation of <math>2^p</math> contains at least one digit equal to zero. Based on these restrictions, the number of candidates for <math>k</math>-digit numbers with record-breaking persistence is only proportional to <math>k</math>, a tiny fraction of all possible <math>k</math>-digit numbers.

In [[base 10]], it is conjectured that there is no number with a multiplicative persistence <math>i > 11</math>: this is known to be true for numbers <math>n \leq 10^{20000}</math>.<ref name="OEIS 3001" /><ref>{{cite web|url=http://mathworld.wolfram.com/MultiplicativePersistence.html|title=Multiplicative Persistence|author=Eric W. Weisstein|website=mathworld.wolfram.com}}</ref> The smallest numbers with persistence 0, 1, ... are:
:0, 10, 25, 39, 77, 679, 6788, 68889, 2677889, 26888999, 3778888999, 277777788888899. {{OEIS|A003001}}

The search for these numbers can be sped up by using additional properties of the decimal digits of these record-breaking numbers. These digits must be sorted, and, except for the first two digits, all digits must be 7, 8, or 9. There are also additional restrictions on the first two digits.
Based on these restrictions, the number of candidates for <math>k</math>-digit numbers with record-breaking persistence is only proportional to the square of <math>k</math>, a tiny fraction of all possible <math>k</math>-digit numbers. However, any number that is missing from the sequence above would have multiplicative persistence > 11; such numbers are believed not to exist, and would need to have over 20,000 digits if they do exist.<ref name="OEIS 3001">{{Cite OEIS|A003001}}</ref>

== Largest number with nonzero multiplicative digital root ==
It has been conjectured in base <math>b > 2</math> that there are only a finite number of numbers with only digits greater than 1 whose multiplicative digital root is not 0. The largest such number only consists of [[prime number]] digits, as any composite digit can be split into multiple prime number digits, making the number larger.

All numbers are in base <math>b</math>, and <math>\Omega(n)</math> is a [[prime omega function]].

{| class="wikitable"
! Base <math>b > 2</math>
! Largest number <math>n</math> found with digits <math>d > 1</math> whose multiplicative digital root is not 0
! Prime factorisation of digit product <math>F_b(n)</math>
! Number of digits <math>k = \Omega(F_b(n))</math>
! Bounds
|-
| 3 || 2222 || <math>2^{4}</math> || 4 || <math>F_b(n) \leq 2^{1296}</math>
|-
| 4 || 3332 || <math>2^{3} 3^{1}</math> || 4 || <math>F_b(n) \leq 6^{1296}</math>
|-
| 5 || 33222 22222 22222 22222 22222 22222 22222 22222 22 || <math>2^{40} 3^{2}</math> || 42 || <math>F_b(n) \leq 6^{1296}</math>
|-
| 6 || 22222 22222 22222 || <math>2^{15} 3^{0} 5^{0}</math> || 15 || <math>F_b(n) \leq 30^{1296}</math>
|-
| 7 || 33333 33333 33333 33333 33333 33333 33333 33333 33332 || <math>2^{1} 3^{44} 5^{0}</math> || 45 || <math>F_b(n) \leq 30^{1296}</math>
|-
| 10 || 77333 22222 22222 22222 22222 22222 22222 22222 2222 || <math>2^{39} 3^{3} 5^{0} 7^{2}</math> || 44 ||
|}

==Extension to negative integers==
The multiplicative digital root can be extended to the negative integers by use of a [[signed-digit representation]] to represent each integer.

==Programming example==
The example below implements the digit product described in the definition above to search for multiplicative digital roots and multiplicative persistences in [[Python (programming language)|Python]].
<source lang=python>
def digit_product(x, b):
if x == 0:
return 0
total = 1
while x > 1:
if x % b == 0:
return 0
if x % b > 1:
total = total * (x % b)
x = x // b
return total

def multiplicative_digital_root(x, b):
seen = []
while x not in seen:
seen.append(x)
x = digit_product(x, b)
return x

def multiplicative_persistence(x, b):
seen = []
while x not in seen:
seen.append(x)
x = digit_product(x, b)
return len(seen) - 1
</source>

==See also==
* [[Arithmetic dynamics]]
* [[Digit sum]]
* [[Digital root]]


== References ==
== References ==
<references/>
<references/>

{{Classes of natural numbers}}


[[Category:Algebra]]
[[Category:Algebra]]
[[Category:Arithmetic dynamics]]
[[Category:Base-dependent integer sequences]]
[[Category:Number theory]]
[[Category:Number theory]]


{{numtheory-stub}}

Revision as of 17:28, 8 October 2019

In number theory, the multiplicative digital root of a natural number in a given number base is found by multiplying the digits of together, then repeating this operation until only a single-digit remains, which is called the multiplicative digital root of .[1] Multiplicative digital roots are the multiplicative equivalent of digital roots.

Definition

Let be a natural number. We define the digit product for base to be the following:

where is the number of digits in the number in base , and

is the value of each digit of the number. A natural number is a multiplicative digital root if it is a fixed point for , which occurs if .

For example, in base , 0 is the multiplicative digital root of 9876, as

All natural numbers are preperiodic points for , regardless of the base. This is because if , then

and therefore

If , then trivially

Therefore, the only possible multiplicative digital roots are the natural numbers , and there are no cycles other than the fixed points of .

Multiplicative persistence

The number of iterations needed for to reach a fixed point is the multiplicative persistence of . The multiplicative persistence is undefined if it never reaches a fixed point.

In base 2, the multiplicative persistence of 0 and 1 is zero, and the multiplicative persistence of all numbers greater than 1 is one.

In base 3, it is conjectured that there is no number with a multiplicative persistence : this is the case for numbers . The smallest numbers with persistence 0, 1, ... are:

0, 10, 22, 222

The search for these numbers can be sped up by using additional properties of the digits of these record-breaking numbers. These digits must all be 2, and their digit product is therefore a power of 2. It is conjectured that for , the base 3 representation of contains at least one digit equal to zero. Based on these restrictions, the number of candidates for -digit numbers with record-breaking persistence is only proportional to , a tiny fraction of all possible -digit numbers.

In base 10, it is conjectured that there is no number with a multiplicative persistence : this is known to be true for numbers .[2][3] The smallest numbers with persistence 0, 1, ... are:

0, 10, 25, 39, 77, 679, 6788, 68889, 2677889, 26888999, 3778888999, 277777788888899. (sequence A003001 in the OEIS)

The search for these numbers can be sped up by using additional properties of the decimal digits of these record-breaking numbers. These digits must be sorted, and, except for the first two digits, all digits must be 7, 8, or 9. There are also additional restrictions on the first two digits. Based on these restrictions, the number of candidates for -digit numbers with record-breaking persistence is only proportional to the square of , a tiny fraction of all possible -digit numbers. However, any number that is missing from the sequence above would have multiplicative persistence > 11; such numbers are believed not to exist, and would need to have over 20,000 digits if they do exist.[2]

Largest number with nonzero multiplicative digital root

It has been conjectured in base that there are only a finite number of numbers with only digits greater than 1 whose multiplicative digital root is not 0. The largest such number only consists of prime number digits, as any composite digit can be split into multiple prime number digits, making the number larger.

All numbers are in base , and is a prime omega function.

Base Largest number found with digits whose multiplicative digital root is not 0 Prime factorisation of digit product Number of digits Bounds
3 2222 4
4 3332 4
5 33222 22222 22222 22222 22222 22222 22222 22222 22 42
6 22222 22222 22222 15
7 33333 33333 33333 33333 33333 33333 33333 33333 33332 45
10 77333 22222 22222 22222 22222 22222 22222 22222 2222 44

Extension to negative integers

The multiplicative digital root can be extended to the negative integers by use of a signed-digit representation to represent each integer.

Programming example

The example below implements the digit product described in the definition above to search for multiplicative digital roots and multiplicative persistences in Python.

def digit_product(x, b):
    if x == 0:
      return 0
    total = 1
    while x > 1:
        if x % b == 0:
            return 0
        if x % b > 1:
            total = total * (x % b)
        x = x // b
    return total

def multiplicative_digital_root(x, b):
    seen = []
    while x not in seen:
        seen.append(x)
        x = digit_product(x, b)
    return x

def multiplicative_persistence(x, b):
    seen = []
    while x not in seen:
        seen.append(x)
        x = digit_product(x, b)
    return len(seen) - 1

See also

References

  1. ^ Weisstein, Eric W. "Multiplicative Persistence". MathWorld.
  2. ^ a b Sloane, N. J. A. (ed.). "Sequence A003001". The On-Line Encyclopedia of Integer Sequences. OEIS Foundation.
  3. ^ Eric W. Weisstein. "Multiplicative Persistence". mathworld.wolfram.com.