1 Introduction

Let, as usual, \({\mathbb {N}}\) denote the set of natural numbers, \({\mathbb {N}}_{0}\) of nonnegative integers, \({\mathbb {Z}}\) of integers, \({\mathbb {R}}\) of reals, \({\mathbb {C}}\) of complex numbers, and let \(k=\overline {l,m}\), where \(l, m\in {\mathbb {Z}}\), \(l\le m\), denote the set of all integers k such that \(l\le k\le m\).

Finding closed-form formulas for solutions to difference equations and systems is one of the first topics investigated in the branch of mathematics. One of the first solvable difference equations appearing in the literature was the following:

$$\begin{aligned} a_{n}=c_{2}a_{n-1}+c_{1}a_{n-2}, \quad n\ge 2, \end{aligned}$$
(1)

where \(c_{1},c_{2}\in {\mathbb {R}}\),

$$\begin{aligned} c_{1}\ne 0 \quad \text{and}\quad c^{2}_{2} \ne -4c_{1}. \end{aligned}$$
(2)

In [1] de Moivre showed that, under the conditions in (2), a general solution to equation (1) is

$$\begin{aligned} a_{n}= \frac{(a_{1}-s_{2}a_{0})s_{1}^{n}+(s_{1}a_{0}-a_{1})s_{2}^{n}}{s_{1}-s_{2}},\quad n\in {\mathbb {N}}_{0}, \end{aligned}$$
(3)

where \(s_{j}\), \(j=1,2\), are the roots of the polynomial \(Q(s)=s^{2}-c_{2}s-c_{1}\). From \(c_{1}\ne 0\), we see that \(Q(s)\) has two nonzero roots, whereas the second condition in (2) shows that they are distinct.

The method in [1] was used in [2] for finding general solutions to some other linear difference equations, including the solution to equation (1) in the case \(c^{2}+4c_{1}=0\). For more information on linear difference equations, consult for instance [38]. For some recent applications of linear difference equations in solvability of nonlinear ones, see for instance [919]. Sometimes it is not possible to find general solutions to difference equations and systems, but it is possible to find their invariants [2025]. There are also cases when they can help in solvability [26, 27]. For various applications, see for instance [2832].

There are classes of difference equations which are similar to some trigonometric formulas. The similarity suggests potential solvability of the difference equations in the form. An example of such a difference equation appeared long time ago in [33]. One of such classes is the hyperbolic-cotangent class of difference equations (see, for instance, [15]).

Motivated by the hyperbolic-cotangent class of equations, by our paper [11], and in general by papers by Papaschinopoulos and Schinas on systems of difference equations (see, e.g., [2025, 3437]), we have initiated an investigation of the corresponding classes of hyperbolic-cotangent systems of difference equations, that is, of the following ones:

$$\begin{aligned} x_{n+1}=\frac{u_{n-k}v_{n-l}+a}{u_{n-k}+v_{n-l}}, \qquad y_{n+1}= \frac{w_{n-k}s_{n-l}+a}{w_{n-k}+s_{n-l}},\quad n\in {\mathbb {N}}_{0}, \end{aligned}$$
(4)

where \(k, l\in {\mathbb {N}}_{0}\), parameter a and initial values are complex numbers, and where \(u_{n}\), \(v_{n}\), \(w_{n}\), and \(s_{n}\) are \(x_{n}\) or \(y_{n}\).

We have shown that for some values of k and l, all the systems in (4) are solvable in closed form. More concretely, in [18] and [19] the systems when \(k=0\) and \(l=1\) were solved. Another solution to the solvability problem in this case was given in [13]. Further, in [12] the systems in the case when \(k=1\) and \(l=2\) were solved, and finally in [38] the systems were solved in the case \(k=0\) and \(l=2\). The methods used therein are closely related to those used in the study of product-type systems (see, for instance, [39] as well as the related references therein).

To complete a solution to the solvability problem for the systems in the case \(\max \{k,l\}\le 2\), it is needed to deal with the case when \(k=l\). Hence, in this paper we study the following systems of difference equations:

$$\begin{aligned} x_{n+1}=\frac{u_{n-k}v_{n-k}+a}{u_{n-k}+v_{n-k}}, \qquad y_{n+1}= \frac{w_{n-k}s_{n-k}+a}{w_{n-k}+s_{n-k}}, \quad n\in {\mathbb {N}}_{0}, \end{aligned}$$
(5)

where \(k\in {\mathbb {N}}_{0}\).

Since for \(a=0\) some simple and obvious changes of variables transform the systems in (5) to some homogeneous linear ones with constant coefficients, the case will be omitted (see also [13]).

First note that if \(k\in {\mathbb {N}}\), then system (5) is with interlacing indices [14, 16]. Namely, let

