I recently found a problem I haven't seen a good solution yet.
this is just the general conversion from a number between number/notation systems (e.g. decimal, binary, octadecimal notation)
n, m – base of the number system
a(i) – given coefficients of number in system n
b(j) – unknown coefficients of number in system m
ex:
the solution I know is an iterative one, but I wonder if there is an analytical solution to this equation at all.
maybe something like:
Dormi
this is just the general conversion from a number between number/notation systems (e.g. decimal, binary, octadecimal notation)
Code:
∞ ∞ Σ{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:
Code:
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:
Code:
a(i) = f(m,n,i,b(j))
Comment