This paper was converted on www.awesomepapers.org from LaTeX by an anonymous user.
Want to know more? Visit the Converter page.

Iterated harmonic numbers

J Marshall Ash, Michael Ash, Rafael Ash, Ángel Plaza
Abstract

The harmonic numbers are the sequence 1,1+1/2,1+1/2+1/3,1,1+1/2,1+1/2+1/3,\cdots. Their asymptotic difference from the sequence of the natural logarithm of the positive integers is Euler’s constant gamma. We define a family of natural generalizations of the harmonic numbers. The jjth iterated harmonic numbers are a sequence of rational numbers that nests the previous sequences and relates in a similar way to the sequence of the jjth iterate of the natural logarithm of positive integers. The analogues of several well-known properties of the harmonic numbers also hold for the iterated harmonic numbers, including a generalization of Euler’s constant. We reproduce the proof that only the first harmonic number is an integer and, providing some numeric evidence for the cases j=2j=2 and j=3j=3, conjecture that the same result holds for all iterated harmonic numbers. We also review another proposed generalization of harmonic numbers.

1 Introduction: definitions and properties

The harmonic numbers are the sequence {1,1+12,1+12+13,}\left\{1,1+\frac{1}{2},1+\frac{1}{2}+\frac{1}{3},\cdots\right\}; we denote them as h1(n):=k=1n1kh_{1}\left(n\right):=\sum_{k=1}^{n}\frac{1}{k}. Some of the properties of the harmonic numbers h1(n)h_{1}\left(n\right) are:

  1. 1.

    They are positive rational numbers, starting at 11 and monotonically increasing.

  2. 2.

    They are the partial sums of the divergent infinite series k=11k\sum_{k=1}^{\infty}\frac{1}{k}.

  3. 3.

    They have a direct connection with the natural logarithm, in particular there is defined a constant γ\gamma so that as nn\rightarrow\infty, h1(n)lnnγh_{1}\left(n\right)-\ln n\rightarrow\gamma.

  4. 4.

    They are close to similar, but convergent, sequences; k=11k\sum_{k=1}^{\infty}\frac{1}{k} diverges, but, for any fixed small positive number ϵ\epsilon, k=11k1+ϵ\sum_{k=1}^{\infty}\frac{1}{k^{1+\epsilon}} converges.

  5. 5.

    The only harmonic number that is an integer is 11.

2 Iterated harmonic numbers and iterated logarithms

We define hj(n)h_{j}(n), the iterated harmonic numbers of order jj, for j=2,3,j=2,3,\cdots. First define h2(n):=k=1n1kh1(k)h_{2}\left(n\right):=\sum_{k=1}^{n}\frac{1}{kh_{1}\left(k\right)}, then h3(n):=k=1n1kh1(k)h2(k)h_{3}\left(n\right):=\sum_{k=1}^{n}\frac{1}{kh_{1}\left(k\right)h_{2}\left(k\right)}, and so on. For every integer j2j\geq 2,

hj(n):=k=1n1kh1(k)h2(k)hj1(k).h_{j}\left(n\right):=\sum_{k=1}^{n}\frac{1}{kh_{1}\left(k\right)h_{2}\left(k\right)\cdots h_{j-1}\left(k\right)}.

The natural logarithm is ln1(x)=lnx:=1ndtt\ln_{1}(x)=\ln x:=\int_{1}^{n}\frac{dt}{t}. The second iterated natural logarithm is ln2(x)=lnlnx:=exdttlnt\ln_{2}{\left(x\right)}=\ln\ln x:=\int_{e}^{x}\frac{dt}{t\ln t}.111This notation for the second iteration of the natural logarithm should not be confused with log2n\log_{2}n, the base 22 logarithm of nn. Only natural logarithms will be iterated in this work. To see this, integrate using the substitution u=lntu=\ln t. In general, the jjth iterated logarithm is given inductively by

lnj(x):=ej1xdttln1tln2tlnj1t.\ln_{j}\left(x\right):=\int_{{}^{j-1}e}^{x}\frac{dt}{{t\ln_{1}t\ln_{2}t\cdots\ln_{j-1}t}}.

To see this, use the substitution u=lnj1t,du=dttln1tln2tlnj2tu=\ln_{j-1}t,du=\frac{dt}{t\ln_{1}t\ln_{2}t\cdots\ln_{j-2}t}. In order to avoid a non-zero constant term the lower limit of the integral must be ej1{}^{j-1}e where the constants {ei}\{{}^{i}e\} are given by e0=1,e1=e,e2=ee,e3=ee2=eee,.{}^{0}e=1,{}^{1}e=e,{}^{2}e=e^{e},{}^{3}e=e^{{}^{2}e}=e^{e^{e}},\dots. For each i=0,1,2,i=0,1,2,\dots, the expression ei{}^{i}e is called the iith hyperpower of ee.

Let (dj,)(d_{j},\infty) denote the domain of lnj\ln_{j}. Then d1=0,d2=e0=1,d3=e1=e2.7,d4=e2=ee15.2,d5=e33814279.1d_{1}=0,d_{2}={}^{0}e=1,d_{3}={}^{1}e=e\approx 2.7,d_{4}={}^{2}e=e^{e}\approx 15.2,d_{5}={}^{3}e\approx 3814279.1, and d6=e4d_{6}={}^{4}e. The number e4{}^{4}e is too large to calculate, e4=10(log10e)(e3)101656520{}^{4}e=10^{(\log_{10}e)({}^{3}e)}\approx{10}^{1656520} a number so large that it would take more than 1.61.6 million decimal digits just to write it down.

