In[5]:=
newbasebdigits[137,2]
Out[5]=
{1, 0, 0, 0, 1, 0, 0, 1}
Up to
Base b Representation