parity distribution of divisors of integers

This paper studies parity distribution of divisors of all integers up to , by dealing with a variant of the alternating harmonic series, namely

where is the floor function, In particular, it will be shown that this series converges to , by comparing it with the standard alternating harmonic series. This implies that of all integers up to , both the numbers of odd and even divisors are of , with odd ones slightly more than even ones by . This estimation is accurate to . In a more general form, define to be the number of divisors of  that is congruent to  modulo , and , it is shown that are asymptotically equivalent, with slightly larger when smaller.

Sum of the Series

Consider times the partial sum

We may divide the sum into two parts,

where . The estimation of the latter term is based on the observation that can take only values in the range .

For a given integer ,  for  . Thanks to the alternating nature of the series, most summands in the sum of for  in this range cancel, leaving at most one summand. Therefore the sum is  or . In any case,

Now summing for over (this covers ) we obtain

as .

The estimation of the first term is done by comparing it with the standard alternating harmonic series. As there are no more than summands, the error will be small. , hence

Let , and note the fact that

the inequality above leads to

as .

Putting and together, we obtain the desired result

as .

Implications in Number Theory

The relation between the series and number theory begins with the following observation:

Now let denote the number of divisors of , and denote the number of even and odd divisors, respectively, of . Then,

Therefore, is the difference between the number of odd divisors and even divisors of . Let , we have

where for convenience. On the other hand, is known to have the expansion:

Putting these together we obtain an interesting result, namely

This shows that, in fact,

despite the irregularities in , e.g. for odd , while ; but for even odd, and . Actually, these fluctuations eliminate accurately that and are asymptoticly equivalent.

Generalizations

This result describes the distribution of the parity of divisors. Namely, the total number of odd and even divisors of all integers up to differs only by a quantity of lower order, . Also note that the convergence alone (not regarding what limit it converges to) implies the asymptotic equivalence between and , and the key in the above argument is the cancellation process demonstrated in . Thus some generalizations are possible.

Let denote the number of divisors of  that is congruent to  modulo , i.e., , and the respective sum. It is desirable to show that for given  and all , . This follows from the argument presented above almost unaltered. Actually, let

we still have

So what remains is to show that converges, which follows from Leibniz’s test. The test also shows that the sum is positive whenever . Therefore, the fact that is slightly more than finds its analog for larger , that is, is larger by a quantity of  when  is smaller.

Other generalizations can be suggested as well, such as adapting the argument above to study the series , which might lead to new insight into the relation between harmonic series and functions.