In order to draw a connection between the jjth-iterated harmonic number and the jjth-iterated logarithm, we also define a third quantity. It is the integer stepwise constant estimate for the integral defining the iterated logarithm:

lj(n):=k=an1klnkln2klnj1k.l_{j}{(n)}:=\sum_{k=a}^{n}\frac{1}{k\ln k\ln_{2}k\cdots\ln_{j-1}k}. (1)

The lower limit a=a(j)a=a(j) is the smallest positive integer in the domain of the integral defining lnj\ln_{j}. Thus a(1)=1,a(2)=2a(1)=1,a(2)=2, and a(j)=ej2a(j)=\lceil{}^{j-2}e\rceil for j=3,4,j=3,4,\dots.

1x\frac{1}{x}kkk+1k+1k+2k+2 1k\frac{1}{k} 1k+1\frac{1}{k+1}
Figure 1: Upper and lower step function bounds for 1x\frac{1}{x}.

Identify a sequence {S(k)}\{S(k)\} with a step function according to the rule that the function take the constant value S(k)S(k) at every point xx of the interval kx<k+1k\leq x<k+1. Figure 1 illustrates property 3, the connection between harmonic numbers and natural logarithm. The area 1ndxx=lnx\int_{1}^{n}\frac{dx}{x}=\ln x under the function 1x\frac{1}{x} is greater than the darkly shaded area under the step function {12,13,,1n}\{\frac{1}{2},\frac{1}{3},\ldots,\frac{1}{n}\} which evaluates to h1(n)1h_{1}(n)-1. On the other hand the area 1ndxx\int_{1}^{n}\frac{dx}{x} is less than the area under the other step function {1,12,,1n1}\{1,\frac{1}{2},\ldots,\frac{1}{n-1}\}. This is the total shaded area which evaluates to 1+12++1n1=h1(n1)1+\frac{1}{2}+\cdots+\frac{1}{n-1}=h_{1}(n-1) Analysis of the small differences between the three regions leads to the problem of accurately quantifying the difference between the harmonic numbers h1(n)h_{1}(n) and lnn\ln n.

For any higher order iteration jj, the geometry is similar. The full complexity is already visible for j=2j=2, which is illustrated in Figure 2.

1xlnx\frac{1}{x\ln x}kkk+1k+1k+2k+2 1(k1)h1(k1)\frac{1}{(k-1)h_{1}(k-1)} 1klnk\frac{1}{k\ln k} 1(k+1)ln(k+1)\frac{1}{(k+1)\ln(k+1)}
Figure 2: Curve 1xlnx\frac{1}{x\ln x} and step functions {1klnk}\left\{\frac{1}{k\ln k}\right\}, {1(k1)h1(k1)}\left\{\frac{1}{(k-1)h_{1}(k-1)}\right\}, and {1(k+1)ln(k+1)}\left\{\frac{1}{(k+1)\ln(k+1)}\right\}.

The area 2ndxxlnxln2x+0.37\int_{2}^{n}\frac{dx}{x\ln x}\approx\ln_{2}x+0.37\ldots under the function 1xlnx\frac{1}{x\ln x} is greater than the darkly shaded area under the step function {13ln3,14ln4,,1nlnn}\left\{\frac{1}{3\ln 3},\frac{1}{4\ln 4},\cdots,\frac{1}{n\ln n}\right\}, which evaluates to ln2(n)12ln2\ln_{2}(n)-\frac{1}{2\ln 2}. On the other hand, the area 2ndxxlnx\int_{2}^{n}\frac{dx}{x\ln x} is less than the area under the other step function {12ln2,13ln3,14ln4,,1(n1)ln(n1)}\left\{\frac{1}{2\ln 2},\frac{1}{3\ln 3},\frac{1}{4\ln 4},\cdots,\frac{1}{(n-1)\ln(n-1)}\right\}. This last term is the total shaded area which evaluates to 12ln2+13ln3++1(n1)ln(n1)=ł2(n1)\frac{1}{2\ln 2}+\frac{1}{3\ln 3}+\cdots+\frac{1}{(n-1)\ln(n-1)}=\l_{2}(n-1). Notice that ł1(n)\l_{1}(n) coincides with h1(n)h_{1}(n), which is close to ln(x)\ln(x). Similarly ł2(x)\l_{2}(x) is close to ln2(x)\ln_{2}(x). When we quantify this, we will naturally arrive at a constant. We can do a similar operation for each j3j\geq 3, which will be discussed in Section 3.

Look at the segment labeled 1(k1)h1(k1)\frac{1}{(k-1)h_{1}(k-1)}. Numerical calculations indicate that this segment’s height satisfies

1(k+1)ln(k+1)<1(k1)h1(k1)<1klnk\frac{1}{(k+1)\ln(k+1)}<\frac{1}{(k-1)h_{1}(k-1)}<\frac{1}{k\ln k} (2)

so that it partitions the naturally occurring rectangle having upper left corner (k,1klnk)\left(k,\frac{1}{k\ln k}\right) and lower right corner (k+1,1(k+1)ln(k+1))\left(k+1,\frac{1}{(k+1)\ln(k+1)}\right) into an upper lightly-shaded rectangle and a lower rectangle whose shading is of intermediate gray-scale intensity.

Form a third step function from the heights of these intermediate segments. Its area is the union of the dark gray and intermediate gray segments; from the inequality above we see that

