A sum involving the greatest-integer function
David Ross Richman

TL;DR
This paper investigates the properties of a specific sum involving the greatest-integer function, analyzing how its values change as parameters vary.
Contribution
It characterizes the set of values of a sum involving the greatest-integer function for varying n and x, providing new insights into its behavior.
Findings
Identifies the structure of the set of possible sum values.
Provides formulas or bounds for the sum.
Analyzes the sum's behavior as n and x vary.
Abstract
We determine properties of the set of values of as and vary.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdvanced Mathematical Theories · Analytic Number Theory Research
A Sum Involving the Greatest-Integer Function
David Ross Richman1
Department of Mathematics, University of South Carolina, Columbia, SC 29208, USA
Abstract.
We determine properties of the set of values of as and vary.
1991 Mathematics Subject Classification:
Primary 26D15; Secondary 40A25, 11A99
1David Richman died on February 1, 1991, in an airplane accident. This paper was in his files and has been slightly modified for publication by Michael Filaseta, Jeffrey Lagarias, and Harry Richman with the consent of David’s wife Shumei Cheng Richman.
1. Introduction
Let denote a real number and let denote a positive integer. Problem 5 of the 1981 U.S.A. Mathematical Olympiad was to prove that
[TABLE]
where denotes the greatest integer less than or equal to . Observe that
[TABLE]
This relation does not, however, obviously imply (1), because the sum on the right-hand side of (2) is not necessarily an integer. Proofs of (1) are given by Klamkin [3, pp. 92–92] and Larsen [5, p. 279].
More can be said about relation (1); for example, if equality does not hold (), then in fact
[TABLE]
(This is the content of Proposition 3.1.)
Let . Let denote the range of this function; it is a finite set of rational numbers. Let ; it is a countable set of rational numbers and relation (1) is equivalent to the statement that the elements of are all nonnegative. The main result of this paper is:
Theorem 1.1**.**
- (i)
The smallest limit point of the set is
[TABLE] 2. (ii)
The members of smaller than are given by [math], , and all the partial sums for 3. (iii)
The members of larger than are dense in the interval
The theorem can be summarized in the equivalent form
[TABLE]
In particular, (1) implies that equals [math] or or or or a number which is greater than or equal to .
Remark**.**
Note that when is an integer (or, more generally, when ). Let denote a positive integer; one can easily prove by induction on that if and , then . If and , then . These observations already imply that contains and all the partial sums of .
The author was able to discover (1) largely because, when is fixed and varies, the values of can be calculated explicitily (a similar observation is made in [3, p. 92]). For example, considering the case that , one has
[TABLE]
Thus . Calculations of this kind are useful for suggesting patterns and conjectures, but are not needed to prove (1) or (1).
To prove (1), this paper will focus attention on the smallest number satisfying for every in , when and are fixed. This approach, or a similar idea, is also used in [3, p. 92] and [5, p. 279].
This paper is organized as follows. Section 2 contains a new, simple proof of (1). In Sections 3 and 4 we obtain necessary and sufficient conditions for to be less than . We will then establish the main result (1) in Section 5. Finally, Section 6 contains a proof that . This gives an upper bound for which complements the lower bound for implied by (1).
2. A lower bound for
We begin by sketching a new proof of the Olympiad problem (1), which we restate below. Recall that denotes the set of numbers of the form where varies over all real numbers.
Lemma 2.1** (1981 USAMO, Problem 5).**
For any positive integer and any ,
[TABLE]
Proof.
Let be a fixed positive integer. Define
[TABLE]
Note that and for every . Therefore
[TABLE]
Let denote the smallest element of such that . If , then so . Thus is the smallest real number satisfying (4).
The relation will now be proved by induction on ; it obviously holds for all when . Suppose now that and let denote the element of which is congruent to modulo . Observe that is an integer, because is a multiple of and . Therefore
[TABLE]
By the induction hypothesis and (4) we have . Hence (2) implies that
[TABLE]
This relation and (4) imply . ∎
3. Preliminary analysis
We now turn toward establishing the main result (1). The next result is a partial result in this direction and will provide us with some of the background for establishing (1). We make use of the same notation as in the proof above, namely
[TABLE]
It is clear that . It is shown in the proof below that is the denominator of in lowest terms.
Proposition 3.1**.**
If , then ; otherwise, .
Proof.
Suppose at first that . Then . This observation and the fact that for any and any integer imply that for every . Hence
[TABLE]
Suppose now that , and let denote (as before) the element of which is congruent to modulo . Statements (4) and (6) imply that
[TABLE]
Note that , because and . Therefore
[TABLE]
Observe that, if is an element of such that is an integer, then by (4), so . The definition of now implies that is the smallest positive integer such that is an integer. Hence and are relatively prime. Therefore, if varies over a set of integers which are pairwise incongruent modulo , then the integers will be pairwise incongruent modulo , and hence the integers will also be pairwise incongruent modulo . Since
[TABLE]
we obtain that
[TABLE]
A similar observation is made in [3, p. 92]. By (3),
[TABLE]
This equation and the supposition that (so ) imply that
[TABLE]
From (7) and (3), we deduce that . ∎
Corollary 3.2**.**
If , then ; otherwise, .
Proof.
By Proposition 3.1 it suffices to show that
[TABLE]
Suppose at first that . Then for every , and hence for every . Therefore and hence .
Suppose now that . Then , so . Hence , so . Therefore . ∎
Note that when and .
Lemma 3.3** (Rearrangement inequality).**
Let and denote real numbers such that . Let denote a permutation of such that . Then
[TABLE]
This result, and a proof of it, can be found in [2, p. 261].
Lemma 3.4**.**
Suppose that and are relatively prime integers and . Then for every positive integer
[TABLE]
In other words, .
Proof.
Let , and note that is not an integer. This implies that and cannot both be integers, so either or (or both). Thus for or ; note also that for any and any . We deduce that
[TABLE]
where the last equality uses that is an integer. Adding to both sides of this relation yields the desired inequality. ∎
Recall that denotes the smallest element of such that .
Proposition 3.5**.**
Suppose that satisfies ; then
[TABLE]
Proof.
The supposition that implies that . Therefore since . Hence
[TABLE]
Let denote the element of which is congruent to modulo .
Suppose at first that , so . Then by Corollary 3.2 (with replaced by ), . This observation and (4) imply that . Hence, from (2),
[TABLE]
From (3), (10), and (11), this implies
[TABLE]
This inequality and (4) imply that .
Suppose now that . This inequality and the initial supposition that imply that . Therefore , so . Hence
[TABLE]
Inequality (7) and the first inequality of (3) imply that
[TABLE]
We seek a good lower bound for . Statement (3) implies that
[TABLE]
This observation and Lemma 3.3, with and , imply that
[TABLE]
Similar inequalities can be found in [3, pp. 92, 93]. From (12), we obtain
[TABLE]
Define . Suppose at first that is even. Then and by (11) we have . From (3), we obtain
[TABLE]
Note that
[TABLE]
because
[TABLE]
Statements (3) and (16), together with the fact that , imply that
[TABLE]
This inequality and (13) establish the proposition when is even.
Suppose now that is odd. Then , so . From (3), we obtain
[TABLE]
Note that is a decreasing function of . Using (16), this implies
[TABLE]
Statements (3) and (18) imply that, if , then
[TABLE]
This inequality and relation (13) establish the proposition when is odd and .
One verifies, using (13) and (3), that the proposition also holds when or since
[TABLE]
To finish the proof, by observation (11) it suffices to consider the case that .
Assume that . Note that ; hence . The initial supposition that implies that . Hence , so . From (4), we obtain
[TABLE]
Observe that when , or . This observation and Lemma 3.4 (with ) imply that for all . Since , statement (19) implies the proposition when . ∎
4. Smallest limit point of
In this section we address how the value of , for certain and , is related to the series and its partial sums.
Proposition 4.1**.**
Define .
- (i)
If satisfies and , then
[TABLE] 2. (ii)
Suppose that . If or , then
[TABLE] 3. (iii)
Suppose that . If , then . If , then . If and , then
[TABLE]
Proof.
Observe that (4) implies
[TABLE]
One can easily prove by induction on that
[TABLE]
Suppose that . This supposition and the fact that imply that . (It follows that .) Hence, from (20),
[TABLE]
If in addition , then by (21)
[TABLE]
This establishes statement (i) of the proposition.
Observe that is an increasing function of , because
[TABLE]
Therefore
[TABLE]
From (21), we deduce
[TABLE]
Now suppose and . Recall, from the definition of , that . Therefore, if , then , so . Using (23) this implies
[TABLE]
From this inequality and (22), we get
[TABLE]
As mentioned in the introduction, . This can be obtained from (21) by comparing the sum on the left-hand side to an integral. We deduce that
[TABLE]
This inequality can in fact be established without evaluating explicitly by rewriting the sum defining as a telescoping series.
Now suppose and . Observe that if , then
[TABLE]
Earlier in this proof, we showed that \sum^{2m-2}_{k=m}1/k\phantom{\Big{)}}\!\! is an increasing function of . A similar argument establishes that and are decreasing functions of . This observation and relation (26) imply that, if and , then
[TABLE]
From Lemma 3.4 (with ), we deduce that if and , then . From (22) and (25),
[TABLE]
Suppose now that and . The definition of and the supposition that imply that . Hence . Since , we obtain . Therefore, from Proposition 3.5 and from (25),
[TABLE]
This inequality and relations (24) and (27) establish statement (ii) of the proposition.
Suppose now that . Note that . Hence . Note also that, by the definition of and the supposition that , we have , so . Thus, . From (22), we obtain
[TABLE]
Note that when or . Hence, Lemma 3.4 (with implies that for all . Now, (25) and (28) establish statement (iii) of the proposition for . Recall that , so . One can verify, using (25) and (28), that (iii) holds for , , and . Hence it holds for all . ∎
Proposition 4.1 implies that, for most pairs (especially when is large), .
5. Proof of main theorem
We now prove the main result of this paper (in equivalent form (1)).
Theorem 5.1**.**
Let denote the set of numbers of the form , where varies over all real numbers and varies over all positive integers. Then
[TABLE]
Proof.
Proposition 3.1 implies that if , then , and Proposition 4.1 implies that if , then equals a partial sum of or or a number which is strictly greater than . Hence
[TABLE]
It was observed in the introduction that contains [math] and and all the partial sums of the series . This observation and statement (29) imply that, to finish the proof, it suffices to show that contains a dense subset of the interval .
Let denote a real number such that . It will be shown that there are elements of which are arbitrarily close to . Let denote an integer such that .
Claim. There is a positive integer such that
[TABLE]
In other words, .
Proof of the claim.
Observe that by (21)
[TABLE]
Note that, for every positive integer ,
[TABLE]
where in the last step we have used that for any . This inequality and the fact that diverges imply that there are only finitely many positive integers such that . Let denote the largest such integer; statement (30) implies that exists with . The definition of implies that
[TABLE]
Observe that
[TABLE]
where in the last line we have used that
[TABLE]
Since for , we obtain from (5) that
[TABLE]
Adding a constant to both sides of this inequality yields
[TABLE]
This inequality and relation (31) establish the claim. ∎
Note that the distance between two adjacent elements of is less than or equal to . This observation and the claim imply that there is an integer such that
[TABLE]
Define
[TABLE]
Note that , by (33), so approaches [math] as approaches . Since lies in for any , lies in the closure of . This holds for any , so contains a dense subset of . ∎
Remark**.**
The preceding proof and the remark made after statement (1) imply that Theorem 5.1 holds true when we restrict in the definition of to be numbers of the form where is a positive integer.
6. An upper bound for
Recall that denotes the set of numbers of the form where varies over all real numbers. Observe that
[TABLE]
The following theorem sharpens this inequality.
Theorem 6.1**.**
For fixed and any value of ,
[TABLE]
Equality holds when , so this bound is sharp as varies.
Proof.
We proceed by induction on . If , then and . Therefore the theorem is true when .
Suppose now that and define and as in the beginning of Section 3. Note that
[TABLE]
because is an integer (in fact, ).
Assume at first that . From (4) and (34), we deduce that
[TABLE]
We use the induction hypothesis to get an upper bound on the first two expressions on the right and use that to get an upper on the last two expressions. We obtain that
[TABLE]
This proves the desired bound when . (In this case, the bound is strict.)
Assume now that . From relation (4) we have
[TABLE]
The assumption that and statement (3) imply that . From Lemma 3.3 (with and ) we obtain
[TABLE]
Relations (35) and (36) imply the desired bound when .
If it is straightfoward to verify that . ∎
It can be shown that the relation in Theorem 6.1 is an equality if and only if . We omit the details.
Remark**.**
Note that the upper bound in Theorem 6.1 is
[TABLE]
where is the -th harmonic number and is the Euler–Mascheroni constant.
Acknowledgements
I am grateful to Charles Nicol for bringing to my attention the inequality (1) and encouraging me to prove it. I am also grateful to John Selfridge for describing his proof of (1) to me and telling me that (1) was in a U.S.A. Mathematical Olympiad.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] R. Courant, Differential and Integral Calculus, 2nd ed. , Wiley Classics Library, Interscience, New York, 1988.
- 2[2] G. H. Hardy, J. E. Littlewood and G. Pólya, Inequalities , Cambridge University Press, Cambridge, 1934.
- 3[3] M. S. Klamkin, U.S.A. Mathematical Olympiads, 1972-1986 , The Mathematical Association of America, Washington, D. C., 1988.
- 4[4] P. P. Korovkin, Inequalities , Blaisdell, New York, 1961 (first published in Russian by Gostekhizda, Moscow-Leningrad, 1952).
- 5[5] L. C. Larson, Solutions to 1981 U.S.A. and Canadian Mathematical Olympiads, Math. Magazine 54 (1981), 277–280.
