This articleneeds additional citations forverification. Please helpimprove this article byadding citations to reliable sources. Unsourced material may be challenged and removed. Find sources: "Multiplicative digital root" – news ·newspapers ·books ·scholar ·JSTOR(October 2019) (Learn how and when to remove this message) |
In number theory, themultiplicative digital root of anatural number in a givennumber base is found bymultiplying thedigits of together, then repeating this operation until only a single-digit remains, which is called the multiplicative digital root of.[1][2] The multiplicative digital root for the first few positive integers are:
Multiplicative digital roots are the multiplicative equivalent ofdigital roots, with a major difference being that for natural numbers in base, the multiplicative digital roots can be 0 to 9, whereas digital roots can only be 1 to 9.
Let be a natural number. We define thedigit 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 amultiplicative digital root if it is afixed point for, which occurs if.
For example, in base, 0 is the multiplicative digital root of 9876, as
All natural numbers arepreperiodic 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.
The number of iterations needed for to reach a fixed point is themultiplicativepersistence of. The multiplicative persistence is undefined if it never reaches a fixed point.
Inbase 10, it is conjectured that there is no number with a multiplicative persistence: this is known to be true for numbers.[3][4] The smallest numbers with persistence 0, 1, ... are:
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.[3]
The multiplicative digital root can be extended to the negative integers by use of asigned-digit representation to represent each integer.
The example below implements the digit product described in the definition above to search for multiplicative digital roots and multiplicative persistences inPython.
defdigit_product(x:int,b:int)->int:ifx==0:return0total=1whilex>1:ifx%b==0:return0ifx%b>1:total=total*(x%b)x=x//breturntotaldefmultiplicative_digital_root(x:int,b:int)->int:seen=[]whilexnotinseen:seen.append(x)x=digit_product(x,b)returnxdefmultiplicative_persistence(x:int,b:int)->int:seen=[]whilexnotinseen:seen.append(x)x=digit_product(x,b)returnlen(seen)-1