h2(n1)=11h1(1)+12h1(2)++1(n2)h1(n2)h_{2}(n-1)=\frac{1}{1\cdot h_{1}(1)}+\frac{1}{2\cdot h_{1}(2)}+\cdots+\frac{1}{(n-2)\cdot h_{1}(n-2)}

is caught between the upper and lower estimates of 2ndxxlnxln2x+0.37\int_{2}^{n}\frac{dx}{x\ln x}\approx\ln_{2}x+0.37\ldots. This indicates that the second iterated harmonic numbers are close to the second iterated natural logarithm.

The well-known Euler’s constant γ\gamma expresses the asymptotic difference between natural logarithm and the harmonic numbers:

γ=limnh1(n)ln(n)=limnl1(n)ln(n)0.577,\gamma=\lim_{n\to\infty}h_{1}(n)-\ln(n)=\lim_{n\to\infty}l_{1}(n)-\ln(n)\approx 0.577\ldots, (3)

noting that the definitions of hjh_{j} and ljl_{j} are not distinct for j=1j=1. In generalizing γ\gamma for the jjth iteration, we need to distinguish between hjh_{j} and ljl_{j} for j2j\geq 2. We will denote the version defined with ljl_{j} as γj\gamma_{j} satisfying

limnlj(n)lnjn=γj.\lim_{n\to\infty}l_{j}{(n)}-\ln_{j}n=\gamma_{j}. (4)

while the version defined with hjh_{j} will be γj\gamma_{j}^{\prime} satisfying

limnhj(n)lj(n)=γj,\lim_{n\to\infty}h_{j}{(n)}-l_{j}{(n)}=\gamma_{j}^{\prime}, (5)

with proof that the limits exist provided in the next section.

The discussion of the l2(n)l_{2}{(n)} part of Figure 2 looks a lot like the discussion of h1(n)h_{1}(n) in Figure 1. For this reason, the value of any γj\gamma_{j} is easy to find. However, the discussion of the h2(n)h_{2}{(n)} part of Figure 2 hints that the problem of finding even γ2\gamma_{2}^{\prime} might not be so easy. This is what happens. See the section on asymptotic estimates below for more details.

The motivation for Property 4 and its generalization is explained in [3]. The infinite series a<k<1klnkln2klnj1k\sum_{a<k<\infty}\frac{1}{k\ln k\ln_{2}k\cdots\ln_{j-1}k} is divergent since by relation (1) its partial sums increase boundlessly. However, for each ϵ>0\epsilon>0, the series

a<k<1klnkln2klnj2k(lnj1k)1+ϵ\sum_{a<k<\infty}\frac{1}{k\ln k\ln_{2}k\cdots\ln_{j-2}k\left(\ln_{j-1}k\right)^{1+\epsilon}}

converges. Similar results also hold for iterated harmonic numbers. The infinite series

k=11kh1(k)h2(k)hj1(k)\sum_{k=1}^{\infty}\frac{1}{kh_{1}\left(k\right)h_{2}\left(k\right)\cdots h_{j-1}\left(k\right)}

is divergent by relation (2). The integral test shows that for each ϵ>0\epsilon>0, the series

k=11kh1(k)h2(k)hj2(k)(hj1(k))1+ϵ\sum_{k=1}^{\infty}\frac{1}{kh_{1}\left(k\right)h_{2}\left(k\right)\cdots h_{j-2}\left(k\right)\left(h_{j-1}\left(k\right)\right)^{1+\epsilon}}

converges. These pairs of infinite series are closer to each other as jj increases in the sense that the divergent one diverges more slowly while the other one converges more slowly. The logarithmic examples do not have rational partial sums, but the divergent harmonic sums do. If we set ϵ=1\epsilon=1, then the convergent harmonic series also have rational partial sums.

Reference [4] contrasts the convergence of k=11k(h1(k))1+ϵ\sum_{k=1}^{\infty}\frac{1}{k\left(h_{1}\left(k\right)\right)^{1+\epsilon}} with the divergence of k=11kh1(k)\sum_{k=1}^{\infty}\frac{1}{kh_{1}\left(k\right)}. The nnth partial sum of k=11k(h1(k))\sum_{k=1}^{\infty}\frac{1}{k\left(h_{1}\left(k\right)\right)} is h2(n)h_{2}(n), and its study led us to write the paper.

3 Asymptotic estimates for iterated harmonic numbers

Recall lj(n)l_{j}\left(n\right) was defined by equation (1) to be equal to a<kn1klnkln2klnj1k\sum_{a<k\leq n}\frac{1}{k\ln k\ln_{2}k\cdots\ln_{j-1}k} for an appropriate constant aa.

Theorem 1.

Notice that l1(n)=h1(n)l_{1}\left(n\right)=h_{1}\left(n\right) for n1n\geq 1. For each integer j2j\geq 2, there is a constant γj\gamma_{j} such that

lj(n)lnj(n)=γj+12nlnnln2nlnj1n+O(1n2lnnln2nlnj1n).l_{j}(n)-\ln_{j}\left(n\right)=\gamma_{j}+\frac{1}{2n\ln n\ln_{2}n\cdots\ln_{j-1}n}+O\left(\frac{1}{n^{2}\ln n\ln_{2}n\cdots\ln_{j-1}n}\right). (6)
Proof.