$$\begin{aligned} &x_{m}^{(i)}=x_{m(k+1)-i},\qquad y_{m}^{(i)}=y_{m(k+1)-i}, \qquad u_{m}^{(i)}=u_{m(k+1)-i}, \\ &v_{m}^{(i)}=v_{m(k+1)-i},\qquad w_{m}^{(i)}=w_{m(k+1)-i}, \qquad s_{m}^{(i)}=s_{m(k+1)-i}, \end{aligned}$$

for \(m\in {\mathbb {N}}_{0}\), and \(i=\overline {0,k}\). Then it is easy to see that

$$\begin{aligned} x_{m+1}^{(i)}= \frac{u_{m}^{(i)}v_{m}^{(i)}+a}{u_{m}^{(i)}+v_{m}^{(i)}},\qquad y_{m+1}^{(i)}= \frac{w_{m}^{(i)}s_{m}^{(i)}+a}{w_{m}^{(i)}+s_{m}^{(i)}} \end{aligned}$$
(6)

for every \(m\in {\mathbb {N}}_{0}\), and \(i=\overline {0,k}\). Hence, the sequences \((x_{m}^{(i)},y_{m}^{(i)})_{m\in {\mathbb {N}}_{0}}\), \(i=\overline {0,k}\), are solutions to system (5) with \(k=0\), implying that each solution to (5) consists of \(k+1\) unrelated solutions to the system in the case \(k=0\). This shows that it is of some interest to study only the systems in the case when \(k=0\), which is done in the sections that follow.

2 Product-type systems associated with the ones in (5)

The systems of difference equations in (5) with \(k=0\) are naturally connected to some product-type ones. To show this, first note that the following simple relations hold:

$$ x_{n+1}\pm \sqrt{a}= \frac{(u_{n}\pm \sqrt{a})(v_{n}\pm \sqrt{a})}{u_{n}+v_{n}} \quad \text{and}\quad y_{n+1}\pm \sqrt{a}= \frac{(w_{n}\pm \sqrt{a})(s_{n}\pm \sqrt{a})}{w_{n}+s_{n}} $$

for \(n\in {\mathbb {N}}_{0}\), from which we obtain

$$ \frac{x_{n+1}+\sqrt{a}}{x_{n+1}-\sqrt{a}}= \frac{u_{n}+\sqrt{a}}{u_{n}-\sqrt{a}}\cdot \frac{v_{n}+\sqrt{a}}{v_{n}-\sqrt{a}}, \qquad \frac{y_{n+1}+\sqrt{a}}{y_{n+1}-\sqrt{a}}= \frac{w_{n}+\sqrt{a}}{w_{n}-\sqrt{a}}\cdot \frac{s_{n}+\sqrt{a}}{s_{n}-\sqrt{a}} $$
(7)

for \(n\in {\mathbb {N}}_{0}\).

Now note that the system of difference equations (7) consists of the following nine ones:

