{'fraction_non_alphanumeric': 0.10787671232876712, 'fraction_numerical': 0.0136986301369863, 'mean_word_length': 3.717741935483871, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 1, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Averaging the sum of digits function to an even base

For a fixed integer q≧2, every positive integer where each ar(q, k) ∈ {0, 1, 2, …, q–1}. The sum of digits function α(q, k) = behaves rather erratically but on averaging has a uniform behaviour. In particular if A(q, n) = , where n > 1, then it is well known that A(q, n)∼½ ((q – 1)/log q) n log n as n→∞. For even values of q, a lower bound is now given for the difference ½S(q, n) = A(q, n)–½(q–1)[logn/logq] n, where [log n/log q] denotes the greatest integer ≦ log n/log q, complementing an earlier result for odd values of q.