The function f(x)=1xlnxln2xlnj1xf\left(x\right)=\frac{1}{x\ln x\ln_{2}x\cdots\ln_{j-1}x} has antiderivative lnj(x)\ln_{j}\left(x\right) and satisfies f′′(n)=O(1n3lnnln2nlnj1n)f^{\prime\prime}\left(n\right)=O\left(\frac{1}{n^{3}\ln n\ln_{2}n\cdots\ln_{j-1}n}\right). Apply the Euler summation formula to ff. See exercises 2 and 6 of section 15.23 of [2]. ∎

Once γ\gamma had been discovered, the next step was finding accurate approximations for its numerical value. Euler himself found the values of the first sixteen significant figures of its decimal expansion in 1736. More than a hundred million of its decimal places had been filled in by 2004 [6].

We write f(n)g(n)f\left(n\right)\asymp g\left(n\right) to mean that there are two positive constants aa and bb so that af(n)<g(n)<bf(n)af\left(n\right)<g\left(n\right)<bf\left(n\right); in words, ff is of the same order as gg [8, page 7].

Abbreviate h1h_{1} to hh. Here are three approaches for getting an estimate for γ\gamma:

Minimal method: Prove that limn(h(n)lnn)\lim_{n\to\infty}(h(n)-\ln n) exists and call it γ\gamma. Then choose any large integer for nn and calculate h(n)lnn{h(n)-\ln n} .

Standard method: Prove that γ\gamma exists and establish h(n)lnnγ1nh\left(n\right)-\ln n-\gamma\asymp\frac{1}{n}. Rearrange this, moving γ\gamma to the right side of the relation, shows us that h(n)lnnh\left(n\right)-\ln n tends to γ\gamma with an error on the order of 1n\frac{1}{n}.

Improved method: Prove that γ\gamma exists and establish h(n)lnnγ12n1n2h\left(n\right)-\ln n-\gamma-\frac{1}{2n}\asymp\frac{1}{n^{2}}. As in the standard method, isolate h(n)lnnh\left(n\right)-\ln n on the left hand side of the relation and thereby observe that the speed of approach to γ\gamma is now improved to be of the order of 1n2\frac{1}{n^{2}}.

To illustrate the virtue of the improved method, we use the number 55 as a “large” integer and attempt to estimate γ=.577\gamma={.577\dots}. The standard method estimate is h(5)ln5=1+12+15ln5=.674h\left(5\right)-\ln 5=1+\frac{1}{2}\cdots+\frac{1}{5}-\ln 5=.674\dots and the improved method estimate is .674125=.674.1=.574{.674\dots}-\frac{1}{2\cdot 5}={.674\dots}-.1=.574\dots.

Theorem 2.

For each integer j2j\geq 2, hj(n)h_{j}\left(n\right) tends to \infty at the same rate as the jjth iterated logarithm. This is an immediate consequence of the relations that for every j=2,3,j=2,3,\dots, there are constant γj\gamma_{j}^{\prime} such that

hj(n)lj(n)γj+1lnj1n.h_{j}\left(n\right)-l_{j}\left(n\right)\asymp\gamma_{j}^{\prime}+\frac{1}{\ln_{j-1}n}. (7)

For j2j\geq 2, we made an arbitrary choice of ej1{}^{j-1}e for the lower limit of integration. Any value in the interval (ej1,)\left({}^{j-1}e,\infty\right) would also have worked. For example, when j=3j=3 we chose the domain of integration to be [e2,n][15.15,n]\left[{}^{2}e,n\right]\approx\left[15.15,n\right], but [3,n]\left[3,n\right] would also have worked since 3>e1=e3>{}^{1}e=e. The value of the generalized Euler constant γj\gamma_{j} for each j2j\geq 2 depends on the choice of the corresponding lower limit.

On the positive side, this theorem establishes the existence of the γj\gamma_{j}^{\prime} for all j=2,3,j=2,3,\cdots. But on the negative side, this theorem proves that the natural extension of Property 3 converges so slowly that it can not provide an efficient way to compute the numerical value of γj\gamma_{j}^{\prime} when j2j\geq 2.

The finding in Theorem 1 that the error in relation (6) is smaller than O(1n2)O(\frac{1}{n^{2}}) implies that the left side of that relation well approximates the γj\gamma_{j}. Thus to prove Theorem 2 it is suffcient to examine only hj(n)lj(n)h_{j}(n)-l_{j}(n) instead of hj(n)lnj(n)h_{j}(n)-\ln_{j}(n). Here is a sketch of the proof when j=2j=2. Fix nn and write

h2(n)l2(n)=k=2n1kh1(k)1kln(k).h_{2}(n)-l_{2}(n)=\sum_{k=2}^{n}\frac{1}{kh_{1}(k)}-\frac{1}{k\ln(k)}.

The kkth term of the sum is asymptotically close to 1k(lnk)2-\frac{1}{k(\ln k)^{2}}. The integral test shows that the series k=21k(lnk)2\sum_{k=2}^{\infty}\frac{1}{k(\ln k)^{2}} converges and also that its nnth partial tail is on the order of 1lnn\frac{1}{\ln n} so that the difference between the sum and its nnth partail sum is of the order of 1lnn\frac{1}{\ln n}.

To do the proof for general jj, change the denominator from klnkln2klnj1kk{\ln k}{\ln_{2}k}\cdots{\ln_{j-1}k} into kh1(k)h2(k)hj1(k)k{h_{1}(k)}{h_{2}(k)}\cdots{h_{j-1}(k)} in j1j-1 steps, each step changing an iterated logarithm into a corresponding iterated harmonic number, and measure the effect of each step. This is a little bit complicated and not too interesting.