$$\begin{aligned} &\frac{x_{n+1}+\sqrt{a}}{x_{n+1}-\sqrt{a}}= \biggl( \frac{x_{n}+\sqrt{a}}{x_{n}-\sqrt{a}} \biggr)^{2},\qquad \frac{y_{n+1}+\sqrt{a}}{y_{n+1}-\sqrt{a}}= \biggl( \frac{x_{n}+\sqrt{a}}{x_{n}-\sqrt{a}} \biggr)^{2}, \end{aligned}$$
(8)
$$\begin{aligned} &\frac{x_{n+1}+\sqrt{a}}{x_{n+1}-\sqrt{a}}= \biggl( \frac{x_{n}+\sqrt{a}}{x_{n}-\sqrt{a}} \biggr)^{2},\qquad \frac{y_{n+1}+\sqrt{a}}{y_{n+1}-\sqrt{a}}= \frac{y_{n}+\sqrt{a}}{y_{n}-\sqrt{a}}\cdot \frac{x_{n}+\sqrt{a}}{x_{n}-\sqrt{a}}, \end{aligned}$$
(9)
$$\begin{aligned} &\frac{x_{n+1}+\sqrt{a}}{x_{n+1}-\sqrt{a}}= \biggl( \frac{x_{n}+\sqrt{a}}{x_{n}-\sqrt{a}} \biggr)^{2},\qquad \frac{y_{n+1}+\sqrt{a}}{y_{n+1}-\sqrt{a}}= \biggl( \frac{y_{n}+\sqrt{a}}{y_{n}-\sqrt{a}} \biggr)^{2}, \end{aligned}$$
(10)
$$\begin{aligned} &\frac{x_{n+1}+\sqrt{a}}{x_{n+1}-\sqrt{a}}= \frac{x_{n}+\sqrt{a}}{x_{n}-\sqrt{a}}\cdot \frac{y_{n}+\sqrt{a}}{y_{n}-\sqrt{a}}, \qquad \frac{y_{n+1}+\sqrt{a}}{y_{n+1}-\sqrt{a}}= \biggl( \frac{x_{n}+\sqrt{a}}{x_{n}-\sqrt{a}} \biggr)^{2}, \end{aligned}$$
(11)
$$\begin{aligned} &\frac{x_{n+1}+\sqrt{a}}{x_{n+1}-\sqrt{a}}= \frac{x_{n}+\sqrt{a}}{x_{n}-\sqrt{a}}\cdot \frac{y_{n}+\sqrt{a}}{y_{n}-\sqrt{a}},\qquad \frac{y_{n+1}+\sqrt{a}}{y_{n+1}-\sqrt{a}}= \frac{y_{n}+\sqrt{a}}{y_{n}-\sqrt{a}}\cdot \frac{x_{n}+\sqrt{a}}{x_{n}-\sqrt{a}}, \end{aligned}$$
(12)
$$\begin{aligned} &\frac{x_{n+1}+\sqrt{a}}{x_{n+1}-\sqrt{a}}= \frac{x_{n}+\sqrt{a}}{x_{n}-\sqrt{a}}\cdot \frac{y_{n}+\sqrt{a}}{y_{n}-\sqrt{a}},\qquad \frac{y_{n+1}+\sqrt{a}}{y_{n+1}-\sqrt{a}}= \biggl( \frac{y_{n}+\sqrt{a}}{y_{n}-\sqrt{a}} \biggr)^{2}, \end{aligned}$$
(13)
$$\begin{aligned} &\frac{x_{n+1}+\sqrt{a}}{x_{n+1}-\sqrt{a}}= \biggl( \frac{y_{n}+\sqrt{a}}{y_{n}-\sqrt{a}} \biggr)^{2},\qquad \frac{y_{n+1}+\sqrt{a}}{y_{n+1}-\sqrt{a}}= \biggl( \frac{x_{n}+\sqrt{a}}{x_{n}-\sqrt{a}} \biggr)^{2}, \end{aligned}$$
(14)
$$\begin{aligned} &\frac{x_{n+1}+\sqrt{a}}{x_{n+1}-\sqrt{a}}= \biggl( \frac{y_{n}+\sqrt{a}}{y_{n}-\sqrt{a}} \biggr)^{2},\qquad \frac{y_{n+1}+\sqrt{a}}{y_{n+1}-\sqrt{a}}= \frac{y_{n}+\sqrt{a}}{y_{n}-\sqrt{a}}\cdot \frac{x_{n}+\sqrt{a}}{x_{n}-\sqrt{a}}, \end{aligned}$$
(15)
$$\begin{aligned} &\frac{x_{n+1}+\sqrt{a}}{x_{n+1}-\sqrt{a}}= \biggl( \frac{y_{n}+\sqrt{a}}{y_{n}-\sqrt{a}} \biggr)^{2},\qquad \frac{y_{n+1}+\sqrt{a}}{y_{n+1}-\sqrt{a}}= \biggl( \frac{y_{n}+\sqrt{a}}{y_{n}-\sqrt{a}} \biggr)^{2} \end{aligned}$$
(16)

for \(n\in {\mathbb {N}}_{0}\).

The following substitutions

$$ \zeta _{n}=\frac{x_{n}+\sqrt{a}}{x_{n}-\sqrt{a}} \quad \text{and}\quad \eta _{n}=\frac{y_{n}+\sqrt{a}}{y_{n}-\sqrt{a}} $$

yield

$$\begin{aligned} x_{n}=\sqrt{a} \frac{\zeta _{n}+1}{\zeta _{n}-1} \quad \text{and}\quad y_{n}=\sqrt{a} \frac{\eta _{n}+1}{\eta _{n}-1}, \end{aligned}$$
(17)

so that (8)–(16) become

$$\begin{aligned} &\zeta _{n+1}=\zeta _{n}^{2},\qquad \eta _{n+1}=\zeta _{n}^{2}, \end{aligned}$$
(18)
$$\begin{aligned} &\zeta _{n+1}=\zeta _{n}^{2},\qquad \eta _{n+1}=\eta _{n}\zeta _{n}, \end{aligned}$$
(19)
$$\begin{aligned} &\zeta _{n+1}=\zeta _{n}^{2}, \qquad \eta _{n+1}=\eta _{n}^{2}, \end{aligned}$$
(20)
$$\begin{aligned} &\zeta _{n+1}=\zeta _{n}\eta _{n},\qquad \eta _{n+1}=\zeta _{n}^{2}, \end{aligned}$$
(21)
$$\begin{aligned} &\zeta _{n+1}=\zeta _{n}\eta _{n}, \qquad \eta _{n+1}=\eta _{n}\zeta _{n}, \end{aligned}$$
(22)
$$\begin{aligned} &\zeta _{n+1}=\zeta _{n}\eta _{n}, \qquad \eta _{n+1}=\eta _{n}^{2}, \end{aligned}$$
(23)
$$\begin{aligned} &\zeta _{n+1}=\eta _{n}^{2},\qquad \eta _{n+1}=\zeta _{n}^{2}, \end{aligned}$$
(24)
$$\begin{aligned} &\zeta _{n+1}=\eta _{n}^{2},\qquad \eta _{n+1}=\eta _{n}\zeta _{n}, \end{aligned}$$
(25)
$$\begin{aligned} &\zeta _{n+1}=\eta _{n}^{2},\qquad \eta _{n+1}=\eta _{n}^{2} \end{aligned}$$
(26)

