I'm searching for a calculator in base 31, i.e., I want both input and output to be in base 31. (I actually don't care much about the format of digits, only that it would be easy writable. So, for example `013456789ABCDEFGHIJKLMNOPQRSTU' would be fine.)
bc
seems to be good option for small bases as you can define ibase=x; obase=x
. But there is an upper limit for ibase — that is 16 as it doesn't want to use bigger digits than F.
Is there some workaround for that? Or, maybe a way how to recompile bc
in a way it would support bigger bases? Or, alternatively is there some alternative to bc
which would do at least basic arithmetic (like +, -, /, *, ^)?