4 The p-adic valuation and a proof of Property 5

We now define pp-adic valuations and use 22-adic valuations to prove Property 5. Then we study empirically the conjecture that Property 5 extends to hjh_{j}\ for every jj.

Fix a prime number pp. We define the pp-adic valuation νp\nu_{p} on the field of rational numbers by νp(0)=\nu_{p}(0)=-\infty and for all other rationals a/ba/b we define νp\nu_{p} to be rr where a/b=pra/ba/b=p^{r}\cdot a^{\prime}/b^{\prime} with a,ba^{\prime},b^{\prime} coprime to pp.222The literature splits on defining valuation either: as the pp-adic norm, |pra/b|p=pr\left|p^{r}\cdot a^{\prime}/b^{\prime}\right|_{p}=p^{-r} except |0|p=0\left|0\right|_{p}=0; or as the convention we follow, νp(pra/b)=r\nu_{p}(p^{r}\cdot a^{\prime}/b^{\prime})=r except νp(0)=\nu_{p}(0)=-\infty. The norm definition satisfies the triangle inequality, |xy|p|x|p|y|p\left|xy\right|_{p}\leq\left|x\right|_{p}\left|y\right|_{p}, and the strong triangle inequality, |xy|pmax(|x|p,|y|p)\left|xy\right|_{p}\leq\max(\left|x\right|_{p},\left|y\right|_{p}). The equality case of the strong triangle inequality is equivalent to equation (8). Examples:

ν2(8)=3,ν2(1/8)=ν2(5/8)=ν2(5/56)=ν2(10/112)=3.\nu_{2}(8)=3,\nu_{2}(1/8)=\nu_{2}(-5/8)=\nu_{2}(-5/56)=\nu_{2}(10/112)=-3.

Notice in particular that the pp-valuation of a fraction remains the same whether or not that fraction is reduced. We will make use of an important equality satisfied by every νp\nu_{p}. It asserts that

νp(x+y)=min{νp(x),νp(y)} when νp(x)νp(y).\nu_{p}(x+y)=\min\left\{\nu_{p}(x),\nu_{p}(y)\right\}\textrm{ when }\nu_{p}(x)\neq\nu_{p}(y). (8)

We generalize this to

νp(x1+x2++xn)=min{νp(x1),,νp(xn)}\displaystyle\nu_{p}(x_{1}+x_{2}+\cdots+x_{n})=\min\left\{\nu_{p}(x_{1}),\ldots,\nu_{p}(x_{n})\right\}
when the minimum occurs exactly once.\displaystyle\textrm{when the minimum occurs exactly once}. (9)

To see why this is true, we write out the n=3n=3 case. Without loss of generality, suppose xi=priaibi,i=1,2,3x_{i}=p^{r_{i}}\frac{a_{i}}{b_{i}},i=1,2,3 with all ai,bia_{i},b_{i} coprime with p,r2>r1p,r_{2}>r_{1}, and r3>r1r_{3}>r_{1}. Compute

x1+x2+x3=pr1a1b1+pr2a2b2+pr3a3b3=x_{1}+x_{2}+x_{3}=p^{r_{1}}\frac{a_{1}}{b_{1}}+p^{r_{2}}\frac{a_{2}}{b_{2}}+p^{r_{3}}\frac{a_{3}}{b_{3}}=
pr1a1b2b3+pr2r1a2b1b3+pr3r1a3b1b2b1b2b3.p^{r_{1}}\frac{a_{1}b_{2}b_{3}+p^{r_{2}-r_{1}}a_{2}b_{1}b_{3}+p^{r_{3}-r_{1}}a_{3}b_{1}b_{2}}{b_{1}b_{2}b_{3}}.

The denominator is coprime to pp. The numerator is congruent mod pp to a1b2b3a_{1}b_{2}b_{3} and hence is also coprime with pp. So νp(x1+x2+x3)=r1\nu_{p}(x_{1}+x_{2}+x_{3})=r_{1}.

Property 5 was proved by Theisinger in 1915 [12]. Conway and Guy [5] present his proof thus: Look at the term [of h1(n)h_{1}(n)] with the highest power of 22 in it. It has nothing with which to pair. So h1(2),h1(3),h1(4),h_{1}(2),h_{1}(3),h_{1}(4),\cdots have odd numerator and even denominator.

This proof is correct but insufficiently explicit. We now give our version using the language of valuations.

Note that a rational number with a negative 22-valuation cannot be an integer. More precisely, if a rational number a/ba/b is such that ν2(a/b)=r<0\nu_{2}(a/b)=-r<0 then bb is divisible by the even integer 2r2^{r}. Thus the absolute value of the denominator remains at least 22, even after writing a/ba/b in reduced form, and a/ba/b is not an integer. So to prove Property 5, we need only show ν2(h1(n))<0\nu_{2}(h_{1}(n))<0 for all n2n\geq 2.

Fix n2n\geq 2. Choose rr maximal so that 2rn2^{r}\leq n. We note that ν2(12r)=r\nu_{2}(\frac{1}{2^{r}})=-r. Also by equation (9),

ν2(h1(n))=ν2(1+12+13++12r++1n)=r.\nu_{2}(h_{1}(n))=\nu_{2}(1+\frac{1}{2}+\frac{1}{3}+\cdots+\frac{1}{2^{r}}+\cdots+\frac{1}{n})=-r.

