On the distribution of digits in arithmetic sequences