Multiplicative digital root

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][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. (sequence A031347 in the OEIS)

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 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:

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.[3]

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: int, b: int) -> int:
    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: int, b :int) -> int:
    seen = []
    while x not in seen:
        seen.append(x)
        x = digit_product(x, b)
    return x


def multiplicative_persistence(x: int, b: int) -> int:
    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 Digital Root". MathWorld.
  2. ^ Sloane, N. J. A. (ed.). "Sequence A031347". The On-Line Encyclopedia of Integer Sequences. OEIS Foundation.
  3. ^ a b Sloane, N. J. A. (ed.). "Sequence A003001". The On-Line Encyclopedia of Integer Sequences. OEIS Foundation.
  4. ^ Weisstein, Eric W. "MultiplicativePersistence". MathWorld.

Literature

External links

Read other articles:

Giant planet primarily consisting of compounds with freezing points exceeding 100°K This article is about the type of planet. For other uses, see Ice giant (disambiguation). Uranus photographed by Voyager 2 in January 1986Neptune photographed by Voyager 2 in August 1989 An ice giant is a giant planet composed mainly of elements heavier than hydrogen and helium, such as oxygen, carbon, nitrogen, and sulfur. There are two ice giants in the Solar System: Uranus and Neptune. In astrophysics and pla…

У этого термина существуют и другие значения, см. Чайки (значения). Чайки Доминиканская чайкаЗападная чайкаКалифорнийская чайкаМорская чайка Научная классификация Домен:ЭукариотыЦарство:ЖивотныеПодцарство:ЭуметазоиБез ранга:Двусторонне-симметричныеБез ранга:Вторичн…

Swedish conductor This article has multiple issues. Please help improve it or discuss these issues on the talk page. (Learn how and when to remove these template messages) This article possibly contains original research. Please improve it by verifying the claims made and adding inline citations. Statements consisting only of original research should be removed. (December 2023) (Learn how and when to remove this message) This biography of a living person needs additional citations for verificati…

Australian Championships 1960 Sport Tennis Data 22 gennaio - 1º febbraio Edizione 48a Categoria Grande Slam (ITF) Località Brisbane, Australia Campioni Singolare maschile Rod Laver Singolare femminile Margaret Court Doppio maschile Rod Laver / Bob Mark Doppio femminile Maria Bueno / Christine Truman Doppio misto Jan Lehane O'Neill / Trevor Fancutt 1959 1961 Gli Australian Championships 1960 (conosciuto oggi come Australian Open) sono stati la 48ª edizione degli Australian Championships e prim…

Copertina di spartiti del 1916; ortografie come jas, jass e jasz furono viste fino al 1918. L'origine della parola jazz è una delle etimologie più ricercate nell'inglese americano moderno. L'interesse per la parola, denominata Parola del Novecento dalla American Dialect Society, ha dato luogo a ricerche considerevoli e la storia linguistica è ben documentata. Jazz iniziò come un termine slang della West-Coast intorno al 1912. Il significato variava, ma la parola inizialmente non si riferiva …

Lambang Pomerania. Pomerania (Polandia: Pomorze, Jerman: Pommern dan Pommerellen) adalah sebuah daerah di Eropa Tengah yang saat ini terbagi di antara Jerman dan Polandia. Pomerania Barat berada di Jerman dan Pomerania Timur berada di Polandia. Sungai Oder membelah wilayah ini menjadi dua bagian. Selain itu ada pula Pomerania kecil (Pommerellen) di Polandia di sekitar kota Gdansk. Sejarah modern Pomerania di Kekaisaran Jerman (berwarna merah). Sebelah kiri adalah Pomerania sejati sedangkan sebel…