This holds since for each positive integer k=2ρσk=2^{\rho}\sigma with ρ\rho an integer and σ\sigma an odd integer such that k[1,n]k\in[1,n] and k2rk\neq{2^{r}}, the definition of rr forces ρ\rho to be less than rr. So ν2(1k)=ρ>r;\nu_{2}(\frac{1}{k})=-\rho>-r; the unique term where the minimum r-r occurs is 12r.\frac{1}{2^{r}}.

While the Theisinger proof of Property 5 requires only arithmetic, we also provide a simple and elegant proof by Kürschák [9] that invokes a number theory result. Bertrand’s Postulate, i.e., there is always a prime pp in (n/2,n]\left({\lfloor{n/2}\rfloor,n}\right] (see [1] for a proof), implies that h1(n)=1n1k=1+12++1n/2++1p++1n=1pabh_{1}(n)=\sum_{1}^{n}\frac{1}{k}=1+\frac{1}{2}+\cdots+\frac{1}{\lfloor n/2\rfloor}+\cdots+\frac{1}{p}+\cdots+\frac{1}{n}=\frac{1}{p}\frac{a}{b} (with a,ba,b both integers) is never an integer. Every denominator in the sum, except pp itself, is relatively prime to pp. (Other than pp, the smallest number not relatively prime to pp is 2p2p, which is too large to be among the denominators ending at nn.) The denominator bb of the sum of fractions with denominators relatively prime to pp is also relatively prime to pp. Thus h1(n)=1pabh_{1}(n)=\frac{1}{p}\frac{a}{b} is not an integer, since marching from 1/p1/p in aa steps of length 1/b1/b cannot reach an integer. To formalize this, change scale by multiplying everything by bb. We are now marching from b/pb/p to bh1(n)bh_{1}(n) in aa steps of length 11. Since bb and pp are relatively prime, b/pb/p is not an integer, and so neither is its translation bh1(n)bh_{1}(n) nor is h1(n)h_{1}(n).

5 A conjecture for j-times iterated harmonic numbers

From the definitions, it is immediate that for each j1j\geq 1, there holds the identity

hj(1)=1.h_{j}\left(1\right)=1.
Conjecture 3.

For each integer j2j\geq 2, the only jjth iterated harmonic number that is an integer is hj(1)h_{j}\left(1\right).

When j=1j=1, the statement of the conjecture becomes Property 5, which was proved above. The proof relies on the fact that for all n2n\geq 2, reduced h1(n)h_{1}(n) has an even denominator and so cannot be an integer. Demonstrating that the denominator of hj(n)h_{j}(n) is even would prove the conjecture. We present numerical data for the cases of j=3j=3 and j=2j=2. Our computations indicate that the even-denominator property holds for h3h_{3}. The case of h2h_{2} is different, but our evidence, presented in Table 1, suggests a different argument can be found here also.

In computing numerical evidence, we restrict interest to the cases of j=2j=2 and j=3j=3. Write every rational number hj(n)h_{j}\left(n\right), j=2,3j=2,3; n=2,3,n=2,3,\dots as a reduced ratio of positive integers, nj(n)dj(n)\frac{n_{j}\left(n\right)}{d_{j}\left(n\right)}. It suffices to prove that each such denominator d=dj(n)d=d_{j}\left(n\right) is at least 22. All the evidence we have accumulated points to the conjecture’s truth. The rough argument is that the denominators of both h2(n)h_{2}\left(n\right) and h3(n)h_{3}\left(n\right) seem to grow steadily larger as nn increases, whereas the failure of the conjecture would have a denominator of 1 occurring. The proof for the h1h_{1} case involved showing that all denominators were even and hence not equal to 11. The evidence for h3h_{3} does not rule out such a proof. The evidence for h2h_{2} rules out an even denominator proof. Nevertheless it suggests many other possible proofs. If positive integer dd is divisible by prime pp then the pp-valuation of dd is max{ν:pν|d}\max\left\{\nu:p^{\nu}|d\right\}. The pp-valuation of dd is zero when pp does not divide dd. Notice that the proof of Property 5 given above shows that the 22-valuation of the denominator of h1(n)h_{1}\left(n\right) is log2n\left\lfloor\log_{2}n\right\rfloor, where log2n\log_{2}n denotes the base-22 logarithm of nn, the function inverse to base-22 exponentiation.

Numerical evidence when j=3:j=3: We computed the 22-valuation of the (reduced) denominator of h3(n)h_{3}\left(n\right) for n=1n=1 to 2,0002,000. For n=1n=1, the 22-valuation is, of course, 0. For n=2n=2 to n=11n=11 the 22-valuation is 22. For n=12n=12, the 22-valuation is, shockingly, 0. (Nonetheless, h3(12)h_{3}(12) is not an integer.) From n=13n=13 through n=31n=31 the 22-valuation is 33. From n=32n=32 to n=2,000n=2,000, the 22-valuation is always equal to 66.

Numerical evidence when j=2:j=2: We attempted to calculate the pp-valuation for the denominator of h2(n)h_{2}\left(n\right) for n=1n=1 to n=40,000n=40,000 for all 46 primes less than 200200. We ceased computation when we hit computer system limits at n=27,477n=27,477. The 22-valuation is always 0. The 33-valuation is 11 from n=2n=2 to n=53n=53. The 33-valuation then alternates irregularly between 0 and 1. The left panel of Table 1 shows the variation in the 3-valuation of h2(n)h_{2}\left(n\right) up to n=27,477n=27,477.

