1 The Hurwitz series ring, transformations of sequences and automorphisms

Given an integral domain R with multiplicative identity and zero characteristic, let \(H_R[[t]]\) denote the Hurwitz series ring whose elements are the formal series

$$\begin{aligned} A(t) := \sum _{n = 0}^{+\infty } \frac{a_n}{n!}t^n, \end{aligned}$$

equipped with the standard sum and the binomial convolution product. Given two formal series A(t) and B(t), the binomial convolution product is defined as follows:

$$\begin{aligned} A(t) \star B(t) := C(t), \end{aligned}$$

where

$$\begin{aligned} c_n := \sum _{h = 0}^n \left( {\begin{array}{c}n\\ h\end{array}}\right) a_hb_{n-h}. \end{aligned}$$

The Hurwitz series ring has been organizationally studied by Keigher [9] and in the recent years it has been extensively studied, see, e.g., [3,4,5, 7, 10, 11, 13].

The Hurwitz series ring is trivially isomorphic to the ring \(H_R\) whose elements are infinite sequences of elements of R, with operations \(+\) and \(\star \). In the following, when we consider an element \(a \in H_R\), we refer to a sequence \((a_n)_{n=0}^{+\infty }=(a_0,a_1,a_2,...)\), \(a_i \in R\) for all \(i \ge 0\), having exponential generating function (e.g.f.) A(t). Clearly, given two sequences \(a,b \in H_R\), with exponential generating functions A(t) and B(t) respectively, the sequence \(c=a\star b\) has e.g.f. \(C(t)=A(t)B(t)\). Moreover, fixed any positive integer n, we can also consider the rings \(H_R^{(n)}\) whose elements are sequences of elements of R with length n.

Remark 1

The binomial convolution is a commutative product and the identity in \(H_R\) is the sequence

$$\begin{aligned} (1,0,0,...). \end{aligned}$$

Moreover, \(H_R\) can be also considered as an R–algebra with respect to the map

$$\begin{aligned} \pi : R \rightarrow H_R, \quad \pi (r) := (r,0,0,...), \end{aligned}$$

for any \(r \in R\).

Proposition 1

An element \(a \in H_R\) is invertible if and only if \(a_0 \in R\) is invertible, i.e.,

$$\begin{aligned} H_R^* = \{a \in H_R : a_0 \in R^*\}. \end{aligned}$$

Proof

The proof is straightforward. \(\square \)

Given \(a \in H_R^*\), we can recursively evaluate the terms of \(b = a^{-1}\). Indeed, \(b_0 = a_0^{-1}\) and for all \(n\ge 1\) we have

$$\begin{aligned} b_n = -a_0^{-1}\sum _{h=1}^n \left( {\begin{array}{c}n\\ h\end{array}}\right) a_hb_{n-h}, \end{aligned}$$

since the equality \(a \star b = (1,0,0,...)\) implies

$$\begin{aligned} a_{0}b_{0}=1, \quad \sum _{h=0}^n\left( {\begin{array}{c}n\\ h\end{array}}\right) a_hb_{n-h}=0,\quad \forall n\ge 1. \end{aligned}$$

On the other hand, we can find a closed form for the elements of b by means of the complete ordinary Bell polynomials [2]. First of all, we recall their definition as given in [14].

Definition 1

Let us consider the sequence \(x=(x_1,x_2,\ldots )\), whose terms \(x_{i}\) are some indeterminates over the domain R. The complete ordinary Bell polynomials are defined by

$$\begin{aligned} B_0(x)=1, \quad \forall n\ge 1 \quad B_n(x)=B_n(x_1,x_2,\ldots ,x_n)=\sum _{k=1}^nB_{n,k}(x), \end{aligned}$$

where \(B_{n,k}(x)\) are the partial ordinary Bell polynomials, with

$$\begin{aligned} B_{0,0}(x)=1, \quad \forall n\ge 1 \quad B_{n,0}(x)=0,\quad \forall k\ge 1 \quad B_{0,k}(x)=0, \end{aligned}$$

and

$$\begin{aligned} \forall n\ge k\ge 1 \quad B_{n,k}(x)= & {} B_{n,k}(x_1,x_2,\ldots ,x_{n-k+1})\\= & {} \sum _{\begin{array}{c} i_1 + 2i_2 + \cdots + (n-k+1)i_{n-k+1} = n \\ i_1 + i_2 + \cdots + i_{n-k+1} = k \end{array}} \frac{{k!}}{{i_1 !i_2 ! \cdots i_{n-k+1} !}}x_1^{i_1 } x_2^{i_2 } \cdots x_{n-k+1}^{i_{n-k+1} }, \end{aligned}$$

satisfying the equality

$$\begin{aligned} \left( \sum _{n\ge 1}x_nz^n\right) ^k=\sum _{n \ge k}B_{n,k}(x)z^n. \end{aligned}$$

Then, we introduce the Invert transform (see, e.g., [6] for a detailed survey).

The Invert transform

The Invert transform \(\mathcal I\) maps a sequence \(a=(a_n)_{n=0}^{+\infty }\) into a sequence \(\mathcal {I}(a)=b=(b_n)_{n=0}^{+\infty }\) whose ordinary generating function satisfies

$$\begin{aligned} \sum \limits _{n=0}^{+\infty }b_nt^n=\frac{\sum \nolimits _{n=0}^{+\infty }a_nt^n}{1-t\sum \nolimits _{n=0}^{+\infty }a_nt^n}. \end{aligned}$$

Barbero et al. [1] highlighted the closed relation between the Invert transform and the complete ordinary Bell polynomials: given \(g \in H_R\) and \(h = \mathcal I(g)\), we have, for all \(n\ge 0\), that

