base must be an integer n s.t. n∈[2,10)
there is probably a much more optimized manner of doing this, but here's my algorithm regardless you could expand this to arbitrarily large bases, but you'd need a list to contain the symbols for each possible value per digit