3-valuation of denom(h2(n))\mbox{denom}(h_{2}\left(n\right)) 97-valuation of denom(h2(n))\mbox{denom}(h_{2}\left(n\right))
nn 3-valuation nn 97-valuation
1 0 1–10 0
2–53 1 11–95 1
54–62 0 96–9,322 2
63–65 1 9,323–9,407 1
66–161 0 9,408–27,477 0
162–188 1
189–197 0
198–1,457 1
1,458–1,700 0
1,701–1,781 1
1,782–4,373 0
4,372–5,102 1
5,103–5,345 0
5,346–27,477 1
Table 1: Selected pp-valuations of the denominator of h2(n)h_{2}\left(n\right). These data were calculated using PARI/GP [11].

The 55-valuation is 22 from n=4n=4 to n=2,499n=2,499. The 55-valuation is then 0 from n=2,500n=2,500 to n=2,999n=2,999. The 5-valuation is then 1 from n=3,000n=3,000 to n=12,499n=12,499, and then the 55-valuation remains at 22 through the end of the run (at n=27,477n=27,477).

Of the 43 remaining primes less than 200200, all of them enter with non-zero pp-valuations as nn grows. For some primes the first non-zero valuation is 11 and in other cases the first non-zero pp-valuation is 22. For example, up to n=6n=6, the 7-valuation is 0; beginning with n=6n=6, the 77-valuation is 22 through the end of the run. Only the 1111-valuation exceeds 22 in the run; at n=848n=848, the 1111-valuation of h2(n)h_{2}\left(n\right) becomes 33 and remains 33 through the end of the run.

With a single exception among the primes between 7 and 200, once the prime acquires a non-zero pp-valuation, the pp-valuation does not decline. At n=9,323n=9,323, the 9797-valuation returns to 11 (from 22), and beginning at n=9,408n=9,408, the 9797-valuation falls to 0 where it remains through the remainder of the run. Thus, from n=9,408n=9,408 through the end of the run (n=27,477n=27,477), 22 and 9797 are the only primes less than 200200 for which in the denominator of h2(n)h_{2}\left(n\right) has a pp-valuation of zero. The behavior of the 9797-valuation is tabulated in right panel of Table 1.

Our best guess is that all the odd hjh_{j} have similar behavior so that the conjecture will be true for the jjth iterated harmonic numbers and provable by showing the 22-valuation of the denominators to be positive. We also guess that the conjecture will hold for all the even hjh_{j}, but that the proof will be quite difficult.

6 The hyperharmonic numbers of Conway and Guy

As our last topic, we compare our iterated harmonic numbers to the hyperharmonic numbers of Conway and Guy [5], a different set of sequence generalizing the harmonic numbers. In The Book of Numbers, Conway and Guy generalize the harmonic numbers to the hyperharmonic numbers [5]. In their notation, the sequence of harmonic numbers are designated as Hn(1)H_{n}^{(1)}, the sequence of second harmonics is defined by Hn(2)=H1(1)+H2(1)++Hn(1)H_{n}^{(2)}=H_{1}^{(1)}+H_{2}^{(1)}+\cdots+H_{n}^{(1)}, the sequence of third harmonics is defined by Hn(3)=H1(2)+H2(2)++Hn(2)H_{n}^{(3)}=H_{1}^{(2)}+H_{2}^{(2)}+\cdots+H_{n}^{(2)} , and so on.

[5] presents the hyperharmonic numbers without motivating their existence. A natural motivation comes from summability of infinite series. We look at Ernest Cesàro’s sequence of summation methods (C,k),k=0,1,2,(C,k),k=0,1,2,\dots. (See section 5.4 of [7].) Let Σ=i=1ai\Sigma=\sum_{i=1}^{\infty}{a_{i}} be an infinite series. Let An(1)A_{n}^{(1)} be the sequence of partial sums of the series, let An(2)=A1(1)+A2(1)++An(1)A_{n}^{(2)}=A_{1}^{(1)}+A_{2}^{(1)}+\cdots+A_{n}^{(1)}, and An(3)=A1(2)+A2(2)++An(2)A_{n}^{(3)}=A_{1}^{(2)}+A_{2}^{(2)}+\cdots+A_{n}^{(2)}, and so on.

Obviously the hyperharmonic number Hn(k)H_{n}^{(k)} is exactly the number An(k)A_{n}^{(k)} for the special case where the original series is specialized to ai=1ia_{i}=\frac{1}{i} for all ii. However it seems like the motivation goes no deeper. The next paragraph sketches how the An(k)A_{n}^{(k)} fit into summability theory.

When limnAn(1)=A(1)\lim_{n\to\infty}A_{n}^{(1)}=A^{(1)}, say that Σ\Sigma is (C,0)(C,0) summable to A(1)A^{(1)}, so (C,0)(C,0) summability is ordinary convergence. When limnAn(2)n=A(2)\lim_{n\to\infty}\frac{A_{n}^{(2)}}{n}=A^{(2)}, say that Σ\Sigma is (C,1)(C,1) summable to A(2)A^{(2)}. When limnAn(3)(n+12)=A(3)\lim_{n\to\infty}\frac{A_{n}^{(3)}}{\binom{n+1}{2}}=A^{(3)}, say that Σ\Sigma is (C,2)(C,2) summable to A(3)A^{(3)}. For i<j,A(i)i<j,A^{(i)} exists implies A(j)A^{(j)} exists and A(j)=A(i)A^{(j)}=A^{(i)}. The series 11+11+1-1+1-1+\cdots is not (C,0)(C,0) summable, but is (C,1)(C,1) summable to 12\frac{1}{2}. The series 12+34+1-2+3-4+\cdots is not (C,1)(C,1) summable, but is (C,2)(C,2) summable to 14\frac{1}{4}.