2020年夏季奥林匹克运动会波兰代表團波兰国旗IOC編碼POLNOC波蘭奧林匹克委員會網站olimpijski.pl(英文)(波兰文)2020年夏季奥林匹克运动会(東京)2021年7月23日至8月8日(受2019冠状病毒病疫情影响推迟,但仍保留原定名称)運動員206參賽項目24个大项旗手开幕式:帕维尔·科热尼奥夫斯基(游泳)和马娅·沃什乔夫斯卡(自行车)[1]闭幕式:卡罗利娜·纳亚(皮划艇)[2…

Mercedes-BenzSede GermaniaStoccarda CategorieDeutsche Tourenwagen Masters Formula 1 Campionato Mondiale Sportprototipi Dati generaliAnni di attivitàdal 1914 Mercedes-Benz è un costruttore tedesco che ha sempre partecipato alle competizioni automobilistiche dall'inizio del XX secolo. La Mercedes fu presente nelle competizioni Grand Prix sin dall'inizio del novecento: si ricordano le prestigiose vittorie nei Grand Prix di Francia del 1908 e 1914, ma soprattutto le moltissime affermazioni ne…

الشيخ  يوسف بن راشد آل الشيخ مبارك معلومات شخصية الميلاد 21 ديسمبر 1900   الزبير  الوفاة 30 يوليو 1995 (94 سنة)   الهفوف  مواطنة سلطنة نجد (1921–1926) مملكة الحجاز ونجد وملحقاتها (1926–1932) السعودية (1932–1995)  الديانة الإسلام[1]،  وأهل السنة والجماعة[1]  الأب راشد بن …

1999 basketball video game 1999 video gameNBA 2KNorth American cover art featuring Allen IversonDeveloper(s)Visual ConceptsPublisher(s)SegaSeriesNBA 2KPlatform(s)DreamcastReleaseNA: November 11, 1999[1]EU: August 2, 2000Genre(s)SportsMode(s)Single-player, multiplayer NBA 2K is a 1999 sports video game developed by Visual Concepts and published by Sega. The first game in the NBA 2K series, it was initially released for Dreamcast in 1999. Allen Iverson of the Philadelphia 76ers is featured…

Former theatre in Manhattan, New York Advertisement for the opening night of the 39th Street Theatre The 39th Street Theatre was a playhouse in New York City located at the corner of 39th Street and Broadway. Originally called Nazimova's 39th Street Theatre after the actress Alla Nazimova, it was in operation from 1910 to 1925 when it was demolished to make way for an office building. Throughout its existence, it was owned by the Shubert family. Its architect was William Albert Swasey, who had d…

ScorIndustriReasuransiDidirikan1970KantorpusatPrancisWilayah operasiSeluruh duniaTokohkunciDenis Kessler (CEO)Situs webhttp://www.scor.com/ Scor adalah perusahaan reasuransi level 1 yang berbasis di Paris.[1] Ini adalah salah satu reasuransi utama di dunia. Saham SCOR terdaftar di Euronext Paris. Société commerciale de réassurance (SCOR) didirikan di Paris pada tahun 1970.[2] Dipimpin oleh Denis Kessler. Referensi ^ (Prancis)Denis Kessler, Scor : « Le XXIe siècle s…

Sporting event delegationNauru at the2022 Commonwealth GamesFlag of NauruCGF codeNRUCGANauru Olympic CommitteeWebsiteoceaniasport.com/nauruin Birmingham, England28 July 2022 (2022-07-28) – 8 August 2022 (2022-08-08)Competitors16 (11 men and 5 women) in 5 sportsFlag bearers Christon AmramMaximina UepaMedalsRanked =40th Gold 0 Silver 0 Bronze 1 Total 1 Commonwealth Games appearances (overview)199019941998200220062010201420182022 Nauru competed at…

American children's television series Maxie's WorldDeveloped byPhil HarnageDirected byMarek Buchwald(director)Paul Quinn(voice direction)ComposersHaim SabanShuki LevyCountry of originUnited StatesOriginal languageEnglishNo. of seasons1No. of episodes32ProductionExecutive producersAndy Heyward(executive producer)Robby London(co-executive producer)ProducersCassandra Schafhausen(producer)Running time15 minutes (with commercials)Production companyDIC Animation CityOriginal releaseNetworkSyndicationR…

Local cuisine of the Basque region The traditional pintxos Basque cuisine refers to the cuisine of the Basque Country and includes meats and fish grilled over hot coals, marmitako and lamb stews, cod, Tolosa bean dishes, paprikas from Lekeitio, pintxos (Basque tapas), Idiazabal sheep's cheese, txakoli (sparkling white wine), and Basque cider. A basquaise is a type of dish prepared in the style of Basque cuisine that often includes tomatoes and sweet or hot red peppers. Overview Basques have also…

American LGBTQ magazine OutIssue No. 1, Summer 1992EditorDaniel ReynoldsCategoriesLGBTQ, news, entertainment, fashion, and lifestyleFrequencyMonthlyCirculation203,000 (includes digital as well as print)PublisherJoe LandryFounded1992CompanyPride MediaCountryUnited StatesLanguageEnglishWebsiteout.comISSN1062-7928 Out is an American LGBTQ news, fashion, entertainment, and lifestyle magazine, with the highest circulation of any LGBTQ monthly publication in the United States. It presents itself in an…

Nelson Pomalingo Bupati GorontaloPetahanaMulai menjabat 26 Februari 2021PresidenJoko WidodoGubernurRusli HabibieHamka Hendra Noer (Pj.)Ismail Pakaya (Pj.)Mohammad Rudy Salahuddin (Pj.)WakilH. Hendra S. Hemeto, ST., M.Si.Masa jabatan17 Februari 2016 – 17 Februari 2021PresidenJoko WidodoGubernurRusli HabibieZudan Arif Fakrulloh (Pj.)Rusli HabibieWakilH. Fadli Hasan, ST., M.Si. (2016—2018)PendahuluNurlan Darise (Pj.)PenggantiPetahana Informasi pribadiLahir24 Desember 1962 (umur…

Barreiros Diesel, S.A.Barreiros Diesel headquarters in MadridCompany typePrivate (1954–69)IndustryAutomotive industryFounded1954FounderEduardo BarreirosDefunct1978; 46 years ago (1978)FateAcquired by Chrysler in 1969SuccessorChrysler España, S.A.ProductsAutomobiles, trucks, buses, enginesParentChrysler Europe Barreiros was a Spanish manufacturer of engines, trucks, buses and automobiles. It was a Chrysler Europe subsidiary from 1969 to 1978. History The company was founded i…

Der Kuss adalah sebuah lukisan termashyur karya pelukis asal Austria, Gustav Klimt. Lukisan yang dilukis antara tahun 1907-1908 ini menggambarkan sepasang kekasih yang sedang bercinta. Lukisan ini dianggap sebagai salah satu karya terbaik Klimt. Figur kedua orang itu dilukis dengan jubah dan pakaian berwarna keemasan dengan latar berwarna perunggu. Mereka terlihat dalam lukisan berada di ujung sebuah jurang yang ditumbuhi bunga-bunga. Lelakinya mengenakan sebuah mahkota dari dedaunan anggur; wan…

نظام الإحداثيات الكروية: نقطة الأصل هي O و محور السمت هو A. نصف قطر النقطة هو r، زاوية الارتفاع هي θ و زاوية السمت هي φ مقارنة بين نظام الإحداثيات الكروية ونظام احداثيات الثلاثة ابعاد (z , y, x). في الرياضيات، نظام الإحداثيات الكروية هو نظام إحداثيات للفضاء ثلاثي الأبعاد حيث يُحَدَ…