$$\begin{aligned} h_n = B_{n+1}(g_0,g_1,g_2,...,g_n). \end{aligned}$$
(1)

Now these tools allow us to explicitly find the terms of \(b=a^{-1}\) for every \(a\in H_{R}^{*}\).

Theorem 1

Let \(a, b=a^{-1} \in H_R^*\) be sequences with e.g.f. A(t) and B(t), respectively. Then we have \(b_{0}=\frac{1}{a_{0}}\) and

$$\begin{aligned} b_n = \frac{n!B_n(g_0,g_1,g_2,\ldots ,g_{n-1})}{a_0}, \end{aligned}$$

for all \(n\ge 1\), where

$$\begin{aligned} g=(g_n)_{n=0}^{+\infty }=\left( -\frac{a_{n+1}}{a_0(n+1)!}\right) _{n=0}^{+\infty }. \end{aligned}$$

Proof

The ordinary generating function of the sequence g is

$$\begin{aligned} \bar{G}(t) = \frac{1}{t}\left( 1 - \frac{A(t)}{a_0} \right) \end{aligned}$$

since

$$\begin{aligned} \bar{G}(t) = \frac{1}{t}\left( 1- \frac{1}{a_0}\left( a_0 + \sum _{n=1}^{+\infty } \frac{a_n}{n!}t^n \right) \right) = -\frac{1}{t}\sum _{n=1}^{+\infty } \frac{a_n}{a_0n!}t^n = \sum _{n=0}^{+\infty }\left( -\frac{a_{n+1}}{a_0(n+1)!} \right) t^n. \end{aligned}$$

Moreover, considering \(b=a^{-1}\), we have