During the twenty year period after the creation of the hyperharmonic numbers, a lot of evidence, both numerical and theoretical, was piling up in support of the conjecture that 1 was the only hyperharmonic integer. However, in 2020, some very large hyperharmonic integers were revealed, the smallest of which is H33(64(226591)+32)H_{33}^{(64(2^{2659}-1)+32)} [10].

7 Musings

For each jj, the sequence {hj(n)}\{h_{j}(n)\} is increasing in nn. For the harmonic numbers and for j=2j=2 the sequences are concave, i.e., hj(n+2)2hj(n+1)+hj(n)<0h_{j}(n+2)-2h_{j}(n+1)+h_{j}(n)<0 for n=1,2,n=1,2,\ldots It might be interesting to check monotonicity in jj (for fixed nn) and concavity of {hj(n)}\{h_{j}(n)\} for j>2j>2. Another interesting, accessible problem would be to prove the inequalities in Equation 2.

For each jj, our iterated harmonic numbers hj()h_{j}(\cdot) and the Conway–Guy hyperharmonic numbers H(j)H_{\cdot}^{(j)} are sequences of rational numbers tending to infinity. When j=1j=1, both generalizations coincide with the harmonic numbers and hence contain no integers larger than 11. The naïve guess that the ever more slowly increasing sequences hjh_{j} are more likely to intersect the integers than are the much more rapidly increasing H(j)H^{(j)}—and that this effect increases with increasing jj—is revealed as overly simplistic by our computations and Sertbaş’ example. With respect to the Conjecture 3, we have a feeling that the odd iteration cases all involve the 22-valuation and may be more like the j=1j=1 classical case and the even iteration cases may all be similar to the j=2j=2 case. In particular, j=3j=3 may be the easiest of all the open cases.

Comparing Theorems 1 and 2 shows that the γj\gamma_{j} can easily be estimated to several decimal places, while the γj\gamma_{j}^{\prime} cannot. That is, although hjγjh_{j}-\gamma_{j}^{\prime} is indeed an estimator for the jjth iterated logarithm, it is not nearly as good as is ljγjl_{j}-\gamma_{j}. The hjh_{j} are rational but do not give practical approximations for iterated logarithms. Even for γ2\gamma_{2} and γ3\gamma_{3}, approximation to two significant figures would likely require a new idea.

An infinite list of difficult open questions asks whether the γj\gamma_{j} and γj\gamma_{j}^{\prime} are transcendental or, at least, irrational. This is a well known open question when j=1j=1 and γ1=γ1=γ\gamma_{1}=\gamma_{1}^{\prime}=\gamma, where γ=.577\gamma=.577\ldots is Euler’s constant. For each j2j\geq 2, the value of the γj\gamma_{j} appearing in Theorem 2 depended on an arbitrary choice of a lower limit of an integration. If someone could determine a canonical or natural way of making that choice, then the questions about γj\gamma_{j} for j2j\geq 2 would become more important.

We have not found any direct generalizations of the harmonic numbers other than the Conway-Guy hyperharmonic numbers and our own iterated harmonic numbers. It would be interesting to see if there have been other generalizations. One place to look could be among various generalizations of Euler’s constant γ\gamma associated with Stieltjes.

We thank Stefan Catoiu, Gang Wang and anonymous referees for suggestions that improved the paper.

References

  • [1] M Aigner and GM Ziegler, Proofs from The Book, 6th ed., Berlin, Heidelberg, 2018.
  • [2] TM Apostol, Calculus, Volume II, 2nd ed., Waltham: Blaisdell Publishing Company, 1969.
  • [3] JM Ash, Series involving iterated logarithms, College Math. J. 40 (2009), 40–42.
  • [4] JM Ash and Á Plaza, n=21nHn1\sum_{n=2}^{\infty}\frac{1}{nH_{n-1}} diverges while n=21n(Hn)1+ϵ\sum_{n=2}^{\infty}\frac{1}{n\left(H_{n}\right)^{1+\epsilon}} converges, The Mathematical Gazette (2021), 161–162.
  • [5] JH Conway and R Guy, The Book of Numbers, New York: Springer-Verlag, 1996.
  • [6] X Gourdon and P Sebah, The Euler constant: γ\gamma, 2004, available from http://numbers.computation.free.fr/Constants/Gamma/gamma.html.
  • [7] GH Hardy, Divergent Series, Oxford: Oxford Univ. Press, 1973.
  • [8] GH Hardy and EM Wright, An Introduction to the Theory of Numbers, 4th ed., Oxford: Oxford University Press, 1960.
  • [9] J Kürschák, A Harmonikus Sorról, Mat. és Fiz. Lapók 27 (1918), 299–300.
  • [10] DC Sertbaş, Hyperharmonic integers exist, Comptes Rendus Mathématique 358 (2020), no. 11-12, 1179–1185.
  • [11] The PARI Group, PARI/GP version 2.11.2, Univ. Bordeaux, 2019, available from http://pari.math.u-bordeaux.fr/.
  • [12] L Theisinger, Bemerkung über die harmonische Reihe, Monatshefte für Mathematik und Physik 26 (1915), no. 1, 132–134.