- IntegerDigits[5671] gives digits in base 10. IntegerDigits[5671, 2] gives digits in base 2. You can use any base you want. FromDigits[{5, 6, 7, 1}] reconstructs a number from its list of digits.
- Rest[list] gives all the elements of list after the first one. Most[list] gives all elements other than the last one.