I am not a native speaker but digits are 0,1,2,...,9 and they are subset of numbers (Zahlen). Zahlen includes digits but I think it does not mean digits. Besides Zahlentheorie means Number theory. No one will develope a theory for a set with 10 elements (digits). It will be very boring theory.