can handle numbers of essentially unlimited length, in any base, using state-of-the-art platform-optimized algorithms, including several developed at Wolfram Research. For rational numbers, it uses number theoretic methods to efficiently find the exact forms of repeating digit sequences.
reconstruct a number from its digits
total number of digits in an integer
count the number of occurrences of given digits
digits of an integer as a string