MixedRadix

MixedRadix[{b1,,bn}]

represents the list of bases of a numerical system in which different digits have different bases.

Details

  • A numeric system with bases {b1,,bn} can express numbers from 0 to b1×b2××bn-1. Larger numbers are represented using an extended list of bases, effectively prepended with base Infinity.

Examples

open allclose all

Basic Examples  (2)

Express an integer as a list of digits in a mixed radix numerical system:

In[1]:=
Click for copyable input
Out[1]=

Reconstruct that number:

In[2]:=
Click for copyable input
Out[2]=

Make explicit the bases used:

In[1]:=
Click for copyable input
Out[1]=

Scope  (3)

Applications  (2)

Properties & Relations  (6)

See Also

IntegerDigits  FromDigits  IntegerString  NumberDecompose  NumberCompose

Introduced in 2015
(10.2)