d=({0..9} {a..v}) eval 'for((b=1;t||b++<(t='{2..63}');t/=b)){ s[b]=${d[t%b]}${s[b]} } echo ${s[@]} s=() t= '