A Class of Exponential Sequences with Shift-Invariant Discriminators
Sajed Haque, Jeffrey Shallit

TL;DR
This paper introduces a class of exponential sequences whose discriminators remain unchanged under any shift, revealing a unique invariance property in the structure of these sequences.
Contribution
It identifies and characterizes exponential sequences with shift-invariant discriminators, a novel property not previously documented.
Findings
Discovered a class of exponential sequences with shift-invariant discriminators
Proved the invariance property holds for these sequences
Provided theoretical framework for analyzing discriminator invariance
Abstract
The discriminator of an integer sequence s = (s(i))_{i>=0}, introduced by Arnold, Benkoski, and McCabe in 1985, is the function D_s(n) that sends n to the least integer m such that the numbers s(0), s(1), ..., s(n-1) are pairwise incongruent modulo m. In this note we present a class of exponential sequences that have the special property that their discriminators are shift-invariant, i.e., that the discriminator of the sequence is the same even if the sequence is shifted by any positive constant.
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
TopicsCoding theory and cryptography · Analytic Number Theory Research · semigroups and automata theory
A Class of Exponential Sequences with Shift-Invariant Discriminators
Sajed Haque and Jeffrey Shallit
School of Computer Science
University of Waterloo
Waterloo, ON N2L 3G1
Canada
Abstract
The discriminator of an integer sequence , introduced by Arnold, Benkoski, and McCabe in 1985, is the function that sends to the least integer such that the numbers are pairwise incongruent modulo . In this note we present a class of exponential sequences that have the special property that their discriminators are shift-invariant, i.e., that the discriminator of the sequence is the same even if the sequence is shifted by any positive constant.
1 Discriminators
Let be a positive integer. If is a set of integers that are pairwise incongruent modulo , we say that discriminates . Now let be a sequence of distinct integers. For all integers , we define to be the least positive integer that discriminates the set . The function is called the discriminator of the sequence s.
The discriminator was first introduced by Arnold, Benkoski, and McCabe [1]. They derived the discriminator for the sequence of positive integer squares. More recently, discriminators of various sequences were studied by Schumer and Steinig [11], Barcau [2], Schumer [10], Bremser, Schumer, and Washington [3], Moree and Roskam [8], Moree [6], Moree and Mullen [7], Zieve [13], Sun [12], Moree and Zumalacárrequi [9], and Haque and Shallit [5].
In all of these cases, however, the discriminator is based on the first terms of a sequence, for . Therefore, the discriminator can depend crucially on the starting point of a given sequence. For example, although the discriminator for the first three positive squares, , is , we can see that the number does not discriminate the length-3 “window” into the shifted sequence, , since .
Furthermore, there has been very little work on the discriminators of exponential sequences. Sun [12] presented some conjectures concerning certain exponential sequences, while in a recent tour de force, Moree and Zumalacárrequi [9] computed the discriminator for the sequence .
We say that the discriminator of a sequence is shift-invariant if the discriminator for the sequence is the same even if the sequence is shifted by any positive integer , i.e., for all positive integers the discriminator of the sequence is the same as the discriminator of the sequence . In this paper, we present a class of exponential sequences whose discriminators are shift-invariant.
We define this class of exponential sequences as follows:
[TABLE]
for odd positive integers and , where is the smallest positive integer such that . A typical example is the sequence . We show that the discriminator for all sequences of this form is . Furthermore, we show that this discriminator is shift-invariant, i.e., it applies to every sequence for .
The outline of the paper is as follows. In Section 2 we obtain an upper bound for the discriminator of and all of its shifts. In Section 3 we prove some lemmas that are essential to our lower bound proof. Finally, in Section 4 we put the results together to determine the discriminator for and all of its shifts.
2 Upper bound
In this section, we derive an upper bound for the discriminator of the sequence and all of its shifts. We start with some useful lemmas.
Lemma 1**.**
Let be an odd integer, and let be the smallest positive integer such that . Then .
Proof.
Note that since every odd integer equals modulo 4, we must have . From the definition of , we have . Hence for some integer . By squaring both sides of the equation, we get
[TABLE]
∎
Lemma 2**.**
Let be an odd integer, and let be the smallest positive integer such that . Then we have
[TABLE]
for all integers .
Proof.
By induction on .
Base case:
From Lemma 1, we have .
Induction:
Suppose Eq. (1) holds for some , i.e., . This means that for some integer . Once again, by squaring both sides of the equation, we get
[TABLE]
This shows that Eq. (1) holds for as well, thus completing the induction.
∎
This gives the following corollary.
Corollary 3**.**
Let be an odd integer, and let be the smallest positive integer such that . Then for , the powers of form a cyclic subgroup of order in .
Proof.
Let . Since , we can apply Eq. (1) to get
[TABLE]
Furthermore, by applying Eq. (1) directly, we get
[TABLE]
Therefore, the order of the subgroup generated by in is . ∎
Lemma 4**.**
Let be an odd integer, and let be the smallest positive integer such that . Then for , the number discriminates every set of consecutive terms of the sequence .
Proof.
For every , it follows from Corollary 3 that the numbers
[TABLE]
are distinct modulo . By subtracting 1 from every element, we have that the numbers
[TABLE]
are distinct modulo . Furthermore, these numbers are also congruent to 0 modulo because from Lemma 1. It follows that the set of quotients
[TABLE]
consists of integers that are distinct modulo .
Such a set of quotients coincides with every set of consecutive terms of the sequence . Since the numbers in each set are distinct modulo , the desired result follows. ∎
3 Lower bound
In this section, we establish some results useful for the lower bound on the discriminator of the sequence . We start with an easy technical lemma, whose proof is omitted.
Lemma 5**.**
Let be a positive integer. Then .
The main lemma for proving the lower bound is as follows:
Lemma 6**.**
Let be an odd integer, and let be the smallest positive integer such that . Then for all and , there exists a pair of integers, and , where , such that .
Proof.
Let the prime factorization of be
[TABLE]
where , while are the prime factors of that also divide , and are the odd prime factors of that do not divide . For each , let be the integer such that , i.e., we have but .
We need to find a pair such that . From the Chinese remainder theorem, we know it suffices to find a pair such that
[TABLE]
For the first of these equations, we know from Corollary 3 that . In other words, it suffices to have to satisfy .
Next, we consider the equations of the form . Since is a factor of , it follows that is a multiple of . Therefore, . Any further multiplication by also yields 0 modulo . Thus, it suffices to have in order to ensure that .
Finally, there are equations of the form . In each case, is co-prime to , which means that , where is Euler’s totient function. Now . Thus, it is sufficient to have in order to ensure that .
Merging these ideas together, we choose the following values for and :
[TABLE]
to ensure that . It is clear that . In order to show that , we first observe that
[TABLE]
We now consider the following two cases:
Case 1: .
If as well, then , which means that and thus . Otherwise, if , then we have
[TABLE]
Case 2: .
Let be such that , and thus, is the corresponding prime number with exponent . Since , we have
[TABLE]
Note that from Lemma 5, which means that
[TABLE]
Since both and are integers, this implies that
[TABLE]
In both cases, we have , thus fulfilling the required conditions. ∎
4 Discriminator of and its shifted counterparts
In this section, we combine the results of the previous sections to determine the discriminator for , as well as its shifted counterparts. We first prove a general lemma about the discriminator of some scaled sequences.
Lemma 7**.**
Given a sequence and a non-zero integer , let denote the sequence such that for all . Then, for every such that , we have .
Proof.
From the definition of the discriminator, we know that for every , there exists a pair of integers and with , such that . Thus, for this same pair of and , we have
[TABLE]
Therefore, cannot discriminate the set and so .
But for , we know that for all and with , we have . Since , it follows that
[TABLE]
for all and with . Therefore, discriminates the set
[TABLE]
and so .
Putting these results together, we have . ∎
We now compute the discriminator for , and also for its shifted counterparts, which we denote by for some integer .
Theorem 8**.**
Let , , , and be integers such that and are odd, , and let be the smallest integer such that . Then the discriminator for the sequence is
[TABLE]
Proof.
First we compute the discriminator for , where the sequence is of the form .
The case for is trivial. Otherwise, let be such that . We show that .
From Lemma 4, we know that discriminates the set,
[TABLE]
as well as every smaller subset of these numbers. Therefore, discriminates
[TABLE]
In other words, .
Now let be a positive integer such that . By Lemma 6, we know that there exists a pair of integers, and , such that
[TABLE]
Note that since from Lemma 1, we have . Therefore,
[TABLE]
In other words, while both numbers are in the set
[TABLE]
since . Therefore, fails to discriminate this set. Since this applies for all , we have .
Since we have , this means that and thus , provided that .
Even for , we observe that the value of is a power of 2 for all , and so it is co-prime to all odd . Therefore, we can apply Lemma 7 to prove that the discriminator remains unchanged for odd values of , thus proving that the discriminator for the sequence, is . ∎
5 Final remarks
We have considered sequences of the form for odd integers and , where is the smallest positive integer such that . We showed that the discriminator for this sequence is characterized by and that the discriminator is shift-invariant, i.e., all sequences of the form for share the same discriminator.
This raises the question of what other sequences have shift-invariant discriminators. It is easy to show that sequences defined by a linear equation, i.e. of the form , have shift-invariant discriminators. Furthermore, the first author has recently shown [4] that the sequence , for a positive integer and odd integers , also has a shift-invariant discriminator .
It is an open problem as to whether there are any sequences, other than those mentioned here, whose discriminators are shift-invariant. Futhermore, all sequences whose discriminators are known to be shift-invariant have discriminators with linear growth, but we do not know if this is true of all shift-invariant discriminators.
6 Acknowledgments
We are grateful to Pieter Moree for introducing us to this interesting topic of discriminators. He also suggested the idea of generalizing to be any positive odd integer, thus broadening the class of exponential sequences presented in this paper.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] L. K. Arnold, S. J. Benkoski, and B. J. Mc Cabe. The discriminator (a simple application of Bertrand’s postulate). Amer. Math. Monthly 92 (1985), 275–277.
- 2[2] M. Barcau. A sharp estimate of the discriminator. Nieuw. Arch. Wisk. 6 (1988), 247–250.
- 3[3] P. S. Bremser, P. D. Schumer, and L. C. Washington. A note on the incongruence of consecutive integers to a fixed power. J. Number Theory 35 (1990), 105–108.
- 4[4] S. Haque. Quadratic sequences with discriminator p ⌈ l o g p n ⌉ superscript 𝑝 𝑙 𝑜 subscript 𝑔 𝑝 𝑛 p^{\lceil log_{p}n\rceil} . Manuscript in preparation, January 2017.
- 5[5] S. Haque and J. Shallit. Discriminators and k 𝑘 k -regular sequences. INTEGERS 16 (2016), Paper A 76.
- 6[6] P. Moree. The incongruence of consecutive values of polynomials. Finite Fields Appl. 2 (1996), 321–335.
- 7[7] P. Moree and G. L. Mullen. Dickson polynomial discriminators. J. Number Theory 59 (1996), 88–105.
- 8[8] P. Moree and H. Roskam. On an arithmetical function related to Euler’s totient and the discriminator. Fibonacci Quart. 33 (1995), 332–340.