for \(n\in {\mathbb {N}}_{0}\).

Now note that if we show the solvability of systems (18)–(26), this together with the two relations in (17) will show the solvability of systems (8)–(16). Because of this, our main task is to show that there are closed-form formulas for solutions to systems (18)–(26).

3 Main results

This section considers the problem of solvability of systems (18)–(26). The systems are considered separately, one by one. It is shown that they all are really solvable by presenting some closed-form formulas for their general solutions. As a consequence, some closed-form formulas for general solutions to systems (8)–(16) are obtained. In this way it is shown that each of the systems of difference equations is practically solvable.

3.1 System (18)

From the first equation in the system of difference equations (18) we have

$$\begin{aligned} \zeta _{n}=\zeta _{n-1}^{2}, \quad n\in {\mathbb {N}}, \end{aligned}$$
(27)

from which by iteration and a simple inductive argument we obtain

$$\begin{aligned} \zeta _{n}=\zeta _{0}^{2^{n}}, \quad n\in {\mathbb {N}}_{0}. \end{aligned}$$
(28)

By using (28) in the second equation in (18) it follows that

$$\begin{aligned} \eta _{n}=\zeta _{0}^{2^{n}}, \quad n\in {\mathbb {N}}. \end{aligned}$$
(29)

Using relations (28) and (29) in (17), we see that the following theorem holds.

Theorem 1

Let \(a\ne 0\). Then the following closed-form formulas

$$\begin{aligned} &x_{n}=\sqrt{a} \frac{ (\frac{x_{0}+\sqrt{a}}{x_{0}-\sqrt{a}} )^{2^{n}}+1}{ (\frac{x_{0}+\sqrt{a}}{x_{0}-\sqrt{a}} )^{2^{n}}-1}, \quad n\in {\mathbb {N}}_{0}, \\ &y_{n}=\sqrt{a} \frac{ (\frac{x_{0}+\sqrt{a}}{x_{0}-\sqrt{a}} )^{2^{n}}+1}{ (\frac{x_{0}+\sqrt{a}}{x_{0}-\sqrt{a}} )^{2^{n}}-1}, \quad n\in {\mathbb {N}}, \end{aligned}$$

present a general solution to system (8).

3.2 System (19)

Bearing in mind that the first equation in (19) is the same as in (18), we have that formula (28) also holds in this case. Employing (28) in the second equation in (19), we have

$$\begin{aligned} \eta _{n}=\eta _{n-1}\zeta _{n-1}=\eta _{n-1}\zeta _{0}^{2^{n-1}}, \quad n\in {\mathbb {N}}. \end{aligned}$$
(30)

From (30) and by a simple inductive argument, we obtain

$$ \eta _{n}=\eta _{0}\prod_{j=1}^{n} \zeta _{0}^{2^{j-1}}=\eta _{0} \zeta _{0}^{\sum _{j=1}^{n}2^{j-1}}, $$

from which together with the formula for the sum of a finite geometric progression it follows that

$$\begin{aligned} \eta _{n}=\eta _{0}\zeta _{0}^{2^{n}-1},\quad n\in {\mathbb {N}}_{0}. \end{aligned}$$
(31)

Using relations (28) and (31) in (17), we see that the following theorem holds.

Theorem 2

Let \(a\ne 0\). Then the following closed-form formulas

$$\begin{aligned} &x_{n}=\sqrt{a} \frac{ (\frac{x_{0}+\sqrt{a}}{x_{0}-\sqrt{a}} )^{2^{n}}+1}{ (\frac{x_{0}+\sqrt{a}}{x_{0}-\sqrt{a}} )^{2^{n}}-1}, \quad n\in {\mathbb {N}}_{0}, \\ &y_{n}=\sqrt{a} \frac{ (\frac{y_{0}+\sqrt{a}}{y_{0}-\sqrt{a}} ) (\frac{x_{0}+\sqrt{a}}{x_{0}-\sqrt{a}} )^{2^{n}-1}+1}{ (\frac{y_{0}+\sqrt{a}}{y_{0}-\sqrt{a}} ) (\frac{x_{0}+\sqrt{a}}{x_{0}-\sqrt{a}} )^{2^{n}-1}-1}, \quad n\in {\mathbb {N}}_{0}, \end{aligned}$$

present a general solution to system (9).

3.3 System (20)

Since the first equation in (20) is the same as in (18), formula (28) also holds in this case. On the other hand, the second equation in (20) is obtained from the first one by interchanging letters ζ and η, from which along with (28) it follows that