$$\begin{aligned} B(t) = \frac{1}{A(t)}=\frac{1}{a_0(1-t\bar{G}(t))}=\frac{1}{a_0}\left( 1 + \frac{t\bar{G}(t)}{1-t\bar{G}(t)} \right) =\frac{1}{a_0}(1 + t\bar{H}(t), \end{aligned}$$

where \(\bar{H}(t)\) is the ordinary generating function of the sequence \(h = \mathcal I(g)\). Thus relation (1) holds and, since \(B_0(g)=1\), we obtain

$$\begin{aligned} B(t)= & {} \frac{1}{a_0}(1 + t\bar{H}(t))= \frac{1}{a_0}\left( 1 + \sum _{n=0}^{+\infty } B_{n+1}(g_0,g_1,g_2,\ldots ,g_n)t^{n+1} \right) \\= & {} \frac{1}{a_{0}}+ \sum _{n=1}^{+\infty } \frac{B_n(g_0,g_1,g_2,\ldots ,g_{n-1})}{a_0}t^n \end{aligned}$$

and the thesis easily follows. \(\square \)

Let us note that the recursive formula

$$\begin{aligned} b_{n}=-a_{0}^{-1}\sum _{h=1}^{n}{n\atopwithdelims ()h}a_{h}b_{n-h}, \end{aligned}$$

giving the inverse \(b=a^{-1}\) of a, is much easier than the one established in Theorem 1. But the second one has a theoretical importance. It uses the Bell polynomials and gives the \(b_{n}\) in terms of \(a_{n}\) only.

We point out that some well–studied transforms acting on sequences can be considered in \(H_{R}[[t]]\) as the product (i.e., the binomial convolution) between a suitable fixed sequence and any sequence belonging to \(H_{R}\). We present two enlightening and interesting examples.

The Binomial interpolated transform

The Binomial interpolated transform \(\mathcal L^{(y)}\), with parameter \(y \in R\), maps any sequence \(a \in H_R\) into a sequence \(b = \mathcal L^{(y)}(a) \in H_R\), whose terms are

$$\begin{aligned} b_n = \sum _{h=0}^n\left( {\begin{array}{c}n\\ h\end{array}}\right) y^{n-h}a_h. \end{aligned}$$

For a survey and a detailed study of the action of \(\mathcal {L}^{(y)}\) on recurrence sequences we refer the reader to [1]. The definition of this transform by means of the binomial convolution is straightforward. Indeed, considering the sequence

$$\begin{aligned} \lambda = (y^n)_{n=0}^{+\infty }, \end{aligned}$$

we have for any \(a \in H_R\) with e.g.f. A(t)

$$\begin{aligned} \mathcal L^{(y)}(a) = \lambda \star a. \end{aligned}$$

with the corresponding e.g.f. given by the product \(e^{yt}A(t).\)

The Boustrophedon transform

If we consider \(R=\mathbb {Z}\), the Boustrophedon transform \(\mathcal B\), introduced and studied in [12], maps any sequence \(a \in H_{\mathbb {Z}}\), with e.g.f. A(t), into a sequence \(b = \mathcal B(a) \in H_{\mathbb {Z}}\) with e.g.f.

$$\begin{aligned} B(t) = (\sec t + \tan t)A(t). \end{aligned}$$

This transform is closely related to the sequence \(\beta = (\beta _n)_{n=0}^{+\infty }\) of the Euler zigzag numbers (see [12]), with e.g.f.

$$\begin{aligned} \sum _{n=0}^{+\infty } \frac{\beta _n}{n!}t^n := \sec (t) + \tan (t), \end{aligned}$$

since for any \(a \in H_{\mathbb {Z}}\) clearly

$$\begin{aligned} \mathcal B(a) = \beta \star a. \end{aligned}$$

The Hurwitz series ring is strictly connected to other well–known transforms. We consider further two examples: the alternating sign transform, which is a little bit trivial, and the Stirling transform. We also show that are examples of \(H_{R}\)automorphisms.

The alternating sign trasform

The alternating sign transform \(\mathcal E\) maps any sequence \(a \in H_R\) into a sequence \(b = \mathcal E(a) \in H_R\), whose terms are

$$\begin{aligned} b_n = (-1)^n a_n. \end{aligned}$$

The transform \(\mathcal E\) often appears in studying properties of integer sequences combined with other transforms. Clearly, we have \(\mathcal {E}=\mathcal {E}^{-1}\) and it is straightforward to see that, given any \(a \in H_R\) with e.g.f. A(t), then \(\mathcal E(a)\) has e.g.f. \(A(-t)\). Moreover it is easy to verify that for all sequences \(a,b \in H_{R}\)

$$\begin{aligned} \mathcal {E}(a+b)=\mathcal {E}(a)+\mathcal {E}(b), \end{aligned}$$

and

$$\begin{aligned} \mathcal {E}(a\star b)=\mathcal {E}(a)\star \mathcal {E}(b), \end{aligned}$$

showing that \(\mathcal {E}\) is an authomorphism of \(H_{R}\).

The Stirling transform

The Stirling transform \(\mathcal S\) maps any sequence \(a \in H_R\) into a sequence \(b = \mathcal S(a) \in H_R\), whose terms are

$$\begin{aligned} b_n = \sum _{h=0}^n \left\{ \begin{array}{l}{n}\\ {h}\end{array}\right\} a_h, \end{aligned}$$

where \(\left\{ \begin{array}{l}{n}\\ {h}\end{array}\right\} \) are the Stirling numbers of the second kind (see e.g. [8], chapter 6, for definition and properties of Stirling numbers of first and second kinds). Some properties of this transform are exposed in [6], here we observe that \(\mathcal S\) is a bijection from \(H_{R}\) to itself. The inverse \(\mathcal {S}^{-1}\) maps any sequence \(a \in H_R\) into a sequence \(b = \mathcal S^{-1}(a) \in H_R\), whose terms are

$$\begin{aligned} b_n = \sum _{h=0}^{n}(-1)^{n-h} {n \atopwithdelims []h} a_h, \end{aligned}$$

where \(n \atopwithdelims []h\) are the (unsigned) Stirling numbers of the first kind. Moreover, we recall that for all \(a \in H_R\) with e.g.f. A(t), then \(b = \mathcal S(a)\) has e.g.f. \(B(t) = A(e^t-1)\). It is very interesting to observe that, for all \(a,b \in H_{R}\), \(\mathcal {S}\) obviously satisfies

$$\begin{aligned} \mathcal S(a + b) = \mathcal S(a) + \mathcal S(b), \end{aligned}$$

but also

$$\begin{aligned} \mathcal S(a \star b) = \mathcal S(a) \star \mathcal S(b). \end{aligned}$$

Indeed, remembering that when \(n<h\), and that the e.g.f. of the Stirling numbers of the second kind is \(\frac{(e^{t}-1)^n}{n!}\) (see [8]) , if we consider the e.g.f. S(t) of \(\mathcal {S}(a\star b)\), we have

and \(A\left( e^{t}-1\right) B\left( e^{t}-1\right) \) is the e.g.f. of \(\mathcal S(a) \star \mathcal S(b)\). Hence \(\mathcal S\) is an authomorphism of \(H_R\).

2 Special subgroups of \(H_R^{*}\)

The purpose of this section is to highlight some properties of two interesting subgroups of \(H_R^*\) with respect to the binomial convolution product \(\star \) operation. We also study their relationship with the transforms presented in the previous section and with other transforms which we will define in the next.

Definition 2

Let us denote \(U_R\) and \(B_R\) the subgroups of \(H_R^*\) defined as

$$\begin{aligned} U_R=\{a \in H_R^*: a_0=1\}, \quad B_R=\{a \in U_R: \mathcal E(a) = a^{-1}\}. \end{aligned}$$

We start considering the subgroup \(U_R\) and observing that, for all \(a\in H_{R}\), we can find sequences in \(U_{R}\) closely related with a, obtained by prepending to a a finite sequence of 1. Hence, it is natural to consider these sequences as the images of a under the iteration of the following transform.

The 1–prepending transform \(\mathcal V\) maps a sequence \(a=(a_0,a_1,a_2,\ldots ) \in H_R\) into the sequence \(b=\mathcal {V}(a) =(1,a_0,a_1,a_2,\ldots ) \in U_R\). We denote by \(\mathcal V^k\) the k–times iteration of \(\mathcal V\) and obviously \(\mathcal V^k(a) \in U_R\), for all \(k \ge 1\). We observe that the action of \(\mathcal {V}^{k}\) on a sequence \(a\in H_{R}^*\) corresponds to the k–th iteration of the integral operator

$$\begin{aligned} \mathcal J(\cdot )(t) := 1 + \int _0^t(\cdot ) du \end{aligned}$$

on the e.g.f. A(t) of a. In particular,

$$\begin{aligned} \mathcal J^k (A)(t)= \underbrace{\mathcal J \circ ... \circ \mathcal J}_{k-\text {times}}(A)(t)=\sum _{h = 0}^{k - 1}\frac{t^h}{h!} + \sum _{h = k}^{+\infty } a_{h-k}\frac{t^{h}}{h!}=V(t), \end{aligned}$$

where V(t) is the e.g.f. of \(\mathcal {V}^{k}(a)\), and clearly

$$\begin{aligned} V(0)=V'(0)=\cdots =V^{(k-1)}(0)=1, \quad V^{(k)}(t) = A(t), \end{aligned}$$

being \(V^{(k)}(t)\) the k–th derivative of V(t).

Now, we explore some interesting properties of the subgroup \(B_R\). We recall that a formal power series f(t) is called even if \(f(-t)=f(t)\) and odd when \(f(-t)=-f(t)\). First of all, we characterize all the elements in \(B_{R}\).

Theorem 2

All the elements in \(B_{R}\) corresponds to the sequences of \(U_{R}\) whose e.g.f. A(t) is the solution of

$$\begin{aligned} {\left\{ \begin{array}{ll} A'(t)=g(t)A(t)\\ A(0)=1 \end{array}\right. } \end{aligned}$$
(2)

where g(t) is any fixed even formal power series. Hence, if we consider the formal exponential operator exp such that \(exp(f(t))=\sum \nolimits _{n=0}^{+\infty }\frac{(f(t))^{n}}{n!}\), the e.g.f. of \(a\in B_{R}\) is \(A(t)=exp(h(t))\) where h(t) is an odd formal power series.

Proof

It is immediate to see that \(a \in B_R\) if and only if \(A(t)A(-t)=1\). If we differentiate this relation with respect to t we obtain

$$\begin{aligned} A'(t)A(-t)-A(t)A'(-t)=0 \end{aligned}$$

which is equivalent to

$$\begin{aligned} {\frac{A'(t)}{A(t)}}={\frac{A'(-t)}{A(-t)}}. \end{aligned}$$

Thus we have \(g(t)=\frac{A'(t)}{A(t)}\) where, from the previous relation, \(g(t)=g(-t)\), i.e. g(t) is even, and we must have \(A(0)=1\), since, for all sequences \(a\in U_{R}\), \(A(0)=a_0=1\). It is straightforward to verify that, given g(t), a formal integration term by term of its power series corresponds to an odd power series h(t), and consequently \(A(t)=exp(h(t))\) satisfies (2). \(\square \)

The transforms \(\mathcal {L}^{y}, \mathcal {E}\), and \(\mathcal {B}\) (when \(R=\mathbb {Z}\)), act on \(B_{R}\) preserving the closure, as we point out in the following proposition.

Proposition 2

The group \(B_R\) is closed with respect to the transforms \(\mathcal E\) and \(\mathcal L^{(y)},\) for any \(y \in R\). Moreover, if \(R=\mathbb {Z}\), \(B_{\mathbb {Z}}\) is closed with respect to \(\mathcal B\).

Proof

By definition of \(B_R\), it is immediate to check that \(\mathcal E(B_R) = B_R\) (with this notation, we say that given any \(a \in B_R\), then \(\mathcal E(a)\) is still in \(B_R\)). Given any \(a \in B_R\), with e.g.f. A(t), we have that \(b = \mathcal L^{(y)}(a)\) has e.g.f. \(e^{(yt)}A(t)\) and \(b \in B_R\) since

$$\begin{aligned} \left( e^{yt}A(t)\right) \left( e^{-yt}A(-t)\right) =A(t)A(-t)=1. \end{aligned}$$

Finally, when \(R=\mathbb {Z}\), let us recall that the Euler zig–zag numbers \(\beta \) have e.g.f. \(B(t) = \sec (t) + \tan (t)\) which satisfies \(B(t)B(-t)=1\) as a simple calculation shows

$$\begin{aligned} B(t) - \frac{1}{B(-t)} = \frac{1+\sin (t)}{\cos (t)}-\frac{\cos (-t)}{1+\sin (-t)} = \frac{1-\sin ^2(t)-\cos ^2(t)}{\cos (t)(1-\sin (t))} = 0, \end{aligned}$$

i.e., \(\beta \in B_{\mathbb {Z}}\). Hence, given any \(a \in B_{\mathbb {Z}}\), \(\mathcal B(a) = \beta \star a \in B_{\mathbb {Z}}\). \(\square \)

Remark 2

The group \(B_R\) is not closed with respect to the transform \(\mathcal S\). Indeed, if A(t) is the e.g.f. of \(a\in B_{R}\), the e.g.f. of S(a) is \(A(e^{t}-1)\), while the e.g.f. of \(\varepsilon (S(a))\) is \(A(e^{-t}-1)\) and in general \(A(e^{-t}-1)A(e^{t}-1)\ne 1\). It would be interesting to characterize the group \(\mathcal S(B_R)\).

Let us examine the structure of a sequence \(a \in B_{R}\). From the definition of \(B_{R}\) and from Theorem 2, we can observe that the elements of a sequence \(a \in B_R\) are constrained to severe restrictions, since the equality \(\mathcal E(a) = a^{-1}\) must hold. If we pose \(b = a^{-1}\) and \(c = \mathcal E(a)\), we have, for instance,

$$\begin{aligned} b_0 = 1, \quad b_1 = -a_1, \quad b_2 = 2a_1^2-a_2 \end{aligned}$$

and

$$\begin{aligned} c_0 = 1, \quad c_1 = -a_1, \quad c_2 = a_2, \end{aligned}$$

i.e., the element \(a_1\) of the sequence a can be arbitrary, while \(a_2\) must satisfy

$$\begin{aligned} a_2 = 2a_1^2 - a_2, \end{aligned}$$

i.e., \(a_2 = a_1^2\). By continuing in this way, we can also see, e.g., that \(a_3\) can be arbitrary, while \(a_4 = -3a_1^4 + 4a_1a_3\). Thus, any sequence \(a \in B_{R}\) is completely determined when we fix the values of \(a_{2k-1}, k=1,2,\cdots \). Indeed, the following theorem shows how to evaluate the terms with even positive index as functions of the ones with odd index, by means of the partial ordinary Bell polynomials described in Definition 1.

Theorem 3

Given any \(a \in B_R\), we have

$$\begin{aligned} a_{2n} = (2n)! \sum _{k=0}^n \left( {\begin{array}{c}\frac{1}{2}\\ k\end{array}}\right) B_{n+k,2k}(x_1,...,x_{n-k+1}),\quad \forall n\ge 1, \end{aligned}$$

where \(x_i=\frac{a_{2i-1}}{(2i-1)!}\), \(\left( {\begin{array}{c}\frac{1}{2}\\ k\end{array}}\right) = \frac{\prod _{j=0}^{k-1}\left( \frac{1}{2}-j\right) }{k!}.\)

Proof

Let A(t) be the e.g.f. of a. Clearly, \(A(t) = P(t) + D(t)\), where

$$\begin{aligned} P(t) = \sum _{n=0}^{+\infty } \frac{a_{2n}}{(2n)!}t^{2n} \end{aligned}$$
(3)

and

$$\begin{aligned} D(t) = \sum _{n=1}^{+\infty } \frac{a_{2n-1}}{(2n-1)!}t^{2n-1} = \frac{1}{t}\sum _{n=1}^{+\infty } \frac{a_{2n-1}}{(2n-1)!}t^{2n}. \end{aligned}$$
(4)

Moreover, we have

$$\begin{aligned} 1 = A(t)A(-t) = (P(t) + D(t))(P(t) - D(t)) = (P(t))^2 - (D(t))^2, \end{aligned}$$

since \(A(-t) = P(-t) + D(-t) = P(t) - D(t)\) and \(\mathcal E(a) = a^{-1}\). Now, observing that \(P(0)=a_0=1\) and \(D(0)=0\), we obtain from the formal Maclaurin power series of \((1+X)^{\frac{1}{2}}\) that

$$\begin{aligned} P(t) = \left( 1 + \left( D(t)\right) ^2\right) ^{\frac{1}{2}} = \sum _{k=0}^{+\infty } \left( {\begin{array}{c}\frac{1}{2}\\ k\end{array}}\right) \left( D(t)\right) ^{2k}. \end{aligned}$$

By definition of partial ordinary Bell polynomials we have

$$\begin{aligned} \left( D(t)\right) ^{2k} = \sum _{m=2k}^{+\infty } B_{m,2k}(x_1,...,x_{m-2k+1})t^{2m-2k}. \end{aligned}$$

If we set \(n=m-k\), we get

$$\begin{aligned} P(t)= & {} \sum _{k=0}^{+\infty }\left( {\begin{array}{c}\frac{1}{2}\\ k\end{array}}\right) \sum _{n=k}^{+\infty } B_{n+k,2k}(x_1,...,x_{n-k+1})t^{2n}\\= & {} \sum _{n=0}^{+\infty }\left( \sum _{k=0}^n \left( {\begin{array}{c}\frac{1}{2}\\ k\end{array}}\right) B_{n+k,2k}(x_1,...,x_{n-k+1}) \right) t^{2n}. \end{aligned}$$

From this equality, comparing the coefficients of the respective even powers of t in (3) we finally obtain

$$\begin{aligned} a_{2n} = (2n)! \sum _{k=0}^n \left( {\begin{array}{c}\frac{1}{2}\\ k\end{array}}\right) B_{n+k,2k}(x_1,...,x_{n-k+1}),\quad \forall n\ge 1. \end{aligned}$$

\(\square \)

By Definition 1 and observing that \(B_{0,0}=1\), \(B_{h,0}=0\) for \(h\ge 1\), we have the following corollary.

Corollary 1

Given \(a \in B_R\), we have

$$\begin{aligned} a_{2n}= & {} \left( 2n\right) !\sum _{k=1}^{n}\left( {\begin{array}{c}\frac{1}{2}\\ k\end{array}}\right) \sum \limits _{\begin{array}{c} i_1+i_2+\cdots +i_{n-k+1}=2k\\ i_1+2i_2+\cdots +(n-k+1)i_{n-k+1}=n+k \end{array}} \\&\times \left( 2k\right) !\prod \limits _{j=1}^{n-k+1}\frac{1}{i_{j}!\left( (2j-1)! \right) ^{i_{j}}}\prod \limits _{j=1}^{n-k+1}a_{2j-1}^{i_{j}}. \end{aligned}$$

On the other hand, it is also possible to determine the sequences \(a\in B_{R}\), with \(a_2\in R^{*}\) and such that \(a_2\) is a square in R, by fixing the terms \(a_{2k},k=1,2,\cdots \) and finding the terms with odd index as functions of the ones with even index.

Theorem 4

Given \(a \in B_R\) such that \(a_2 \in R^*\) and \(x^2=a_2\) is solvable in R, we have

$$\begin{aligned} a_{2n+1} = (2n+1)! \sum _{k=0}^n a_2^{\frac{1}{2}-k} \left( {\begin{array}{c}\frac{1}{2}\\ k\end{array}}\right) B_{n,k}(x_1,...,x_{n-k+1}),\quad \forall n\ge 0, \end{aligned}$$

where \(x_i=\frac{1}{(2i+2)!}\sum \nolimits _{k=0}^{i+1} \left( {\begin{array}{c}2i+2\\ k\end{array}}\right) a_{2k} a_{2(n-k+1)}\), and \(a_{2}^{\frac{1}{2}}\in R\) is a solution of \(x^2=a_2.\)

Proof

Let A(t) be the e.g.f. of a, with the same notation used in the proof of Theorem 3, we have \((D(t))^2 = (P(t))^2-1\), where D(t) and P(t) as in (4) and (3), respectively. Since the product \(P(t)\cdot P(t)\) is equal to

$$\begin{aligned} \left( P(t)\right) ^2 = 1 + a_2 t^2 + \sum _{n=2}^{+\infty }\left( \sum _{k=0}^n \left( {\begin{array}{c}2n\\ 2k\end{array}}\right) a_{2k}a_{2n-2k} \right) \frac{t^{2n}}{(2n)!}, \end{aligned}$$

we find

$$\begin{aligned} D(t)&=ta_{2}^{\frac{1}{2}}\left( 1+\sum _{n=2}^{+\infty }\frac{a_{2}^{-1}}{\left( 2n\right) !}\left( \sum _{k=0}^{n}\left( {\begin{array}{c}2n\\ 2k\end{array}}\right) a_{2k}a_{2n-2k}\right) t^{2n-2}\right) ^{\frac{1}{2}}\\&=ta_{2}^{\frac{1}{2}}\left( 1+\sum _{n=1}^{+\infty }\frac{a_{2}^{-1}}{\left( 2n+2\right) !}\left( \sum _{k=0}^{n+1}\left( {\begin{array}{c}2n+2\\ 2k\end{array}}\right) a_{2k}a_{2n-2k+2}\right) t^{2n}\right) ^{\frac{1}{2}} \end{aligned}$$

Then, considering the formal Maclaurin series expansion of \((1+X)^{\frac{1}{2}}\) and by Definition 1, we obtain

$$\begin{aligned} D(t) = \sum _{n=0}^{+\infty }\left( \sum _{k=0}^{n}a_2^{1/2-k} \left( {\begin{array}{c}\frac{1}{2}\\ k\end{array}}\right) B_{n,k}(x_1,...,x_{n-k+1}) \right) t^{2n+1}. \end{aligned}$$

Now the thesis follows by a comparison of the corresponding coefficients of the odd powers of t in the expansion (4) of D(t). \(\square \)

Remark 3

When \(R = \mathbb Z\), \(B_{\mathbb Z}\) contains many well–known and important integer sequences. We mention here some of them as interesting examples.

We have seen that the Euler zigzag numbers belong to \(B_{\mathbb Z}\). They are listed in OEIS [16] as A000111. Thus, all the sequences having as e.g.f. a power of \(\sec (t) + \tan (t)\) are in \(B_{\mathbb Z}\).

For instance the sequence A001250 in OEIS, whose n–th element is the number of alternating permutations of order n, has e.g.f. \((\sec (t) + \tan (t))^2\).

Moreover, the sequence A000667, which is the Boustrophedon transform of all–1’s sequence, has e.g.f. \(e^t(\sec (t) + \tan (t))\) and belongs to \(B_{\mathbb Z}\).

Another sequence in \(B_{\mathbb Z}\) is A000831, with e.g.f. \(\frac{1+\tan (t)}{1-\tan (t)}\).

The sequences A006229 and A002017 also belong \(B_{\mathbb Z}\) since they have exponential generating functions of the shape exp(f(t)), with f(t) odd function. Indeed, they have e.g.f. \(e^{\tan (t)}\) and \(e^{\sin (t)}\), respectively.

Thanks to Theorem 3 and Corollary 1, we have new interesting identities connecting many sequences in OEIS. Furthermore, it is quite surprising that all these (very different) sequences satisfy the same limiting conditions.

In the following, we will introduce a new transform of sequences that arises from the study of \(B_R\), which will allow us to consider \(U_R\) as a dynamic ultrametric space.

Given \(a, b=a^{-1} \in U_R\), we know that

$$\begin{aligned} \sum _{h=0}^n \left( {\begin{array}{c}n\\ h\end{array}}\right) a_h b_{n-h} = 0,\quad \forall n\ge 1, \end{aligned}$$

from which it follows that

$$\begin{aligned} a_n = -\sum _{h=0}^{n-1}\left( {\begin{array}{c}n\\ h\end{array}}\right) a_h b_{n-h},\quad b_n = -\sum _{h=0}^{n-1}\left( {\begin{array}{c}n\\ h\end{array}}\right) b_h a_{n-h}. \end{aligned}$$

If \(a \in B_R\), i.e. \(A(-t) = A(t)^{-1}\), then, for all \(n\ge 2\), we have

$$\begin{aligned} -\sum _{h=1}^{n-1}\left( {\begin{array}{c}n\\ h\end{array}}\right) (-1)^ha_ha_{n-h} = {\left\{ \begin{array}{ll} 0 \quad \quad \text {if } n \text { odd} \\ 2a_n \quad \text {if } n \text { even} \end{array}\right. }. \end{aligned}$$
(5)

Thus it is natural to define the following transform.

Definition 3

The autoconvolution transform \(\mathcal A\) maps a sequence \(a \in H_R\) into a sequence \(b = \mathcal A(a) \in H_R\), where

$$\begin{aligned} {\left\{ \begin{array}{ll} b_0 = a_0 \\ b_{2n+1} = a_{2n+1}, \quad \forall n\ge 0 \\ b_{2n} = -\frac{1}{2}\sum \limits _{h=1}^{2n-1}\left( {\begin{array}{c}2n\\ h\end{array}}\right) (-1)^h a_h a_{2n-h}, \quad \forall n\ge 1 \end{array}\right. }. \end{aligned}$$

The following proposition is a straightforward consequence.

Proposition 3

Given any \(a\in U_R\), we have \(a \in B_R \Leftrightarrow \mathcal A(a) = a\).

Proof

If \(a\in B_{R}\), we have \(b=\mathcal {A}(a)=a\). Indeed, from Definition 3, we find \(b_{0}=a_{0}=1\), \(b_{2n+1}=a_{2n+1}\) and, thanks to relation (5), \(b_{2n}=a_{2n}\). On the other hand, when \(a\in U_{R}\) and \(\mathcal {A}(a)=a\), if we consider the e.g.f. A(t) of a, we obtain

$$\begin{aligned} A(-t)A(t)=\sum _{m=0}^{+\infty }c_{m}\frac{t^{m}}{m!}, \quad c_{m}=\sum _{h=0}^{m}{m \atopwithdelims ()h}(-1)^{h}a_{h}a_{m-h}, \end{aligned}$$

where \(c_{0}=a^{2}_{0}=1\) and for all \(n\ge 1\). Hence

$$\begin{aligned} c_{2n-1}=\sum _{h=0}^{2n-1}{2n-1\atopwithdelims ()h}(-1)^{h}a_{h}a_{2n-1-h}=0, \end{aligned}$$

and from Definition 3

$$\begin{aligned} c_{2n}=\sum \limits _{h=0}^{2n}\left( {\begin{array}{c}2n\\ h\end{array}}\right) (-1)^h a_h a_{2n-h}=2a_{2n}+\sum \limits _{h=1}^{2n-1}\left( {\begin{array}{c}2n\\ h\end{array}}\right) (-1)^h a_h a_{2n-h}=0. \end{aligned}$$

Thus \(A(-t)A(t)=1\), i. e. \(a \in B_{R}\). \(\square \)

Finally, we introduce another transform strictly related to \(\mathcal A\).

Definition 4

The transform \(\mathcal U\) maps a sequence \(a \in H_R\) into a sequence \(\mathcal U(a)=b \in H_R\) as follows:

$$\begin{aligned} {\left\{ \begin{array}{ll} b_0=a_0 \\ b_{2n+1}=a_{2n+1}, \quad \forall n\ge 0 \\ b_{2n}= (2n)! \sum \limits _{k=0}^n \left( {\begin{array}{c}\frac{1}{2}\\ k\end{array}}\right) B_{n+k,2k}(x_1,...,x_{n-k+1}),\quad \forall n\ge 1 \end{array}\right. }, \end{aligned}$$

where \(x_i=\frac{a_{2i-1}}{(2i-1)!}\).

Proposition 4

Given any sequence \(a \in U_R\), we have \(\mathcal U(a)\in B_{R}\), moreover a sequence \(a \in U_R\) is in \(B_R\) if and only if \(a=\mathcal U(a)\).

Proof

Let us consider the e.g.f. B(t) of \(b=\mathcal {U}(a)\). From Definition 4 and since \(a\in U_{R}\) we have

$$\begin{aligned} \sum _{n=0}^{+\infty }\frac{b_{2n}}{(2n)!}t^{2n}= & {} \sum _{n=0}^{+\infty }\left( \sum _{k=0}^{n} \left( {\begin{array}{c}\frac{1}{2}\\ k\end{array}}\right) B_{n+k,2k}(x_1,...,x_{n-k+1})\right) t^{2n} \\= & {} \sum _{k=0}^{+\infty }\left( {\begin{array}{c}\frac{1}{2}\\ k\end{array}}\right) \sum _{n=k}^{+\infty }B_{n+k,2k}(x_1,...,x_{n-k+1})t^{2n} \end{aligned}$$

where, for all \(i\ge 1\), \(x_i=\frac{a_{2i-1}}{(2i-1)!}=\frac{b_{2i-1}}{(2i-1)!}\). Thus if we set \(m-k=n\) and we take into account the formal Maclaurin power series of \((1+X)^{\frac{1}{2}}\) and the definition of partial ordinary Bell polynomials, as in the proof of Theorem 3, we finally find the relation

$$\begin{aligned} \sum _{n=0}^{+\infty }\frac{b_{2n}}{(2n!)}t^{2n}=\left( 1+\left( \sum _{n=1}^{+\infty }\frac{b_{2n-1}}{(2n-1)!}t^{2n-1}\right) ^2\right) ^{\frac{1}{2}} \end{aligned}$$

or, equivalently,

$$\begin{aligned} 1= & {} \left( \sum _{n=0}^{+\infty }\frac{b_{2n}}{(2n!)}t^{2n}\right) ^2-\left( \sum _{n=1}^{+\infty }\frac{b_{2n-1}}{(2n-1)!}t^{2n-1}\right) ^2\\= & {} \left( \sum _{n=0}^{+\infty }\frac{b_{2n}}{(2n!)}t^{2n}+\sum _{n=1}^{+\infty }\frac{b_{2n-1}}{(2n-1)!}t^{2n-1}\right) \left( \sum _{n=0}^{+\infty }\frac{b_{2n}}{(2n!)}t^{2n}-\sum _{n=1}^{+\infty }\frac{b_{2n-1}}{(2n-1)!}t^{2n-1}\right) \\= & {} B(t)B(-t), \end{aligned}$$

i.e. \(b=\mathcal {U}(a) \in B_{R}.\) Therefore if \(a \in U_{R}\) and \(a=b=\mathcal {U}(a)\) we have \(a\in B_{R}\), and, from the results of Theorem 3, if \(a\in B_{R}\) we can find \(a=\mathcal {U}(a)\). \(\square \)

Proposition 5

Given \(a \in H_R\), with e.g.f. A(t), then \(\mathcal {U}(a)\) has e.g.f.

$$\begin{aligned} U(t) = \left( 1+ \left( \frac{A(t) - A(-t)}{2}\right) ^2\right) ^{\frac{1}{2}}+ \frac{A(t) - A(-t)}{2}. \end{aligned}$$

Proof

We can write \(A(t) = P(t) + D(t)\), where P(t) and D(t) as in (3) and in (4) respectively. We have \(A(-t) = P(t) - D(t)\) and consequently \(D(t) = \frac{A(t) - A(-t)}{2}\). The terms in odd places of \(\mathcal {U}(a)\) have e.g.f. D(t). By Theorem 3, the terms in the even places of \(\mathcal U(a)\) have e.g.f \(P(t)=\left( 1 + (D(t))^2\right) ^{\frac{1}{2}}, \) since \(\mathcal {U}(a)\in B_{R}\). Thus, we have

$$\begin{aligned} U(t) = \left( 1 + (D(t))^2\right) ^{\frac{1}{2}} + D(t). \end{aligned}$$

\(\square \)

Given \(a,b \in H_R\), let us define

$$\begin{aligned} \delta (a,b) := 2^{-k}, \end{aligned}$$

if \(a_i = b_i\), for any \(0 \le i \le k - 1\) and \(a_{k}\ne b_{k}\). It is well–known that \(\delta \) is an ultrametric in \(H_R\). Indeed,

  • \(\delta (a,b)=0 \Leftrightarrow a=b\),

  • \(\delta (a,b)=\delta (b,a)\),

  • \(\delta (a,c) \le \max (\delta (a,b), \delta (b,c))\),

for any \(a,b,c \in H_R\). Thus, \((H_R,\delta )\) is an ultrametric space.

Let us recall that we denote \(H_R^{(n)}\) the ring whose elements are sequences of elements of R with length n. Similarly, \(U_R^{(n)}\) and \(B_R^{(n)}\) are the subgroups of \(H_R^{(n)*}\) corresponding to the subgroups \(U_R\) and \(B_R\) of \(H_R^*\), respectively.

Theorem 5

Given any \(a \in U_R\), we have

$$\begin{aligned} \delta (\mathcal A^n(a), \mathcal U(a)) \le \frac{1}{2^{2(n+1)}}, \end{aligned}$$

where \(\mathcal A^n = \underbrace{\mathcal A \circ ... \circ \mathcal A}_{n-\textit{times}}\).

Proof

We prove the thesis by induction.

Let us denote \(a' = \mathcal U(a)\) and \(b = \mathcal A(a)\). It is straightforward to check that

$$\begin{aligned} a' = (1, a_1, a_1^2, a_3,...), \quad b = (1, a_1, a_1^2, a_3,...). \end{aligned}$$

Thus, \(a'\) and b coincide at least in the first 4 terms, i.e.,

$$\begin{aligned} \delta (\mathcal A(a), \mathcal U(a)) \le \frac{1}{2^4}. \end{aligned}$$

Now, let us suppose that given \(b = \mathcal A^n(a)\), we have \(\delta (\mathcal A^n(a), \mathcal U(a)) \le \frac{1}{2^{2(n+1)}}\), i.e. \(b_i = a'_i\) for all \(i \le 2n+1\) and consider \(c = \mathcal A(b)\). Since \(a' \in B_R\), we remember that for all \(n\ge 2\) we have

$$\begin{aligned} -\sum _{h=1}^{n-1}\left( {\begin{array}{c}n\\ h\end{array}}\right) (-1)^ha'_ha'_{n-h} = {\left\{ \begin{array}{ll} 0 \quad \text {if } n \text { odd} \\ 2a'_n \quad \text {if } n \text { even} \end{array}\right. }. \end{aligned}$$

Thus, by Definition 3, we obtain \(c_i = a'_i\) for all \(i \le 2n+3\), since \((b_0,...,b_{2n+1}) = (a'_0,...,a'_{2n+1}) \in B_R^{(2n+2)}\) by inductive hypothesis. Hence, we have proved that

$$\begin{aligned} \delta (\mathcal A^{n+1}(a),\mathcal U(a))\le \frac{1}{2^{2(n+2)}}. \end{aligned}$$

\(\square \)

As a consequence of Theorem 5, we can observe that \(\mathcal A\) can be considered as an approximation of \(\mathcal U\). Indeed, given a sequence \(a \in U_R\), sequences \(\mathcal A^n(a)\) have more elements equal to elements of \(\mathcal U(a)\) for increasing values of n.

Example 1

Given \(a=(a_0,a_1,a_2,a_3,a_4,a_5) \in U_R^{(6)}\), then

$$\begin{aligned} \mathcal U(a)= & {} (1,a_1,a_1^2,a_3,4a_1a_3-3a_1^4,a_5) \end{aligned}$$

and

$$\begin{aligned} \mathcal A(a)= & {} (1,a_1,a_1^2,a_3,4a_1a_3-3a_2^2,a_5). \end{aligned}$$

Considering \(\mathcal A^2\), we obtain

$$\begin{aligned} \mathcal A^2(a) = (1,a_1,a_1^2,a_3,4a_1a_3-3a_1^4,a_5) = \mathcal U(a). \end{aligned}$$

In other words, given any sequence \(a \in U_R^{(6)}\), \(\mathcal A^2(a) = \mathcal U(a) \in B_R^{(6)}\), i.e., in \(U_R^{(6)}\) the transforms \(\mathcal A^2\) and \(\mathcal U\) are identical.

From Theorem 5 easily follows the next corollary.

Corollary 2

Given any \(a \in U_R^{(2n)}\), we have

$$\begin{aligned} \mathcal U(a) = \mathcal A^{n-1}(a). \end{aligned}$$

Moreover, for any \(a \in U_R\), we have

$$\begin{aligned} \mathcal U(a) = \lim _{n\rightarrow +\infty }\mathcal A^{n}(a). \end{aligned}$$

Clearly, if two sequences \(a, b \in H_R\) coincide in the first k terms, then \(\mathcal A(a)\) and \(\mathcal A(b)\) coincide at least in the first k terms. Thus, we have the following proposition.

Proposition 6

Given any \(a,b \in H_R\), then

$$\begin{aligned} \delta (\mathcal A(a), \mathcal A(b)) \le \delta (a,b). \end{aligned}$$

By the previous proposition, we have that \(\mathcal A\) is a contraction mapping on the ultrametric space \((H_R, \delta )\). As a first interesting consequence, we can observe that \(\mathcal A\) is a continuous function. Moreover, we have that the ultrametric group \((U_R, \star , \delta )\) with the contraction mapping \(\mathcal A\) is an ultrametric dynamic space, where the set of fixed points is the subgroup \(B_R\). In this way, we have found a very interesting example of ultrametric dynamic space. Ultrametric dynamics are very studied in several fields, see [15] for a good reference about dynamics on ultrametric spaces.