Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Multiplicative digital root

From Wikipedia, the free encyclopedia
Mathematical formula
icon
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 numbern{\displaystyle n} in a givennumber baseb{\displaystyle b} is found bymultiplying thedigits ofn{\displaystyle n} together, then repeating this operation until only a single-digit remains, which is called the multiplicative digital root ofn{\displaystyle n}.[1][2] The multiplicative digital root for the first few positive integers are:

0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 2, 4, 6, 8, 0, 2, 4, 6, 8, 0, 3, 6, 9, 2, 5, 8, 2, 8, 4, 0. (sequenceA031347 in theOEIS)

Multiplicative digital roots are the multiplicative equivalent ofdigital roots, with a major difference being that for natural numbers in baseb=10{\displaystyle b=10}, the multiplicative digital roots can be 0 to 9, whereas digital roots can only be 1 to 9.

Definition

[edit]

Letn{\displaystyle n} be a natural number. We define thedigit product for baseb>1{\displaystyle b>1}Fb:NN{\displaystyle F_{b}:\mathbb {N} \rightarrow \mathbb {N} } to be the following:

Fb(n)=i=0k1di{\displaystyle F_{b}(n)=\prod _{i=0}^{k-1}d_{i}}

wherek=logbn+1{\displaystyle k=\lfloor \log _{b}{n}\rfloor +1} is the number of digits in the number in baseb{\displaystyle b}, and

di=nmodbi+1nmodbibi{\displaystyle 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 numbern{\displaystyle n} is amultiplicative digital root if it is afixed point forFb{\displaystyle F_{b}}, which occurs ifFb(n)=n{\displaystyle F_{b}(n)=n}.

For example, in baseb=10{\displaystyle b=10}, 0 is the multiplicative digital root of 9876, as

F10(9876)=(9)(8)(7)(6)=3024{\displaystyle F_{10}(9876)=(9)(8)(7)(6)=3024}
F10(3024)=(3)(0)(2)(4)=0{\displaystyle F_{10}(3024)=(3)(0)(2)(4)=0}
F10(0)=0{\displaystyle F_{10}(0)=0}

All natural numbersn{\displaystyle n} arepreperiodic points forFb{\displaystyle F_{b}}, regardless of the base. This is because ifnb{\displaystyle n\geq b}, then

n=i=0k1dibi{\displaystyle n=\sum _{i=0}^{k-1}d_{i}b^{i}}

and therefore

Fb(n)=i=0k1di=dk1i=0k2di<dk1bk1<i=0k1dibi=n{\displaystyle 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}

Ifn<b{\displaystyle n<b}, then trivially

Fb(n)=n{\displaystyle F_{b}(n)=n}

Therefore, the only possible multiplicative digital roots are the natural numbers0n<b{\displaystyle 0\leq n<b}, and there are no cycles other than the fixed points of0n<b{\displaystyle 0\leq n<b}.

Multiplicative persistence

[edit]

The number of iterationsi{\displaystyle i} needed forFbi(n){\displaystyle F_{b}^{i}(n)} to reach a fixed point is themultiplicativepersistence ofn{\displaystyle n}. 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 persistencei>11{\displaystyle i>11}: this is known to be true for numbersn1020585{\displaystyle n\leq 10^{20585}}.[3][4] The smallest numbers with persistence 0, 1, ... are:

0, 10, 25, 39, 77, 679, 6788, 68889, 2677889, 26888999, 3778888999, 277777788888899. (sequenceA003001 in theOEIS)

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 fork{\displaystyle k}-digit numbers with record-breaking persistence is only proportional to the square ofk{\displaystyle k}, a tiny fraction of all possiblek{\displaystyle k}-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]

Extension to negative integers

[edit]

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

Programming example

[edit]

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

See also

[edit]

References

[edit]
  1. ^Weisstein, Eric W."Multiplicative Digital Root".MathWorld.
  2. ^Sloane, N. J. A. (ed.)."Sequence A031347".TheOn-Line Encyclopedia of Integer Sequences. OEIS Foundation.
  3. ^abSloane, N. J. A. (ed.)."Sequence A003001".TheOn-Line Encyclopedia of Integer Sequences. OEIS Foundation.
  4. ^Weisstein, Eric W."MultiplicativePersistence".MathWorld.

Literature

[edit]

External links

[edit]
Classes ofnatural numbers
Powers and related numbers
Of the forma × 2b ± 1
Other polynomial numbers
Recursively defined numbers
Possessing a specific set of other numbers
Expressible via specific sums
2-dimensional
centered
non-centered
3-dimensional
centered
non-centered
pyramidal
4-dimensional
non-centered
Combinatorial numbers
Divisor functions
Prime omega functions
Euler's totient function
Aliquot sequences
Primorial
Otherprime factor ordivisor related numbers
Numeral system-dependent numbers
Arithmetic functions
anddynamics
Digit sum
Digit product
Coding-related
Other
P-adic numbers-related
Digit-composition related
Digit-permutation related
Divisor-related
Other
Generated via asieve
Sorting related
Graphemics related
Retrieved from "https://en.wikipedia.org/w/index.php?title=Multiplicative_digital_root&oldid=1332873096"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2026 Movatter.jp