$$\begin{aligned} \eta _{n}=\eta _{0}^{2^{n}}, \quad n\in {\mathbb {N}}_{0}. \end{aligned}$$
(32)

Using relations (28) and (32) in (17), we see that the following theorem holds.

Theorem 3

Let \(a\ne 0\). Then the following closed-form formulas

$$\begin{aligned} &x_{n}=\sqrt{a} \frac{ (\frac{x_{0}+\sqrt{a}}{x_{0}-\sqrt{a}} )^{2^{n}}+1}{ (\frac{x_{0}+\sqrt{a}}{x_{0}-\sqrt{a}} )^{2^{n}}-1}, \quad n\in {\mathbb {N}}_{0}, \\ &y_{n}=\sqrt{a} \frac{ (\frac{y_{0}+\sqrt{a}}{y_{0}-\sqrt{a}} )^{2^{n}}+1}{ (\frac{y_{0}+\sqrt{a}}{y_{0}-\sqrt{a}} )^{2^{n}}-1}, \quad n\in {\mathbb {N}}_{0}, \end{aligned}$$

present a general solution to system (10).

3.4 System (21)

From the equations in (21) we have

$$\begin{aligned} \zeta _{n}=\zeta _{n-1}\eta _{n-1}=\zeta _{n-1}\zeta _{n-2}^{2}, \quad n\ge 2. \end{aligned}$$
(33)

If we use the following notations:

$$ a_{1}:=1 \quad \text{and} \quad b_{1}:=2, $$

then equation (33) can be written as follows:

$$\begin{aligned} \zeta _{n}=\zeta _{n-1}^{a_{1}}\zeta _{n-2}^{b_{1}}, \quad n\ge 2. \end{aligned}$$
(34)

Employing relation (33), where index n is replaced by \(n-1\) in (34), we have

$$\begin{aligned} \zeta _{n}&=\zeta _{n-1}^{a_{1}}\zeta _{n-2}^{b_{1}}=\bigl(\zeta _{n-2} \zeta _{n-3}^{2}\bigr)^{a_{1}}\zeta _{n-2}^{b_{1}}=\zeta _{n-2}^{a_{1}+b_{1}} \zeta _{n-3}^{2a_{1}} \\ &=\zeta _{n-2}^{a_{2}}\zeta _{n-3}^{b_{2}}, \end{aligned}$$
(35)

where \(a_{2}\) and \(b_{2}\) are clearly defined by

$$\begin{aligned} a_{2}:=a_{1}+b_{1} \quad \text{and}\quad b_{2}:=2a_{1}. \end{aligned}$$
(36)

Relations (35) and (36) suggest that the following ones hold:

$$\begin{aligned} \zeta _{n}=\zeta _{n-k}^{a_{k}}\zeta _{n-k-1}^{b_{k}} \end{aligned}$$
(37)

and

$$\begin{aligned} a_{k}=a_{k-1}+b_{k-1},\qquad b_{k}=2a_{k-1} \end{aligned}$$
(38)

for \(2\le k\le n-1\).

Indeed, assume that (37) and (38) hold for k such that \(2\le k\le n-1\). Then, by using relation (33) where index n is replaced by \(n-k\) in (37), we have

$$\begin{aligned} \zeta _{n}&=\zeta _{n-k}^{a_{k}}\zeta _{n-k-1}^{b_{k}} \\ &=\bigl(\zeta _{n-k-1} \zeta _{n-k-2}^{2}\bigr)^{a_{k}}\zeta _{n-k-1}^{b_{k}} \\ &=\zeta _{n-k-1}^{a_{k}+b_{k}} \zeta _{n-k-2}^{2a_{k}} \\ &=\zeta _{n-k-1}^{a_{k+1}}\zeta _{n-k-2}^{b_{k+1}}, \end{aligned}$$

where \(a_{k+1}\) and \(b_{k+1}\) are clearly defined by

$$ a_{k+1}:=a_{k}+b_{k} \quad \text{and}\quad b_{k+1}:=2a_{k} $$

for \(2\le k\le n-2\). This inductive step along with (35) and (36) shows that (37) and (38) hold, as claimed.

Let \(k=n-1\). Then from (37) we have

$$ \zeta _{n}=\zeta _{1}^{a_{n-1}}\zeta _{0}^{b_{n-1}}=(\zeta _{0}\eta _{0})^{a_{n-1}} \zeta _{0}^{b_{n-1}}= \zeta _{0}^{a_{n-1}+b_{n-1}}\eta _{0}^{a_{n-1}}. $$

From this and since \(a_{n-1}+b_{n-1}=a_{n}\), we have

$$\begin{aligned} \zeta _{n}=\zeta _{0}^{a_{n}}\eta _{0}^{a_{n-1}}. \end{aligned}$$
(39)

Now note that from (38) we have

