BaseForm[2000, 2]

BaseForm[2000, 8]

BaseForm[2000, 16]

16^^7D0

BaseForm[16^^7D0, 7]

IntegerDigits[16^^7D0, 7]

Length[IntegerDigits[16^^7D0, 7]]