Received: 19 November 2017 / Accepted: 11 January 2018
The sequence of Euler up/down numbers $ (E_n)_{n\geq0}$ is the sequence with exponential generating series
\begin{equation} \sum_{n=0}^{\infty} \frac{E_n}{n!} x^n = \sec x + \tan x. \end{equation} | (1) |
The following lemma implies that it suffices to know the values of $ s(q)$ and $ d(q)$ when $ q$ is a prime power in order to know the values of $ s(q)$ and $ d(q)$ for any $ q \geq 2$.
\begin{equation} q=\prod_{i=1}^k p_i^{\alpha_i}, \end{equation} | (2) |
\begin{equation} s(q)=\max_{1 \leq i \leq k} s(p_i^{\alpha_i}) \end{equation} | (3) |
\begin{equation} d(q)=\lcm (d(p_1^{\alpha_1}),\ldots,d(p_k^{\alpha_k})). \end{equation} | (4) |
The proof is elementary and uses the Chinese remainder theorem.
When $ q$ is an odd prime power, [Knuth and Buckholtz1967] found the following:
We conjecture the following for the exact values of $ s(q)$ and $ d(q)$ when $ q$ is an odd prime power:
Conjecture 1 is supported by Mathematica simulations done for all odd prime powers $ q< 1000$.
Formulating a conjecture analogous to Conjecture 1 for
powers of $ 2$ requires to define, following [Arnold1991], a sequence describing the behavior of
the $ 2$-adic valuation of the Entringer numbers.
The Entringer numbers are a refined version of the Euler numbers,
enumerating some subsets of up/down permutations. For any $ n\geq0$, a
permutation $ \sigma\in\calS_n$ is called up/down
if for any $ 2\leq i \leq n$, we have $ \sigma(i-1)< \sigma(i)$ (resp. $ \sigma(i-1)> \sigma(i)$) if
$ i$ is even (resp. $ i$ is odd). [André1879] showed that the number of
up/down permutations on $ n$ elements is $ E_n$. For any
$ 1 \leq i \leq n$, the Entringer number
$ e_{n,i}$ is defined to be the number of up/down permutations
$ \sigma\in\calS_n$ such that $ \sigma(n)=i$. The Entringer numbers are usually
displayed in a triangular array called the
Seidel–Entringer–Arnold triangle, where the numbers
$ (e_{n,i})_{1 \leq i\leq n}$ appear from left to right on the $ n$-th line (see
Fig. 1).
The Entringer numbers can be computed using the following
recurrence formula (see for example [Stanley2012]). For any $ n\geq2$ and for any
$ 1\leq i \leq n$, we have
Replacing each entry of the Seidel–Entringer–Arnold
triangle by its $ 2$-adic valuation, we obtain an infinite triangle
denoted by $ T$ (see Fig. 2).
We read this triangle $ T$ diagonal by diagonal, with
diagonals parallel to the left boundary. For any $ i\geq1$, denote by
$ D_i$ the $ i$-th diagonal of the triangle $ T$
parallel to the left boundary. For example $ D_1$ starts with
$ 0,\infty,0,\infty,0,\ldots$ For any $ i\geq1$, denote by $ m_i$ the minimum
entry of diagonal $ D_i$. [Arnold1991] observed that the further away one
moves from the left boundary, the higher the $ 2$-adic valuation of
the Entringer numbers becomes. In particular, he observed (without proof)
that the sequence $ (m_i)_{i\geq1}$ was weakly increasing to infinity. He defined
the following sequence: for any $ k \geq 1$, \begin{eqnarray*} u_k:=\max \left\{i\geq1 | m_i < k \right\}. \end{eqnarray*} In other words,
$ u_k$ is the number of diagonals containing at least one entry that is
not zero modulo $ 2^k$. The sequence $ (u_k)_{k\geq1}$ is referenced as
the sequence A108039 in the On-Line Encyclopedia of Integer Sequences
([Sloane2017]) and its first few terms are given in
Table 1.
Note that the first few terms given by Arnold were incorrect, because
the entry $ 4$ appeared four times, whereas it should be appearing
only three times. We also remark that we cannot define any sequence
analogous to $ (u_k)$ when studying the $ p$-adic valuations
of the Entringer numbers for odd primes $ p$. Indeed, the
$ p$-adic valuation $ 0$ seems to appear in diagonals of
arbitrarily high index.
Using the sequence $ (u_k)_{k\geq1}$, we formulate the following
conjecture for $ s(q)$ and $ d(q)$ when $ q$ is a power
of $ 2$:
Numerical simulations performed on Mathematica for $ k\leq 12$
support Conjecture 2.
3.1. The Seidel–Entringer–Arnold
Triangle
\begin{equation} e_{n,i}= \begin{cases} \sum_{j< i} e_{n-1,j} &\text{if n is even} \\ \sum_{j\geq i} e_{n-1,j} &\text{if n is odd}. \end{cases} \end{equation}
(5)
3.2. Arnold's Sequence
$ k$ 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 $ u_k$ 2 4 4 4 8 8 8 8 10 12 12 16 16 16 16 16 18 20 BorderB
3.3. Case When $ q$ is a Power of
$ 2$
Conjecture 2.
For any $ k\geq 1,$ we have
Furthermore$ ,$ if $ k\geq1$ and $ k\neq2,$ we have
\begin{equation} s(2^k)=u_k. \end{equation}
(6)
Finally$ ,$ we have $ d(4)=2$.
\begin{equation} d(2^k)= 2^k. \end{equation}
(7)
In this section we provide a construction which conjecturally yields Arnold's sequence $ (u_k)_{k\geq1}$.
We denote by $ \Z_+$ the set of nonnegative integers and we denote by \begin{eqnarray*} S:=\bigsqcup_{d\geq1}\Z_+^d \end{eqnarray*} the set of all finite sequences of nonnegative integers. We define a map $ f\colon S\rightarrow S$, which maps each $ \Z_+^d$ to $ \Z_+^{2d}$, as follows. Fix $ \underline{x}=(x_1,\ldots,x_d)\in S$. If all the $ x_i$'s are equal to $ x_d$, we set \begin{eqnarray*} f(\underline{x})=(x_d,\ldots,x_d,2x_d,\ldots,2x_d), \end{eqnarray*} where $ x_d$ and $ 2x_d$ both appear $ d$ times on the right-hand side. Otherwise, define \begin{eqnarray*} s:=\max \left\{ 1 \leq i \leq d-1 | x_i \neq x_d \right\} \end{eqnarray*} and set \begin{eqnarray*} f(\underline{x})=(x_1,\ldots,x_d,x_1+x_d,\ldots,x_{s-1}+x_d,2x_d,\ldots,2x_d), \end{eqnarray*} where $ 2x_d$ appears $ d-s+1$ times on the right-hand side. For example, we have
\begin{equation} f((2,4,4,4))=(2,4,4,4,8,8,8,8) \end{equation} | (8) |
\begin{equation} f((2,4,4,4,8,8,8,8))=(2,4,4,4,8,8,8,8,10,12,12,16,16,16,16,16). \end{equation} | (9) |
This infinite sequence is called the $ f$- transform of $ \underline{x}$. The lemma follows from the observation that for any $ \ell\geq1$ and for any $ \underline{y}\in \Z_+^\ell$, $ \underline{y}$ and $ f(\underline{y})$ have the same first $ \ell$ terms.
We can now formulate a conjecture about the construction of the sequence $ (u_k)_{k\geq1}$:
Conjecture 3 is supported by the estimation on Mathematica of $ u_k$ for every $ k\leq 512$.