$$\begin{aligned} a_{n}=a_{n-1}+2a_{n-2},\quad n\ge 3. \end{aligned}$$
(40)

Moreover, relation (40) can be used to calculate \(a_{n}\) also for \(n\le 0\) by using the following obvious consequence of it:

$$\begin{aligned} a_{n-2}=\frac{a_{n}-a_{n-1}}{2}. \end{aligned}$$
(41)

Since \(a_{1}=1\) and \(a_{2}=3\), from (41) it follows that

$$\begin{aligned} a_{0}=1 \quad \text{and}\quad a_{-1}=0. \end{aligned}$$
(42)

By using (42) it is easy to see that formula (39) holds also for \(n=0\).

The characteristic polynomial associated with equation (40) is \(P_{2}(s)=s^{2}-s-2\), and clearly their roots are

$$\begin{aligned} s_{1}=2 \quad \text{and} \quad s_{2}=-1. \end{aligned}$$
(43)

Hence, by using the de Moivre formula (3), with \(s_{1}\) and \(s_{2}\) given in (43), and \(c_{1}=2\) and \(c_{2}=1\), we obtain

$$\begin{aligned} a_{n}=\frac{2^{n+1}-(-1)^{n+1}}{3}, \quad n\in {\mathbb {Z}}. \end{aligned}$$
(44)

Using (44) in (39), we get

$$\begin{aligned} \zeta _{n}=\zeta _{0}^{\frac{2^{n+1}-(-1)^{n+1}}{3}}\eta _{0}^{ \frac{2^{n}-(-1)^{n}}{3}},\quad n\in {\mathbb {N}}_{0}. \end{aligned}$$
(45)

By using (45) in the second equation in (21), we obtain

$$\begin{aligned} \eta _{n}=\zeta _{0}^{\frac{2^{n+1}-2(-1)^{n}}{3}}\eta _{0}^{ \frac{2^{n}-2(-1)^{n-1}}{3}}, \quad n\in {\mathbb {N}}_{0}. \end{aligned}$$
(46)

Using relations (45) and (46) in (17), we see that the following theorem holds.

Theorem 4

Let \(a\ne 0\). Then the following closed-form formulas

$$\begin{aligned} &x_{n}=\sqrt{a} \frac{ (\frac{x_{0}+\sqrt{a}}{x_{0}-\sqrt{a}} )^{\frac{2^{n+1}-(-1)^{n+1}}{3}} (\frac{y_{0}+\sqrt{a}}{y_{0}-\sqrt{a}} )^{\frac{2^{n}-(-1)^{n}}{3}}+1}{ (\frac{x_{0}+\sqrt{a}}{x_{0}-\sqrt{a}} )^{\frac{2^{n+1}-(-1)^{n+1}}{3}} (\frac{y_{0}+\sqrt{a}}{y_{0}-\sqrt{a}} )^{\frac{2^{n}-(-1)^{n}}{3}}-1}, \quad n\in {\mathbb {N}}_{0}, \\ &y_{n}=\sqrt{a} \frac{ (\frac{x_{0}+\sqrt{a}}{x_{0}-\sqrt{a}} )^{\frac{2^{n+1}-2(-1)^{n}}{3}} (\frac{y_{0}+\sqrt{a}}{y_{0}-\sqrt{a}} )^{\frac{2^{n}-2(-1)^{n-1}}{3}}+1}{ (\frac{x_{0}+\sqrt{a}}{x_{0}-\sqrt{a}} )^{\frac{2^{n+1}-2(-1)^{n}}{3}} (\frac{y_{0}+\sqrt{a}}{y_{0}-\sqrt{a}} )^{\frac{2^{n}-2(-1)^{n-1}}{3}}-1}, \quad n\in {\mathbb {N}}_{0}, \end{aligned}$$

present a general solution to system (11).

3.5 System (22)

First note that we have

$$\begin{aligned} \zeta _{n}=\eta _{n},\quad n\in {\mathbb {N}}. \end{aligned}$$
(47)

Using (47) in the first equation in (22), we have that (27) holds, but this time for \(n\ge 2\), from which it follows that

$$ \zeta _{n}=\zeta _{1}^{2^{n-1}},\quad n\in {\mathbb {N}}, $$

and consequently,

$$\begin{aligned} \zeta _{n}=\zeta _{0}^{2^{n-1}}\eta _{0}^{2^{n-1}}, \quad n\in {\mathbb {N}}. \end{aligned}$$
(48)

From (47) and (48) we have

$$\begin{aligned} \eta _{n}=\zeta _{0}^{2^{n-1}}\eta _{0}^{2^{n-1}}, \quad n\in {\mathbb {N}}. \end{aligned}$$
(49)

Using relations (48) and (49) in (17), we see that the following theorem holds.

Theorem 5

Let \(a\ne 0\). Then the following closed-form formulas

