# Why multiplication by numeral system base and raising to corresponding power converts any numeral system integer to decimal only

I am not very good in math so I apologize if my question is too simple and does not belong here... Why an integer in numeral system X can be converted to decimal by multiplying it's digits to X (meaning base of the numeral system) which is raised to corresponding power (0,1,2,3 etc)? I mean that it seems like it is a universal way to convert any numeral system to decimal. But why there is no similar formula (involving multiplication by the base + exponents) to convert an integer of any numeral system to an integer in any numeral system? Thanks!

• Not sure this is clear. Do you mean something like $137=1\times 10^2+3\times 10^1+7\times 10^0$? If so, an analogous formula does hold for other bases.
– lulu
Jul 4, 2018 at 16:10
• Yes, that exactly what I meant. But could you give an example of conversion from binary to duodenary system using the same approach? Thanks Jul 4, 2018 at 16:14
• Conversion between bases isn't as simple as all that. Think about decimal to binary, say. you need to find the largest power of $2$ less than or equal to the given number, subtract that and repeat. Simple, but not a closed formula.
– lulu
Jul 4, 2018 at 16:24

There is such a formula. There is nothing peculiar about base $10$. Suppose that you this number: $1\,332$, which is supposed to be a number written in base $4$. And suppose that you want to exprees it in base $6$. So, you compute $2$, $3\times4$, $3\times4^2$ and $4^3$, but you express them in base $6$. You'll get $2$, $20$, $120$, and $144$ respectively. Then you sum them (doing all computations in base $6$, and you'll get the answer: $330$.
{"ft_lang_label":"__label__en","ft_lang_prob":0.8984679,"math_prob":0.99469095,"size":2803,"snap":"2022-05-2022-21","text_gpt3_token_len":722,"char_repetition_ratio":0.13576277,"word_repetition_ratio":0.010330578,"special_character_ratio":0.28041384,"punctuation_ratio":0.12084063,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.99967813,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2022-05-25T11:03:44Z\",\"WARC-Record-ID\":\"<urn:uuid:3563b4d9-6249-44ef-84e7-dd256e836f84>\",\"Content-Length\":\"229657\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:2cf1fa22-a181-4589-90e1-26c642206944>\",\"WARC-Concurrent-To\":\"<urn:uuid:1616d966-4593-441b-99cd-117d7cfa0132>\",\"WARC-IP-Address\":\"151.101.1.69\",\"WARC-Target-URI\":\"https://math.stackexchange.com/questions/2840837/why-multiplication-by-numeral-system-base-and-raising-to-corresponding-power-con\",\"WARC-Payload-Digest\":\"sha1:6ORGQZ2GQTG6FBO5G4J7TXJGR2ZXHMAT\",\"WARC-Block-Digest\":\"sha1:NCN76SOFUNHMZ3SMS4QLOTKOTXK2W2YU\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2022/CC-MAIN-2022-21/CC-MAIN-2022-21_segments_1652662584398.89_warc_CC-MAIN-20220525085552-20220525115552-00615.warc.gz\"}"}