this is just the general conversion from a number between number/notation systems (e.g. decimal, binary, octadecimal notation)

Expand|Select|Wrap|Line Numbers

- ∞ ∞
- Σ{a(i)⋅n^i} = Σ{b(j)⋅m^j}
- –∞ –∞

a(i) – given coefficients of number in system n

b(j) – unknown coefficients of number in system m

ex:

Expand|Select|Wrap|Line Numbers

- 10110 (2) = 28 (10)
- n = 2, a(1) = a(2) = a(4) = 1, a(x) = 0 (x not 1,2 or 4)
- m = 10, b(0) = 8, b(1) = 2, b(x) = 0 (x not 0 or 1)

maybe something like:

Expand|Select|Wrap|Line Numbers

- a(i) = f(m,n,i,b(j))