$$\begin{aligned} &x_{n}=\sqrt{a} \frac{ (\frac{x_{0}+\sqrt{a}}{x_{0}-\sqrt{a}} )^{2^{n-1}} (\frac{y_{0}+\sqrt{a}}{y_{0}-\sqrt{a}} )^{2^{n-1}}+1}{ (\frac{x_{0}+\sqrt{a}}{x_{0}-\sqrt{a}} )^{2^{n-1}} (\frac{y_{0}+\sqrt{a}}{y_{0}-\sqrt{a}} )^{2^{n-1}}-1},\quad n\in {\mathbb {N}}, \\ &y_{n}=\sqrt{a} \frac{ (\frac{x_{0}+\sqrt{a}}{x_{0}-\sqrt{a}} )^{2^{n-1}} (\frac{y_{0}+\sqrt{a}}{y_{0}-\sqrt{a}} )^{2^{n-1}}+1}{ (\frac{x_{0}+\sqrt{a}}{x_{0}-\sqrt{a}} )^{2^{n-1}} (\frac{y_{0}+\sqrt{a}}{y_{0}-\sqrt{a}} )^{2^{n-1}}-1}, \quad n\in {\mathbb {N}}, \end{aligned}$$

present a general solution to system (12).

3.6 System (23)

This system is obtained from the system in (19) by interchanging letters ζ and η. Hence, we have that the following formulas hold:

$$\begin{aligned} \zeta _{n}=\zeta _{0}\eta _{0}^{2^{n}-1},\quad n\in {\mathbb {N}}_{0}, \end{aligned}$$
(50)

and

$$\begin{aligned} \eta _{n}=\eta _{0}^{2^{n}}, \quad n\in {\mathbb {N}}_{0}. \end{aligned}$$
(51)

Using relations (50) and (51) in (17), we see that the following theorem holds.

Theorem 6

Let \(a\ne 0\). Then the following closed-form formulas

$$\begin{aligned} &x_{n}=\sqrt{a} \frac{ (\frac{x_{0}+\sqrt{a}}{x_{0}-\sqrt{a}} ) (\frac{y_{0}+\sqrt{a}}{y_{0}-\sqrt{a}} )^{2^{n}-1}+1}{ (\frac{x_{0}+\sqrt{a}}{x_{0}-\sqrt{a}} ) (\frac{y_{0}+\sqrt{a}}{y_{0}-\sqrt{a}} )^{2^{n}-1}-1}, \quad n\in {\mathbb {N}}_{0}, \\ &y_{n}=\sqrt{a} \frac{ (\frac{y_{0}+\sqrt{a}}{y_{0}-\sqrt{a}} )^{2^{n}}+1}{ (\frac{y_{0}+\sqrt{a}}{y_{0}-\sqrt{a}} )^{2^{n}}-1}, \quad n\in {\mathbb {N}}_{0}, \end{aligned}$$

present a general solution to system (13).

3.7 System (24)

By using the second equation in (24) in the first one, we obtain

$$\begin{aligned} \zeta _{n}=\eta _{n-1}^{2}=\zeta _{n-2}^{4}, \quad n\ge 2. \end{aligned}$$
(52)

From (52) we have

$$ \zeta _{2n}=\zeta _{2(n-1)}^{4}, \quad n\in {\mathbb {N}}, $$

from which by iteration and a simple inductive argument we obtain

$$\begin{aligned} \zeta _{2n}=\zeta _{0}^{4^{n}}, \quad n\in {\mathbb {N}}_{0}, \end{aligned}$$
(53)

and

$$ \zeta _{2n+1}=\zeta _{2(n-1)+1}^{4}, \quad n\in {\mathbb {N}}, $$

from which by iteration and a simple inductive argument we obtain

$$\begin{aligned} \zeta _{2n+1}=\zeta _{1}^{4^{n}}=\eta _{0}^{2^{2n+1}}, \quad n\in {\mathbb {N}}_{0}. \end{aligned}$$
(54)

Since this system is symmetric, we have

$$\begin{aligned} \eta _{2n}=\eta _{0}^{4^{n}}, \quad n\in {\mathbb {N}}_{0}, \end{aligned}$$
(55)

and

$$\begin{aligned} \eta _{2n+1}=\zeta _{0}^{2^{2n+1}},\quad n\in {\mathbb {N}}_{0}. \end{aligned}$$
(56)

Using relations (53)–(56) in (17), we see that the following theorem holds.

Theorem 7

Let \(a\ne 0\). Then the following closed-form formulas

$$\begin{aligned} &x_{2n}=\sqrt{a} \frac{ (\frac{x_{0}+\sqrt{a}}{x_{0}-\sqrt{a}} )^{4^{n}}+1}{ (\frac{x_{0}+\sqrt{a}}{x_{0}-\sqrt{a}} )^{4^{n}}-1}, \quad n\in {\mathbb {N}}_{0}, \\ &x_{2n+1}=\sqrt{a} \frac{ (\frac{y_{0}+\sqrt{a}}{y_{0}-\sqrt{a}} )^{2^{2n+1}}+1}{ (\frac{y_{0}+\sqrt{a}}{y_{0}-\sqrt{a}} )^{2^{2n+1}}-1}, \quad n\in {\mathbb {N}}_{0}, \\ &y_{2n}=\sqrt{a} \frac{ (\frac{y_{0}+\sqrt{a}}{y_{0}-\sqrt{a}} )^{4^{n}}+1}{ (\frac{y_{0}+\sqrt{a}}{y_{0}-\sqrt{a}} )^{4^{n}}-1}, \quad n\in {\mathbb {N}}_{0}, \\ &y_{2n+1}=\sqrt{a} \frac{ (\frac{x_{0}+\sqrt{a}}{x_{0}-\sqrt{a}} )^{2^{2n+1}}+1}{ (\frac{x_{0}+\sqrt{a}}{x_{0}-\sqrt{a}} )^{2^{2n+1}}-1},\quad n\in {\mathbb {N}}_{0}, \end{aligned}$$

present a general solution to system (14).

3.8 System (25)

This system is obtained from the system in (21) by interchanging letters ζ and η. Hence, we have that the following formulas hold:

$$\begin{aligned} \zeta _{n}=\eta _{0}^{\frac{2^{n+1}-2(-1)^{n}}{3}}\zeta _{0}^{ \frac{2^{n}-2(-1)^{n-1}}{3}} \end{aligned}$$
(57)

and

$$\begin{aligned} \eta _{n}=\eta _{0}^{\frac{2^{n+1}-(-1)^{n+1}}{3}}\zeta _{0}^{ \frac{2^{n}-(-1)^{n}}{3}}. \end{aligned}$$
(58)

Using relations (57) and (58) in (17), we see that the following theorem holds.

Theorem 8

Let \(a\ne 0\). Then the following closed-form formulas

$$\begin{aligned} &x_{n}=\sqrt{a} \frac{ (\frac{y_{0}+\sqrt{a}}{y_{0}-\sqrt{a}} )^{\frac{2^{n+1}-2(-1)^{n}}{3}} (\frac{x_{0}+\sqrt{a}}{x_{0}-\sqrt{a}} )^{\frac{2^{n}-2(-1)^{n-1}}{3}}+1}{ (\frac{y_{0}+\sqrt{a}}{y_{0}-\sqrt{a}} )^{\frac{2^{n+1}-2(-1)^{n}}{3}} (\frac{x_{0}+\sqrt{a}}{x_{0}-\sqrt{a}} )^{\frac{2^{n}-2(-1)^{n-1}}{3}}-1}, \quad n\in {\mathbb {N}}_{0}, \\ &y_{n}=\sqrt{a} \frac{ (\frac{y_{0}+\sqrt{a}}{y_{0}-\sqrt{a}} )^{\frac{2^{n+1}-(-1)^{n+1}}{3}} (\frac{x_{0}+\sqrt{a}}{x_{0}-\sqrt{a}} )^{\frac{2^{n}-(-1)^{n}}{3}}+1}{ (\frac{y_{0}+\sqrt{a}}{y_{0}-\sqrt{a}} )^{\frac{2^{n+1}-(-1)^{n+1}}{3}} (\frac{x_{0}+\sqrt{a}}{x_{0}-\sqrt{a}} )^{\frac{2^{n}-(-1)^{n}}{3}}-1}, \quad n\in {\mathbb {N}}_{0}, \end{aligned}$$

present a general solution to system (15).

3.9 System (26)

This system is obtained from the system in (18) by interchanging letters ζ and η. Hence, we have that the following formulas hold:

$$\begin{aligned} \zeta _{n}=\eta _{0}^{2^{n}},\quad n\in {\mathbb {N}}, \quad \text{and} \quad \eta _{n}=\eta _{0}^{2^{n}}, \quad n\in {\mathbb {N}}_{0}. \end{aligned}$$
(59)

Using (59) in (17), we see that the following theorem holds.

Theorem 9

Let \(a\ne 0\). Then the following closed-form formulas

$$\begin{aligned} &x_{n}=\sqrt{a} \frac{ (\frac{y_{0}+\sqrt{a}}{y_{0}-\sqrt{a}} )^{2^{n}}+1}{ (\frac{y_{0}+\sqrt{a}}{y_{0}-\sqrt{a}} )^{2^{n}}-1},\quad n\in {\mathbb {N}}, \\ &y_{n}=\sqrt{a} \frac{ (\frac{y_{0}+\sqrt{a}}{y_{0}-\sqrt{a}} )^{2^{n}}+1}{ (\frac{y_{0}+\sqrt{a}}{y_{0}-\sqrt{a}} )^{2^{n}}-1},\quad n\in {\mathbb {N}}_{0}, \end{aligned}$$

present a general solution to system (16).