\documentclass[reqno]{amsart}
\usepackage{hyperref}

\AtBeginDocument{{\noindent\small
\emph{Electronic Journal of Differential Equations},
Vol. 2017 (2017), No. 286, pp. 1--22.\newline
ISSN: 1072-6691. URL: http://ejde.math.txstate.edu or http://ejde.math.unt.edu}
\thanks{\copyright 2017 Texas State University.}
\vspace{8mm}}

\begin{document}
\title[\hfilneg EJDE-2017/286\hfil Nonhomogenous linear difference equations]
{Note on bounded solutions to nonhomogenous linear difference equations}

\author[S. Stevi\'c, B. Iri\v{c}anin, Z. \v{S}marda \hfil EJDE-2017/286\hfilneg]
{Stevo Stevi\'c, Bratislav Iri\v{c}anin, Zden\v{e}k \v{S}marda}

\address{Stevo Stevi\'c (corresponding author)\newline
 Mathematical Institute of the Serbian Academy of Sciences,
Knez Mihailova 36/III, 11000 Beograd, Serbia. \newline
Operator Theory and Applications Research Group, 
Department of Mathematics, 
King Abdulaziz University, P.O. Box 80203, 
Jeddah 21589, Saudi Arabia}
\email{sstevic@ptt.rs}

\address{Bratislav Iri\v{c}anin \newline
Faculty of Electrical Engineering,
Belgrade University,
Bulevar Kralja Aleksandra 73, 11000 Beograd, Serbia}
\email{iricanin@etf.rs}

\address{Zden\v{e}k \v{S}marda \newline
Brno University of Technology,
Faculty of Electrical Engineering and Communication,
Department of Mathematics,
Technicka 3058/10, CZ - 616 00 Brno, Czech Republic}
\email{smarda@feec.vutbr.cz}

\dedicatory{Communicated by Vicentiu D. Radulescu}

\thanks{Submitted July 25, 2017. Published November 14, 2017.}
\subjclass[2010]{39A06, 47H09, 39A45}
\keywords{Nonhomogeneous linear difference equation; bounded solution;
\hfill\break\indent contraction mapping principle; integer domain}

\begin{abstract}
 By using a solvability method along with the contraction mapping principle
 quite recently has been presented an interesting method for showing the
 existence of a unique bounded solution to a nonhomogenous linear
 second-order difference equation on the set of nonnegative integers.
 It is a natural question if the combination of the method and principle
 can be applied in showing the existence of bounded solutions to some
 higher-order generalizations of the equation. Here, among others,
 we give a positive answer to the question for the case of a nonhomogenous
 linear difference equation of third order. Moreover, the equation is
 studied on the whole integer domain $\mathbb{Z}$.
\end{abstract}

\maketitle
\numberwithin{equation}{section}
\newtheorem{theorem}{Theorem}[section]
\newtheorem{proposition}[theorem]{Proposition}
\newtheorem{remark}[theorem]{Remark}
\newtheorem{corollary}[theorem]{Corollary}
\newtheorem{problem}[theorem]{Problem}
\allowdisplaybreaks

\section{Introduction}

Let $\mathbb{N}_k$ be the set all nonnegative integers $n$ such that $n\ge k$, where
$k\ge 0$, and $\mathbb{Z}$ be the set of all integers. There are many
methods for studying difference equations and systems of difference
equations (see, for example,
\cite{ra}-\cite{dp}, \cite{amc215-854}-\cite{108047} and the references therein).
Studying the solvability of the equations and systems is one of the oldest
 topics. The aim of the solvability methods is finding closed form formulas
for solutions to the equations and systems, which can be afterwards
used in studying of the long-term behaviour of their solutions. Recall also
that a great majority of the equations and systems are practically not
solvable in closed form, so that any new solvable equation or system
is of some interest, if nothing because of its solvability.
 Many classical methods for solving the equations and systems can be found,
for example, in books \cite{ra, lb, j, k, ll, ma, mk}. For a renewed interest
in the topic, see, for example, recent papers
\cite{amc218-sde,pst2,amc218-hde,ana1}, \cite{ana2}-\cite{108047},
as well as the numerous related references therein.
For some related results or applications of some solvable equations
and systems see also \cite{am1, bb, bms, amc215-854, ade-bpsfodce, ade2017-exbsdce}.


It is interesting to mention that one of the methods by Stevi\'c from 2004
for solving a class of nonlinear difference equations has attracted
considerable attention (see, for example, \cite{amc218-hde, 409237},
the references therein, including the original sources).
Namely, the difference equations investigated therein are some extensions
of one of those equations which, by using a suitable change of variables,
can be transformed to a special case of the linear first-order difference
equation, that is, of the following equation
\begin{equation}
 x_{n+1}=q_nx_n+f_n,\quad n\in\mathbb{N}_0,\label{fdc}
\end{equation}
which is solvable and one of the most important difference equations.

Since that time has been shown that there are many related equations
and systems which can be solved by using closely related changes of
 variables (see, for example, \cite{pst2, 108047} and the references therein).
Moreover, there are many related classes of systems of difference equations,
 which can be solved in closed form in a similar way
(see, for example, \cite{amc218-sde, 541761}).
However, there are some other equations and systems which cannot
be solved by closely related methods, although a detailed analysis can
show that they also essentially use the solvability of equation \eqref{fdc},
 which also shows the importance of the equation (see, for example, \cite{ana1}
where an interesting class of difference equations with several parameters
 was studied, \cite{ana2} where is investigated a two-dimensional product-type
system of difference equations on the complex domain, as well as the
references therein).

Since a majority of difference equations and systems is not solvable,
some other methods for their study are needed. The methods from fixed
point theory are suitable in showing the existence of specific types
of solutions (see, for example, \cite{ra, ds, dsr, dp, mj, mm, es}
and the references therein). One of the basic results in the theory
is the {\it contraction mapping principle}, or the Banach fixed-point theorem
 \cite{sb}. A natural idea is to use the solvability methods in getting
some formulas which can serve as natural motivations for introducing
some operators on spaces of sequences, by which along with some of the
theorems from the fixed point theory can be proved the existence of specific
types of solutions to the equations and systems (bounded, positive, periodic etc.).

Recently, in \cite{ade2017-exbsdce}, Stevi\'c has used a classical solvability
 method along with the contraction mapping principle, to show in an elegant
and unified way the existence of a unique bounded solution to the
following linear second-order difference equation
\begin{equation}
 x_{n+2}-q_nx_n=f_n,\quad n\in\mathbb{N}_0,\label{em0}
\end{equation}
where $(q_n)_{n\in\mathbb{N}_0}$ and $(f_n)_{n\in\mathbb{N}_0}$ are bounded sequences,
and the sequence $(q_n)_{n\in\mathbb{N}_0}$ satisfies some other conditions.
Another, more elementary and solvability oriented, but not unified,
method for dealing with the problem was also mentioned there.
The successful application of the combination of the solvability method
and the contraction principle naturally imposes the following problem.

\begin{problem} \label{prob1} \rm
Try to apply a version/modification of the combination of the solvability
method and the contraction mapping principle for getting some other
results on the existence of bounded solutions to some higher-order
generalizations of difference equation \eqref{em0}.
\end{problem}

This problem is concrete and, of course, one can naturally think of solving
a more general problem where the solvability method can be any of such ones,
and the contraction mapping principle can be any of the fixed point
theorems on Banach spaces of sequences. In fact, this is something which,
in this or that way, is used in showing the existence of specific types
of solutions to the equations and systems, although frequently it is not
explicitly said \cite{ra, ds, dsr, dp, mj, mm, es}.


Here we tackle the problem in a natural way by considering the following
difference equation
\begin{equation}
 x_{n+3}-q_nx_n=f_n,\quad n\in\mathbb{N}_0,\label{em}
\end{equation}
where $(q_n)_{n\in\mathbb{N}_0}$ and $(f_n)_{n\in\mathbb{N}_0}$ are sequences of real
or complex numbers, which
is one of the simplest nonhomogenous linear third-order difference equations
related to equations \eqref{fdc} and \eqref{em0}.

First note that if the sequence $q_n$ is constant, that is,
\begin{equation}
 q_n=q\ne 0,\quad n\in\mathbb{N}_0,\label{q1}
\end{equation}
and $f_n=0$, $n\in\mathbb{N}_0$, then equation \eqref{em} becomes
\begin{equation}
 x_{n+3}-qx_n=0,\quad n\in\mathbb{N}_0.\label{e0}
\end{equation}

It is well-known that equation \eqref{e0} has the general solution in the
 form
\begin{equation}
 x_n=c_1(\sqrt[3]{q})^n+c_2(\sqrt[3]{q}\varepsilon)^n+c_3(\sqrt[3]{q}\bar \varepsilon)^n
=(\sqrt[3]{q})^n(c_1+c_2\varepsilon^n+c_3\bar \varepsilon^n),\quad n\in\mathbb{N}_0,\label{a1}
\end{equation}
where
$$
\varepsilon=\frac{-1+i\sqrt{3}}2=e^{\frac{2\pi i}3},
$$
and $c_j$, $j=\overline{1,3}$, are arbitrary constants.

Since $\varepsilon^3=\bar\varepsilon^3=1$ and $\varepsilon\bar\varepsilon=1$, note that the following
 useful equalities hold:
\begin{equation}
\begin{gathered}
 \varepsilon^2=\bar\varepsilon,\quad \bar\varepsilon^2=\varepsilon,\quad \varepsilon-1=\varepsilon(1-\bar\varepsilon),\\
\bar\varepsilon-1=\bar\varepsilon(1-\varepsilon),\quad \varepsilon-\bar\varepsilon=\varepsilon(1-\varepsilon)=\bar\varepsilon(\bar\varepsilon-1).
\end{gathered} \label{ve}
\end{equation}

Now note that from \eqref{a1}, it follows that
$$
|x_n|\le (\sqrt[3]{|q|})^n(|c_1|+|c_2|+|c_3|),
$$
from which we have that for $|q|<1$ all the solutions to equation \eqref{e0}
converge geometrically (exponentially) to zero, while if $|q|=1$
all the solutions to the equation are bounded. On the other hand, if $|q|>1$,
then all the solutions to the equation are unbounded, except the trivial one,
that is, $x_n=0$, $n\in\mathbb{N}_0$.

Let $S\subset\mathbb{Z}$ be an unbounded set. By $l^\infty(S)$ we denote the Banach
space containing all bounded sequences $u=(u_n)_{n\in S}$ with the supremum norm
$$
\|u\|_{\infty,S}=\sup_{n\in S}|u_n|.
$$
Since the choice of set $S$ will be clear from the context and will not
influence on the proofs of our results, we will simply use the notations
$l^\infty$ and $\|\cdot\|_\infty$, not emphasizing the set.

We show that the methods in \cite{ade2017-exbsdce} can be applied for the
case of equation \eqref{em}, but not only on domain $\mathbb{N}_0$.
Namely, motivated by recent paper \cite{ade-bpsfodce}, we will also
consider the equation on the set $\mathbb{Z}\setminus\mathbb{N}_3$ and consequently
on the whole $\mathbb{Z}$. Since the method and principle are classical we regard
that some of the results presented here are essentially folklore,
but nevertheless, in several cases we present the proofs of the results
for the completeness and benefit of the reader. At the end of the paper
we give some suggestions for further investigation in the direction.

Before formulating and proving the main results in the paper,
we quote a well-known formula which we use. Let $W_3(a_1,a_2,a_3)$
be the following determinant:
$$
W_3(a_1,a_2,a_3):= \begin{vmatrix}
 1 & 1 & 1 \\
 a_1 & a_2 & a_3 \\
 a_1^2 & a_2^2 & a_3^2\\
 \end{vmatrix},
$$
where $a_j\in\mathbb{C}$, $j=\overline{1,3}$. Then
\begin{equation}
 W_3(a_1,a_2,a_3)=(a_2-a_1)(a_3-a_1)(a_3-a_2).\label{vm0}
\end{equation}

\section{Main results}

The main results in the paper are formulated and proved in this section.
 We follow the idea in \cite{ade2017-exbsdce} on using a combination
of the method of solvability and application of the contraction mapping
principle to suitable chosen operators naturally arising during consideration
of some nonhomogeneous difference equations with constant coefficients.
First, we consider \eqref{em} on the domain $\mathbb{N}_0$, and after that on
domain $\mathbb{Z}\setminus\mathbb{N}_3$.

\subsection{Equation \eqref{em} with nonnegative indices}
The first result is standard and is proved by a known method.
It is devoted to the case when the sequence $(q_n)_{n\in\mathbb{N}_0}$
is constant, and gives a closed form formula for the general solution
to equation \eqref{em} in the case.


\begin{proposition} \label{prop1}
 Consider the equation
\begin{equation}
 x_{n+3}-qx_n=f_n,\quad n\in\mathbb{N}_0,\label{e1}
\end{equation}
where $q\in\mathbb{C}\setminus\{0\}$, and $(f_n)_{n\in\mathbb{N}_0}\subset\mathbb{C}$.
Then the general solution to the equation is
\begin{equation}\label{a9}
\begin{aligned}
x_n&=(\sqrt[3]{q})^n\Big(a_0+\sum_{k=0}^{n-1}\frac{f_k}{3(\sqrt[3]{q})^{k+3}}\Big)
+(\sqrt[3]{q}\varepsilon)^n
\Big(b_0+\sum_{k=0}^{n-1}\frac{\bar\varepsilon^kf_k}{3(\sqrt[3]{q})^{k+3}}\Big)\\
&\quad +(\sqrt[3]{q}\bar \varepsilon)^n\Big(c_0+\sum_{k=0}^{n-1}
\frac{\varepsilon^kf_k}{3(\sqrt[3]{q})^{k+3}}\Big),\quad n\in\mathbb{N}_0,
\end{aligned}
\end{equation}
where $a_0$, $b_0$ and $c_0$ are arbitrary complex numbers, and $\sqrt[3]{q}$
is one of the three possible third roots of $q$.
\end{proposition}

\begin{proof}
To show formula \eqref{a9} we employ the version of the method of undetermined
coefficients for the liner difference equations. Namely, based on \eqref{a1},
we assume that the general solution to equation \eqref{e1} has the form
\begin{equation}
 x_n=a_n(\sqrt[3]{q})^n+b_n(\sqrt[3]{q}\varepsilon)^n+c_n(\sqrt[3]{q}\bar \varepsilon)^n,\quad
n\in\mathbb{N}_0,\label{a2}
\end{equation}
for some (undetermined) sequences $(a_n)_{n\in\mathbb{N}_0}$, $(b_n)_{n\in\mathbb{N}_0}$
and $(c_n)_{n\in\mathbb{N}_0}$, and pose the following
two conditions:
\begin{equation}
\begin{aligned}
x_{n+1}=&a_{n+1}(\sqrt[3]{q})^{n+1}+b_{n+1}(\sqrt[3]{q}\varepsilon)^{n+1}
 +c_{n+1}(\sqrt[3]{q}\bar \varepsilon)^{n+1}\\
=&a_n(\sqrt[3]{q})^{n+1}+b_n(\sqrt[3]{q}\varepsilon)^{n+1}+c_n(\sqrt[3]{q}\bar \varepsilon)^{n+1},
\end{aligned} \label{a3}
\end{equation}
and
\begin{equation}
\begin{aligned}
x_{n+2}=&a_{n+1}(\sqrt[3]{q})^{n+2}+b_{n+1}(\sqrt[3]{q}\varepsilon)^{n+2}
 +c_{n+1}(\sqrt[3]{q}\bar \varepsilon)^{n+2}\\
=&a_n(\sqrt[3]{q})^{n+2}+b_n(\sqrt[3]{q}\varepsilon)^{n+2}
 +c_n(\sqrt[3]{q}\bar \varepsilon)^{n+2},
\end{aligned} \label{a3a}
\end{equation}
for $n\in\mathbb{N}_0$.

Conditions \eqref{a3} and \eqref{a3a} can be obviously written as
\begin{gather}
 (a_{n+1}-a_n)(\sqrt[3]{q})^{n+1}+(b_{n+1}-b_n)(\sqrt[3]{q}\varepsilon)^{n+1}
+(c_{n+1}-c_n)(\sqrt[3]{q}\bar \varepsilon)^{n+1}=0,\label{a5} \\
(a_{n+1}-a_n)(\sqrt[3]{q})^{n+2}+(b_{n+1}-b_n)(\sqrt[3]{q}\varepsilon)^{n+2}
+(c_{n+1}-c_n)(\sqrt[3]{q}\bar \varepsilon)^{n+2}=0,\label{a5a}
\end{gather}
for $n\in\mathbb{N}_0$.

From \eqref{e1}, \eqref{a2}, and \eqref{a3a} where $n$ is replaced by $n+1$,
it follows that
\begin{equation}
(a_{n+1}-a_n)(\sqrt[3]{q})^{n+3}+(b_{n+1}-b_n)(\sqrt[3]{q}\varepsilon)^{n+3}
+(c_{n+1}-c_n)(\sqrt[3]{q}\bar \varepsilon)^{n+3}=f_n,\label{a5b}
\end{equation}
for $n\in\mathbb{N}_0$.

Since $q\ne 0$, equations \eqref{a5}-\eqref{a5b} together, can be written
as the following linear system of equations:
\begin{equation} \label{a6}
\begin{gathered}
a_{n+1}-a_n+(b_{n+1}-b_n)\varepsilon^{n+1}+(c_{n+1}-c_n)\bar \varepsilon^{n+1}=0\\
a_{n+1}-a_n+(b_{n+1}-b_n)\varepsilon^{n+2}+(c_{n+1}-c_n)\bar \varepsilon^{n+2}=0\\
a_{n+1}-a_n+(b_{n+1}-b_n)\varepsilon^{n+3}+(c_{n+1}-c_n)\bar \varepsilon^{n+3}
=\frac{f_n}{(\sqrt[3]{q})^{n+3}},
\end{gathered}
\end{equation}
for each fixed $n\in\mathbb{N}_0$, that is, as a three-dimensional linear system
in variables $a_{n+1}-a_n$, $b_{n+1}-b_n$ and $c_{n+1}-c_n$.

In what follows we will use the following determinant, which appears,
among others, in solving the linear system,
$$W_3(1,\varepsilon,\bar\varepsilon):= \begin{vmatrix}
 1 & 1 & 1 \\
 1 & \varepsilon & \bar \varepsilon \\
 1 & \varepsilon^2 & \bar \varepsilon^2
 \end{vmatrix}.
$$
From \eqref{vm0}, we have
\begin{equation}
W_3(1,\varepsilon,\bar\varepsilon)=(\varepsilon-1)(\bar\varepsilon-1)(\bar\varepsilon-\varepsilon)
=-3\sqrt{3}i.\label{vm}
\end{equation}
Using \eqref{vm}, we see that the determinant of system \eqref{a6} is
\begin{equation}
\Delta_n
= \begin{vmatrix}
 1 & \varepsilon^{n+1} & \bar \varepsilon^{n+1} \\
 1 & \varepsilon^{n+2} & \bar \varepsilon^{n+2} \\
 1 & \varepsilon^{n+3} & \bar \varepsilon^{n+3}
 \end{vmatrix}
=(\varepsilon\bar \varepsilon)^{n+1}W_3(1,\varepsilon,\bar\varepsilon)
=-3\sqrt{3}i,\label{a7}
\end{equation}
for every $n\in\mathbb{N}_0$.

By using Cramer's rule, \eqref{ve}, \eqref{a7}, and some calculation,
we have that the solution to linear system \eqref{a6} is given by
\begin{gather}
\begin{aligned}
a_{n+1}-a_n=&-\frac1{3\sqrt{3}i}
 \begin{vmatrix}
 0 & \varepsilon^{n+1} & \bar \varepsilon^{n+1} \\
 0 & \varepsilon^{n+2} & \bar \varepsilon^{n+2} \\
 \frac{f_n}{(\sqrt[3]{q})^{n+3}} & \varepsilon^{n+3} & \bar \varepsilon^{n+3}
 \end{vmatrix}\\
=&-\frac{(\varepsilon\bar \varepsilon)^{n+1}(\bar\varepsilon-\varepsilon)f_n}{3\sqrt{3}i(\sqrt[3]{q})^{n+3}}
 =\frac{f_n}{3(\sqrt[3]{q})^{n+3}},
\end{aligned}\label{a7a}\\
\begin{aligned}
b_{n+1}-b_n=&-\frac1{3\sqrt{3}i}
 \begin{vmatrix}
 1 & 0 & \bar \varepsilon^{n+1} \\
 1 & 0 & \bar \varepsilon^{n+2} \\
 1 & \frac{f_n}{(\sqrt[3]{q})^{n+3}} & \bar \varepsilon^{n+3}
 \end{vmatrix}\\
=&\frac{\bar\varepsilon^{n+1}(\bar\varepsilon-1)f_n}{3\sqrt{3}i(\sqrt[3]{q})^{n+3}}
 =\frac{\bar\varepsilon^nf_n}{3(\sqrt[3]{q})^{n+3}},
\end{aligned}\label{a7b}\\
\begin{aligned}
c_{n+1}-c_n=&-\frac1{3\sqrt{3}i}
 \begin{vmatrix}
 1 & \varepsilon^{n+1} & 0 \\
 1 & \varepsilon^{n+2} & 0 \\
 1 & \varepsilon^{n+3} & \frac{f_n}{(\sqrt[3]{q})^{n+3}} 
 \end{vmatrix}\\
=&-\frac{\varepsilon^{n+1}(\varepsilon-1)f_n}{3\sqrt{3}i(\sqrt[3]{q})^{n+3}}
=\frac{\varepsilon^nf_n}{3(\sqrt[3]{q})^{n+3}},
\end{aligned} \label{a7c}
\end{gather}
for $n\in\mathbb{N}_0$.

From \eqref{a7a}--\eqref{a7c} it easily follows that
\begin{gather}
a_n=a_0+\sum_{k=0}^{n-1}\frac{f_k}{3(\sqrt[3]{q})^{k+3}},\label{a8}\\
b_n=b_0+\sum_{k=0}^{n-1}\frac{\bar\varepsilon^kf_k}{3(\sqrt[3]{q})^{k+3}},\label{a8a}\\
c_n=c_0+\sum_{k=0}^{n-1}\frac{\varepsilon^kf_k}{3(\sqrt[3]{q})^{k+3}},\label{a8b}
\end{gather}
for $n\in\mathbb{N}_0$.

Using the equalities \eqref{a8}--\eqref{a8b} in \eqref{a2}, it is obtained
that formula \eqref{a9} holds for every $n\in\mathbb{N}_0$.

Now note that $x_n$ in \eqref{a9} can be written in the form
$$x_n=x_n^h+x_n^p,$$
where
$$
x_n^h=a_0(\sqrt[3]{q})^n+b_0(\sqrt[3]{q}\varepsilon)^n+c_0(\sqrt[3]{q}\bar \varepsilon)^n
$$
and
\begin{align*}
x_n^p=&(\sqrt[3]{q})^n\sum_{k=0}^{n-1}\frac{f_k}{3(\sqrt[3]{q})^{k+3}}
 +(\sqrt[3]{q}\varepsilon)^n
\sum_{k=0}^{n-1}\frac{\bar\varepsilon^kf_k}{3(\sqrt[3]{q})^{k+3}}
 +(\sqrt[3]{q}\bar \varepsilon)^n\sum_{k=0}^{n-1}\frac{\varepsilon^kf_k}{3(\sqrt[3]{q})^{k+3}}\\
=&(\sqrt[3]{q})^n\sum_{k=0}^{n-1}
 \frac{(1+\varepsilon^{n-k}+\bar\varepsilon^{n-k})f_k}{3(\sqrt[3]{q})^{k+3}},
\end{align*}
for $n\in\mathbb{N}_0$.

Since $(x_n^h)_{n\in\mathbb{N}_0}$ is obviously the general solution to the corresponding
homogeneous difference equation, that is, to equation \eqref{e0},
while $(x_n^p)_{n\in\mathbb{N}_0}$ is a particular solution to equation \eqref{e1},
which is easily checked by some calculation, by a well-known result
\cite{ra, j, ll, mk}, it follows that formula \eqref{a9} really presents
the general solution to nonhomogeneous difference equation \eqref{e1},
completing the proof of the result.
\end{proof}

\begin{remark} \label{rmk1} \rm
It is known that the method of undetermined coefficients used in
the proof of Proposition \ref{prop1} can be applied to any nonhomogeneous
linear difference equation with constant coefficients.
However, the formula in the general case is of theoretical importance,
since by the Abel-Ruffini theorem the polynomials of degree greater than
or equal to five need not be solvable by radicals. In the case of
equation \eqref{e1} the associated characteristic polynomial to the
corresponding homogeneous equation is of the third-order,
so solvable by radicals. In fact, the polynomial is a special
case of the following one: $P_k(\lambda)=\lambda^k+a$, $k\in\mathbb{N}$, which is solvable
by radicals. Besides, the formulas in the general case seem complicated
for calculating in some reasonably simple closed forms.
\end{remark}

\begin{corollary} \label{coro1}
 The solution to equation \eqref{e1} with the initial values $x_j\in\mathbb{C}$,
$j=\overline{0,2}$, where $q\in\mathbb{C}\setminus\{0\}$ and $(f_n)_{n\in\mathbb{N}_0}\subset\mathbb{C}$
is given by
\begin{equation} \label{a9z}
\begin{aligned}
x_n=&(\sqrt[3]{q})^n\Big(\frac{qx_0+(\sqrt[3]q)^2 x_1+\sqrt[3]qx_2}{3q}
 +\sum_{k=0}^{n-1}\frac{f_k}{3(\sqrt[3]{q})^{k+3}}\Big)\\
&+(\sqrt[3]{q}\varepsilon)^n
\Big(\frac{qx_0+\bar\varepsilon(\sqrt[3]q)^2 x_1+\varepsilon\sqrt[3]qx_2}{3q}
 +\sum_{k=0}^{n-1}\frac{\bar\varepsilon^kf_k}{3(\sqrt[3]{q})^{k+3}}\Big)\\
&+(\sqrt[3]{q}\bar \varepsilon)^n\Big(\frac{qx_0+\varepsilon(\sqrt[3]q)^2 x_1
 +\bar\varepsilon\sqrt[3]qx_2}{3q}+\sum_{k=0}^{n-1}
 \frac{\varepsilon^kf_k}{3(\sqrt[3]{q})^{k+3}}\Big),\quad n\in\mathbb{N}_0.
\end{aligned}
\end{equation}
\end{corollary}

\begin{proof}
 By using formula \eqref{a9} and some calculation, it follows that for
the solution to equation \eqref{e1} with the initial values $x_j\in\mathbb{C}$,
$j=\overline{0,2}$, the following equalities must hold:
\begin{equation}
\begin{gathered}
x_0=a_0+b_0+c_0,\\
x_1=\sqrt[3]qa_0+\sqrt[3]q\varepsilon b_0+\sqrt[3]q\bar\varepsilon c_0,\label{sy1}\\
x_2=(\sqrt[3]q)^2a_0+(\sqrt[3]q)^2\varepsilon^2 b_0+(\sqrt[3]q)^2\bar\varepsilon^2 c_0.
\end{gathered}
\end{equation}

Let $\Delta$ be the determinant of system \eqref{sy1}.
 Then it is easy to see that
$$
\Delta=qW_3(1,\varepsilon,\bar\varepsilon).
$$
From this, by some calculation and \eqref{ve}, we have
\begin{gather}
\begin{aligned}
a_0=&\frac1{qW_3(1,\varepsilon,\bar\varepsilon)}
 \begin{vmatrix}
 x_0 & 1 & 1 \\
 x_1 & \sqrt[3]q\varepsilon & \sqrt[3]q\bar \varepsilon \\
 x_2 & (\sqrt[3]q)^2\varepsilon^2 & (\sqrt[3]q)^2\bar\varepsilon^2 \\
 \end{vmatrix}\\
=&\frac{(\bar\varepsilon-\varepsilon)(qx_0+(\sqrt[3]q)^2x_1+\sqrt[3]qx_2)}{q(\varepsilon-1)
 (\bar\varepsilon-1)(\bar\varepsilon-\varepsilon)}\\
=&\frac{qx_0+(\sqrt[3]q)^2 x_1+\sqrt[3]qx_2}{3q},
\end{aligned}\label{a15q} \\
\begin{aligned}
b_0=&\frac1{qW_3(1,\varepsilon,\bar\varepsilon)}
 \begin{vmatrix}
 1 & x_0 & 1 \\
 \sqrt[3]q & x_1 & \sqrt[3]q\bar \varepsilon \\
 (\sqrt[3]q)^2 & x_2 & (\sqrt[3]q)^2\bar\varepsilon^2
 \end{vmatrix}\\
=&\frac{(\bar\varepsilon-\varepsilon)(qx_0+\bar\varepsilon(\sqrt[3]q)^2 x_1
 +\varepsilon\sqrt[3]qx_2)}{q(\varepsilon-1)(\bar\varepsilon-1)(\bar\varepsilon-\varepsilon)}\\
=&\frac{qx_0+\bar\varepsilon(\sqrt[3]q)^2 x_1+\varepsilon\sqrt[3]qx_2}{3q},
\end{aligned}\label{a15aq}\\
\begin{aligned}
c_0=&\frac1{qW_3(1,\varepsilon,\bar\varepsilon)}
 \begin{vmatrix}
 1 & 1 & x_0 \\
 \sqrt[3]q & \sqrt[3]q\varepsilon & x_1 \\
 (\sqrt[3]q)^2 & (\sqrt[3]q)^2\varepsilon^2 & x_2
 \end{vmatrix}\\
=&\frac{(\bar\varepsilon-\varepsilon)(qx_0+\varepsilon(\sqrt[3]q)^2 x_1+\bar\varepsilon\sqrt[3]qx_2)}{q(\varepsilon-1)
 (\bar\varepsilon-1)(\bar\varepsilon-\varepsilon)}\\
=&\frac{qx_0+\varepsilon(\sqrt[3]q)^2 x_1+\bar\varepsilon\sqrt[3]qx_2}{3q}.
\end{aligned} \label{a15bq}
\end{gather}
Using \eqref{a15q}-\eqref{a15bq} in \eqref{a9}, is obtained formula
\eqref{a9z}.
\end{proof}

The following two theorems show how formula \eqref{a9} can be effectively
used in getting some results on the boundedness of solutions to equation
\eqref{em} for the case when the sequence $(q_n)_{n\in\mathbb{N}_0}$ is constant,
but such that the modulus of the constant is different from 1,
while the sequence $(f_n)_{n\in\mathbb{N}_0}$ is bounded.

The first theorem deals with the case $0<|q|<1$ and is certainly folklore.
 It can be obtained in a direct, but not unified, way by iterating the
following simple consequence of \eqref{e1}
$$
|x_{n+3}|\le |q||x_n|+|f_n|,
$$
using the conditions posed in the theorem, and some simple inequalities and
summation formulas (this is one of the basic estimates concerning linear
difference equations, with enormous applications to many classes of
difference equations). However, the proof which we present here is
straightforward, so, more elegant.

\begin{theorem} \label{thm1}
 Consider equation \eqref{e1},
where $q\in\mathbb{C}$, $0<|q|<1$ and $(f_n)_{n\in\mathbb{N}_0}\subset\mathbb{C}$ is a
 bounded sequence. Then every solution to the equation is bounded.
\end{theorem}

\begin{proof}
By using formula \eqref{a9}, the conditions of the theorem and some simple
 estimates, we have
\begin{align*}
|x_n|
\le&|\sqrt[3]{q}|^n\Big|a_0+\sum_{k=0}^{n-1}\frac{f_k}{3(\sqrt[3]{q})^{k+3}}\Big|
 +|\sqrt[3]{q}\varepsilon|^n\Big|b_0+\sum_{k=0}^{n-1}\frac{\bar\varepsilon^kf_k}{3(\sqrt[3]{q})^{k+3}}
 \Big|\\
&+|\sqrt[3]{q}\bar\varepsilon|^n\Big|c_0+\sum_{k=0}^{n-1}
 \frac{\varepsilon^kf_k}{3(\sqrt[3]{q})^{k+3}}\Big|\\
\le &|\sqrt[3]{q}|^n\Big(|a_0|+\sum_{k=0}^{n-1}\frac{|f_k|}{3|\sqrt[3]{q}|^{k+3}}\Big)
 +|\sqrt[3]{q}|^n\Big(|b_0|+\sum_{k=0}^{n-1}\frac{|f_k|}{3|\sqrt[3]{q}|^{k+3}}\Big)\\
&+|\sqrt[3]{q}|^n\Big(|c_0|+\sum_{k=0}^{n-1}\frac{|f_k|}{3|\sqrt[3]{q}|^{k+3}}\Big)\\
\le &|\sqrt[3]{q}|^n\big(|a_0|+|b_0|+|c_0|\big)
 +\frac{\|f\|_\infty}{|\sqrt[3]{q}|^2}\sum_{k=0}^{n-1}|\sqrt[3]{q}|^{n-k-1}\\
\le &|a_0|+|b_0|+|c_0|+\frac{\|f\|_\infty}{|\sqrt[3]{q}|^2(1-|\sqrt[3]{q}|)},
\end{align*}
for every $n\in\mathbb{N}_0$, from which the theorem follows.
\end{proof}

The following result solves the problem of the unique existence of a bounded
solution to equation \eqref{em} for the case $q_n=q$, $n\in\mathbb{N}_0$, $|q|>1$,
in a unified way.

\begin{theorem} \label{thm2}
 Consider equation \eqref{e1},
where $q\in\mathbb{C}$, $|q|>1$ and $(f_n)_{n\in\mathbb{N}_0}\subset\mathbb{C}$ is a bounded sequence.
 Then there is a unique bounded solution to the equation.
\end{theorem}

\begin{proof}
By Proposition \ref{prop1} the general solution to \eqref{e1} is given by \eqref{a9}.
Hence
\begin{gather}
x_{3n}=q^n\Big(a_0+b_0+c_0+\sum_{k=0}^{3n-1}
 \frac{(1+\varepsilon^k+\bar\varepsilon^k)f_k}{3(\sqrt[3]{q})^{k+3}}\Big),\label{a10}\\
x_{3n+1}=(\sqrt[3]{q})^{3n+1}\Big(a_0+b_0\varepsilon+c_0\bar\varepsilon+\sum_{k=0}^{3n}
 \frac{(1+\varepsilon^{k-1}+\bar\varepsilon^{k-1})f_k}{3(\sqrt[3]{q})^{k+3}}\Big),\label{a10a}\\
x_{3n+2}=(\sqrt[3]{q})^{3n+2}\Big(a_0+b_0\varepsilon^2+c_0\bar \varepsilon^2+\sum_{k=0}^{3n+1}
 \frac{(1+\varepsilon^{k-2}+\bar\varepsilon^{k-2})f_k}{3(\sqrt[3]{q})^{k+3}}\Big),\label{a10b}
\end{gather}
for every $n\in\mathbb{N}_0$.

Since $|q|>1$ and $(f_n)_{n\in\mathbb{N}_0}$ is a bounded sequence, by using some
elementary inequalities, we have
\begin{equation}
\Big|\sum_{k=0}^\infty\frac{(1+\varepsilon^{k-j}
 +\bar\varepsilon^{k-j})f_k}{3(\sqrt[3]{q})^{k+3}}\Big|
\le \sum_{k=0}^\infty\frac{\|f\|_\infty}{|\sqrt[3]{q}|^{k+3}}
=\frac{\|f\|_\infty}{|\sqrt[3]{q}|^2(|\sqrt[3]{q}|-1)}<\infty,\label{bs}
\end{equation}
for $j=\overline{0,2}$, which shows that the sums appearing in equalities
\eqref{a10}-\eqref{a10b} are absolutely convergent.

Using this fact, along with equalities \eqref{a10}-\eqref{a10b} and the
assumption $|q|>1$, we see that if $(x_n)_{n\in\mathbb{N}_0}$ is a bounded solution
to equation \eqref{e1}, the following equalities must hold:
\begin{gather}
a_0+b_0+c_0=-\sum_{k=0}^\infty\frac{(1+\varepsilon^k+\bar\varepsilon^k)f_k}{3(\sqrt[3]{q})^{k+3}}
 =:S_1,\label{a12}\\
a_0+b_0\varepsilon+c_0\bar\varepsilon=-\sum_{k=0}^\infty\frac{(1+\varepsilon^{k-1}
 +\bar\varepsilon^{k-1})f_k}{3(\sqrt[3]{q})^{k+3}}=:S_2,\label{a14}\\
a_0+b_0\varepsilon^2+c_0\bar\varepsilon^2=-\sum_{k=0}^\infty\frac{(1+\varepsilon^{k-2}
 +\bar\varepsilon^{k-2})f_k}{3(\sqrt[3]{q})^{k+3}}=:S_3.\label{a14a}
\end{gather}
Indeed, since $|q|>1$, we have $|\sqrt[3]{q}|^{3n+j}\to+\infty$, as
$n\to+\infty$, for each $j\in\{0,1,2\}$, from which by letting $n\to+\infty$
in \eqref{a10}-\eqref{a10b}, we see that a solution $(x_n)_{n\in\mathbb{N}_0}$
to equation \eqref{e1} is  bounded only if equalities \eqref{a12}-\eqref{a14a}
hold.

The equalities can be regarded as a three-dimensional linear system in variables
$a_0$, $b_0$ and $c_0$. The system can be solved, so, by using \eqref{vm}
and by some calculation, it follows that
\begin{gather}
\begin{aligned}
a_0=&\frac1{W_3(1,\varepsilon,\bar\varepsilon)}
 \begin{vmatrix}
 S_1 & 1 & 1 \\
 S_2 & \varepsilon & \bar \varepsilon \\
 S_3 & \varepsilon^2 & \bar \varepsilon^2
 \end{vmatrix}
=\frac{(\bar\varepsilon-\varepsilon)(S_1+S_2+S_3)}{W_3(1,\varepsilon,\bar\varepsilon)}
=\frac{S_1+S_2+S_3}3\\
=&-\sum_{k=0}^\infty\sum_{j=0}^2\frac{(1+\varepsilon^{k-j}
+\bar\varepsilon^{k-j})f_k}{9(\sqrt[3]{q})^{k+3}}
=-\sum_{k=0}^\infty\frac{f_k}{3(\sqrt[3]{q})^{k+3}},
\end{aligned} \label{a15} \\
\begin{aligned}
b_0=&\frac1{W_3(1,\varepsilon,\bar\varepsilon)}
 \begin{vmatrix}
 1 & S_1 & 1 \\
 1 & S_2 & \bar \varepsilon \\
 1 & S_3 & \bar \varepsilon^2
 \end{vmatrix}
=\frac{(\bar\varepsilon-\varepsilon)(S_1+\bar \varepsilon S_2+\varepsilon S_3)}{W_3(1,\varepsilon,\bar\varepsilon)}
 =\frac{S_1+\bar \varepsilon S_2+\varepsilon S_3}3\\
=&-\sum_{k=0}^\infty\sum_{j=0}^2\frac{\bar\varepsilon^j(1+\varepsilon^{k-j}
 +\bar\varepsilon^{k-j})f_k}{9(\sqrt[3]{q})^{k+3}}
=-\sum_{k=0}^\infty\frac{\bar\varepsilon^k f_k}{3(\sqrt[3]{q})^{k+3}},
\end{aligned} \label{a15a} \\
\begin{aligned}
c_0=&\frac1{W_3(1,\varepsilon,\bar\varepsilon)}
 \begin{vmatrix}
 1 & 1 & S_1 \\
 1 & \varepsilon & S_2 \\
 1 & \varepsilon^2 & S_3
 \end{vmatrix}
=\frac{(\bar\varepsilon-\varepsilon)(S_1+\varepsilon S_2+\bar\varepsilon S_3)}{W_3(1,\varepsilon,\bar\varepsilon)}
 =\frac{S_1+\varepsilon S_2+\bar\varepsilon S_3}3\\
=&-\sum_{k=0}^\infty\sum_{j=0}^2\frac{\varepsilon^j(1+\varepsilon^{k-j}
 +\bar\varepsilon^{k-j})f_k}{9(\sqrt[3]{q})^{k+3}}
=-\sum_{k=0}^\infty\frac{\varepsilon^k f_k}{3(\sqrt[3]{q})^{k+3}}.
\end{aligned}\label{a15b}
\end{gather}

When we use \eqref{a15}-\eqref{a15b} in \eqref{a9}, we obtain
\begin{align}
 x_n
=&(\sqrt[3]{q})^n\Big(\frac{S_1+S_2+S_3}3
 +\sum_{k=0}^{n-1}\frac{f_k}{3(\sqrt[3]{q})^{k+3}}\Big) \nonumber\\
&+(\sqrt[3]{q}\varepsilon)^n\Big(\frac{S_1+\bar \varepsilon S_2+\varepsilon S_3}3
 +\sum_{k=0}^{n-1}\frac{\bar\varepsilon^kf_k}{3(\sqrt[3]{q})^{k+3}}\Big)
\nonumber\\
&+(\sqrt[3]{q}\bar\varepsilon)^n\Big(\frac{S_1+\varepsilon S_2
 +\bar\varepsilon S_3}3
 +\sum_{k=0}^{n-1}\frac{\varepsilon^kf_k}{3(\sqrt[3]{q})^{k+3}}\Big)
\nonumber\\
=&-(\sqrt[3]{q})^n\sum_{k=n}^\infty\frac{f_k}{3(\sqrt[3]{q})^{k+3}}
-(\sqrt[3]{q}\varepsilon)^n\sum_{k=n}^\infty
\frac{\bar\varepsilon^kf_k}{3(\sqrt[3]{q})^{k+3}} \nonumber\\
& -(\sqrt[3]{q}\bar\varepsilon)^n\sum_{k=n}^\infty
\frac{\varepsilon^kf_k}{3(\sqrt[3]{q})^{k+3}}
\nonumber\\
=&-(\sqrt[3]{q})^n\sum_{k=n}^\infty\frac{(1+\varepsilon^{k-n}
+\bar\varepsilon^{k-n})f_k}{3(\sqrt[3]{q})^{k+3}}, \label{a16}
\end{align}
for $n\in\mathbb{N}_0$.

That sequence $(x_n)_{n\in\mathbb{N}_0}$ given by \eqref{a16} is a solution
to equation \eqref{e1} is easily checked by some calculation.
On the other hand, similar to \eqref{bs}, it is proved the following estimate:
$$
|x_n|\le \frac{\|f\|_\infty}{|\sqrt[3]{q}|^2(|\sqrt[3]{q}|-1)}<\infty,\quad
n\in\mathbb{N}_0,
$$
which means that the sequence is bounded. That the sequence presents a unique
bounded solution to equation \eqref{e1} follows from the unique choice of
constants $a_0$, $b_0$ and $c_0$, in \eqref{a15}--\eqref{a15b}.

Moreover, since
\begin{gather}
a_0+b_0+c_0=x_0,\\
a_0+\varepsilon b_0+\bar\varepsilon c_0=\frac{x_1}{\sqrt[3]{q}},\\
a_0+\bar\varepsilon b_0+\varepsilon c_0=\frac{x_2}{(\sqrt[3]{q})^2},
\end{gather}
from \eqref{a12}-\eqref{a14a}, we obtain that
\begin{equation}
x_0=S_1,\quad x_1=\sqrt[3]{q}S_2,\quad x_2=(\sqrt[3]{q})^2S_3,\label{iv1}
\end{equation}
are the initial values for which is obtained the bonded solution to
\eqref{e1} in the case.
\end{proof}


\begin{remark} \label{rmk2}\rm
 The case $|q|=1$ is a boundary one, and, as usual, in such situations,
there is no a unique result regarding the boundedness character of the solutions
to equation \eqref{e1} in the case. For example, if $q=1$, then,
depending on the choice of a bounded sequence $(f_n)_{n\in\mathbb{N}_0}$,
sequence $(x_n)_{n\in\mathbb{N}_0}$ can converge, or goes to infinity,
or its limit set can be the whole closed interval
 $[\liminf_{n\to\infty}x_n,\limsup_{n\to\infty}x_n]$,
or it can be even a more complicated set (\cite{ma, ps}).
For some related results in metric spaces see \cite{aa}.
\end{remark}

The following result considers the case when $(q_n)_{n\in\mathbb{N}_0}$
is not a constant sequence, but is bounded.
It solves Problem \ref{prob1} for the case of equation \eqref{em} on its original
domain $\mathbb{N}_0$.

\begin{theorem} \label{thm3}
 Consider equation \eqref{em}, where
\begin{equation}
1<a\le q_n\le b,\quad n\in\mathbb{N}_0,\label{a20}
\end{equation}
or
\begin{equation}
-b\le q_n\le -a<-1,\quad n\in\mathbb{N}_0,\label{a20a}
\end{equation}
for some positive numbers $a$ and $b$, and $(f_n)_{n\in\mathbb{N}_0}$ is a
bounded sequence of complex numbers.
Then the equation has a unique bounded solution.
\end{theorem}

\begin{proof}
We prove the theorem in the case when condition \eqref{a20} holds.
 The case when condition \eqref{a20a} holds is dealt with analogously.
Hence, the proof in the case is omitted.

Let $q$ be a positive number such that
\begin{equation}
q\in\big(\max\{a,(b+1)/2\}, b).\label{a21}
\end{equation}
Write equation \eqref{em} in the form
\begin{equation}
x_{n+3}-qx_n=(q_n-q)x_n+f_n,\quad n\in\mathbb{N}_0.\label{em1}
\end{equation}
Let $A$ be an operator defined on $l^\infty$, as follows
\begin{equation}
A(u)=\Big(-(\sqrt[3]{q})^n\frac13\sum_{k=n}^\infty
\frac{((1+\varepsilon^{k-n}+\bar\varepsilon^{k-n})((q_k-q)u_k+f_k)}{(\sqrt[3]{q})^{k+3}}
\Big)_{n\in\mathbb{N}_0}.\label{a17}
\end{equation}

Assume that $u\in l^\infty$. Then, from \eqref{a17} we have
\begin{equation}
\begin{aligned}
\|A(u)\|_\infty
=&\sup_{n\in\mathbb{N}_0}\Big|-(\sqrt[3]{q})^n\frac13
 \sum_{k=n}^\infty\frac{(1+\varepsilon^{k-n}+\bar\varepsilon^{k-n})
 ((q_k-q)u_k+f_k)}{(\sqrt[3]{q})^{k+3}}\Big|\\
\le&\sup_{n\in\mathbb{N}_0}\sum_{k=n}^\infty
 \frac{(q_k+q)|u_k|+|f_k|}{|\sqrt[3]{q}|^{k+3-n}}\\
\le&\frac{(b+q)\|u\|_\infty+\|f\|_\infty}{|\sqrt[3]{q}|^2(|\sqrt[3]{q}|-1)}
<\infty,
\end{aligned}
\end{equation}
which means that $A(u)\in l^\infty$.

If $u,v\in l^\infty$, then
\begin{equation}
\begin{aligned}
\|A(u)-A(v)\|_\infty
=&\sup_{n\in\mathbb{N}_0}\Big|(\sqrt[3]{q})^n\frac13
 \sum_{k=n}^\infty\frac{(1+\varepsilon^{k-n}+\bar\varepsilon^{k-n})(q_k-q)(u_k-v_k)}
 {(\sqrt[3]{q})^{k+3}}\Big|\\
=&\sup_{n\in\mathbb{N}_0}\Big|(\sqrt[3]{q})^n\sum_{j=0}^\infty
 \frac{(q_{n+3j}-q)(u_{n+3j}-v_{n+3j})}{(\sqrt[3]{q})^{n+3j+3}}\Big|\\
\le &\sup_{n\in\mathbb{N}_0}\sum_{j=0}^\infty\frac{|q_{n+3j}-q||u_{n+3j}-v_{n+3j}|}{q^{j+1}}\\
\le &\frac{\max\{q-a,b-q\}}{q-1}\|u-v\|_\infty=q_1\|u-v\|_\infty.
\end{aligned}\label{a18}
\end{equation}
From $a>1$ and \eqref{a21}, it follows that $q_1\in(0,1)$.
Hence, $A$ is a contraction from $l^\infty$ into itself.

By the contraction mapping principle we obtain that $A$ has a unique fixed point,
say $x^*=(x_n^*)_{n\in\mathbb{N}_0}\in l^\infty$. Hence
\begin{equation}
x_n^*=-(\sqrt[3]{q})^n\frac13\sum_{k=n}^\infty\frac{(1+\varepsilon^{k-n}
+\bar\varepsilon^{k-n})((q_k-q)x_k^*+f_k)}{(\sqrt[3]{q})^{k+3}},\label{a19}
\end{equation}
for every $n\in\mathbb{N}_0$.

It is easy to verify that \eqref{a19} is a solution to equation \eqref{em},
 so that such obtained $x^*$ is its unique (bounded) solution.
\end{proof}


\subsection{Equation \eqref{em} with negative indices}

If $q_n\ne 0$, $n\in\mathbb{N}_0$, then equation \eqref{em} can be written in the
form
\begin{equation}
x_n=\frac{x_{n+3}-f_n}{q_n},\quad n\in\mathbb{N}_0,\label{e5}
\end{equation}
from which it follows that if the sequences $q_n$ and $f_n$ are also
defined for $n\le -1$ and $q_n\ne 0$, $n\le -1$, then each solution
to equation \eqref{em} can be also calculated/defined for every $n\le -1$,
and consequently on the whole $\mathbb{Z}$.

In this case equation \eqref{e5} can be written as follows
\begin{equation}
x_{-(n+3)}=\frac1{q_{-(n+3)}}x_{-n}-\frac{f_{-(n+3)}}{q_{-(n+3)}},\quad
 n\ge -2,\label{e6}
\end{equation}
which, by using the change of variables
\begin{equation}
y_n=x_{-n},\label{c1}
\end{equation}
and the notation
\begin{equation}
\hat q_n:=\frac1{q_{-(n+3)}}\quad\text{and}\quad 
\hat f_n:=-\frac{f_{-(n+3)}}{q_{-(n+3)}},\label{c2}
\end{equation}
becomes
\begin{equation}
y_{n+3}=\hat q_ny_n+\hat f_n,\label{ey}
\end{equation}
which is an equation of the form in \eqref{em}, but defined on a
slightly bigger domain.

If we consider difference equation \eqref{ey} not on the whole domain $n\ge -2$,
but on the restricted one $\mathbb{N}_0$, then by employing Proposition \ref{prop1}
 to the equation, and using the change of variables and notations in
\eqref{c1} and \eqref{c2}, the following result is obtained.


\begin{proposition} \label{prop2}
 Consider difference equation \eqref{e6}. Assume that
$q_{-n}=q\in\mathbb{C}\setminus\{0\}$, $n\ge 3$, and $(f_{-n})_{n\ge 3}\subset\mathbb{C}$.
Then the general solution to the equation on $\mathbb{Z}\setminus\mathbb{N}$, is given by
\begin{equation}
\begin{aligned}
x_{-n}=&\frac1{(\sqrt[3]{q})^n}\Big(\hat a_0-\frac13\sum_{k=0}^{n-1}
 (\sqrt[3]{q})^kf_{-(k+3)}\Big) \\
&+\Big(\frac{\varepsilon}{\sqrt[3]{q}}\Big)^n
\Big(\hat b_0-\frac13\sum_{k=0}^{n-1}(\sqrt[3]{q})^k\bar\varepsilon^kf_{-(k+3)}\Big)\\
&+\Big(\frac{\bar\varepsilon}{\sqrt[3]{q}}\Big)^n
 \Big(\hat c_0-\frac13\sum_{k=0}^{n-1}(\sqrt[3]{q})^k\varepsilon^kf_{-(k+3)}\Big),
\quad n\in\mathbb{N}_0,
\end{aligned}\label{a9y}
\end{equation}
where $\hat a_0$, $\hat b_0$ and $\hat c_0$ are arbitrary complex numbers,
and $\sqrt[3]{q}$ is one of the three possible third roots of $q$.
\end{proposition}

By using formula \eqref{a9y}, the following result is proved similar
to Theorem \ref{thm1}. The proof is omitted for the similarity/duality.

\begin{theorem} \label{thm4}
 Consider the equation
\begin{equation}
x_{-(n+3)}=\frac{x_{-n}}{q}-\frac{f_{-(n+3)}}{q},\quad n\in\mathbb{N}_0,\label{e7}
\end{equation}
where $q\in\mathbb{C}$, $|q|>1$ and $(f_{-n})_{n\ge 3}\subset\mathbb{C}$ is a bounded
sequence. Then every solution to the equation is bounded on $\mathbb{N}_0$.
\end{theorem}

The following theorem corresponds to Theorem \ref{thm2} and is essentially its
dual statement on domain $\mathbb{Z}\setminus\mathbb{N}$.
It can be obtained from Theorem \ref{thm2} by using \eqref{c1} and \eqref{c2},
so its detailed proof is omitted.

\begin{theorem} \label{thm5}
Consider equation \eqref{e7},
where $q\in\mathbb{C}$, $0<|q|<1$ and $(f_{-n})_{n\ge 3}\subset\mathbb{C}$ is a bounded sequence.
 Then there is a unique bounded solution to the equation on $\mathbb{N}_0$.
\end{theorem}

A problem with formula \eqref{a9y} is that it is given on domain $\mathbb{N}_0$.
 What we need is a formula for solution to equation \eqref{e1} on domain
 $\mathbb{Z}\setminus\mathbb{N}_3$, which would patch well with formula \eqref{a9z},
in the sense that the equation on domains $\mathbb{N}_0$ and $\mathbb{Z}\setminus\mathbb{N}_3$
has the same initial/end values. To overcome the problem we will get now
the solution to equation \eqref{e7} on domain $n\ge -2$, with initial/end
values $x_j$, $j=\overline{0,2}$, by using the decomposition method.
In fact, we will solve a more general linear difference equation of third-order.

The nonhomogeneous linear difference equation of third-order with constant
coefficients has the form
\begin{equation}
x_{n+3}+px_{n+2}+qx_{n+1}+rx_n=f_n.\label{eq1}
\end{equation}
We will consider the equation on domain $\mathbb{Z}\setminus\mathbb{N}_3$.
So, we choose that the initial/end values on the domain are $x_0, x_1$
and $x_2$. We assume that $r\ne 0$, since otherwise it becomes an equation
of smaller order.

Let $\lambda_j$, $j=\overline{1,3}$, be the zeros of the characteristic polynomial
\begin{equation} P_3(\lambda)=\lambda^3+p\lambda^2+q\lambda+r,\label{pl1}\end{equation}
which is associated to the homogeneous equation
$$
x_{n+3}+px_{n+2}+qx_{n+1}+rx_n=0.
$$
We additionally assume that the zeros are distinct, that is,
$\lambda_i\ne\lambda_j$, $i\ne j$, $i,j\in\{1,2,3\}$, which happens if and only
if the discriminant of the equation $P_3(\lambda)=0$ is equal to zero \cite{f}.

Hence, if $n\le -1$, then the equation can be written as follows
$$
x_n+\frac qr x_{n+1}+\frac pr x_{n+2}+\frac1r x_{n+3}=\frac{f_n}r,\quad n\le -1,
$$
which can be rewritten in the form
\begin{equation}
\begin{aligned}
&x_{-n}-\Big(\frac1{\lambda_1}+\frac1{\lambda_2}+\frac1{\lambda_3}\Big) x_{-(n-1)}
+\Big(\frac1{\lambda_1\lambda_2}+\frac1{\lambda_2\lambda_3}+\frac1{\lambda_3\lambda_1}\Big)x_{-(n-2)}\\
&\quad -\frac{x_{-(n-3)}}{\lambda_1\lambda_2\lambda_3}\\
&=-\frac{f_{-n}}{\lambda_1\lambda_2\lambda_3},\quad n\in\mathbb{N}.
\end{aligned}\label{eq2}
\end{equation}
We will solve equation \eqref{eq2} by the method of decomposition
(see, for example, \cite{k, mk}).
Let
\begin{equation} y_{-n}=x_{-n}-\frac1{\lambda_3}x_{-(n-1)},\quad n\ge-1.\label{yn}
\end{equation}
Then \eqref{eq2} can be written as follows:
\begin{equation}
y_{-n}-\Big(\frac1{\lambda_1}+\frac1{\lambda_2}\Big) y_{-(n-1)}
+\frac{y_{-(n-2)}}{\lambda_1\lambda_2}
=\frac{\widehat f_{-n}}{\lambda_1\lambda_2},\quad n\in\mathbb{N},\label{e1a}
\end{equation}
where
$$
\widehat f_{-n}=-\frac{f_{-n}}{\lambda_3},\quad n\in\mathbb{N}.
$$

If we write \eqref{e1a} in the form
\begin{equation}
y_{-n}-\frac{y_{-(n-1)}}{\lambda_1}
=\frac1{\lambda_2}\Big(y_{-(n-1)}-\frac{y_{-(n-2)}}{\lambda_1}\Big)
+\frac{\widehat f_{-n}}{\lambda_1\lambda_2},\quad n\in\mathbb{N},\label{e1b}
\end{equation}
and multiply the equation
\begin{equation}
y_{-j}-\frac{y_{-(j-1)}}{\lambda_1}
=\frac1{\lambda_2}\Big(y_{-(j-1)}-\frac{y_{-(j-2)}}{\lambda_1}\Big)
+\frac{\widehat f_{-j}}{\lambda_1\lambda_2}\label{e1c}
\end{equation}
by $\lambda_2^{-(n-j)}$, $j=\overline{1,n}$, and summing up such obtained equalities, we obtain
\begin{equation}
y_{-n}=\frac{y_{-(n-1)}}{\lambda_1}+\frac1{\lambda_2^n}
\Big(y_0-\frac{y_1}{\lambda_1}\Big)+\frac1{\lambda_1\lambda_2}
\sum_{j=1}^n\frac{\widehat f_{-j}}{\lambda_2^{n-j}},\label{e1d}
\end{equation}
for $n\in\mathbb{N}$.

Multiplying the following equality
\begin{equation}
y_{-i}=\frac{y_{-(i-1)}}{\lambda_1}+\frac1{\lambda_2^i}
\Big(y_0-\frac{y_1}{\lambda_1}\Big)
+\frac1{\lambda_1\lambda_2}\sum_{j=1}^i\frac{\widehat f_{-j}}{\lambda_2^{i-j}},
\label{e1e}
\end{equation}
by $\lambda_1^{-(n-i)}$, $i=\overline{1,n}$, and summing up such obtained equalities, we obtain
\begin{align}
 y_{-n}=&\frac{y_0}{\lambda_1^n}+\frac1{\lambda_2}\Big(y_0-\frac{y_1}{\lambda_1}\Big)
 \sum_{j=0}^{n-1}\frac1{\lambda_1^j\lambda_2^{n-1-j}}
+\frac1{\lambda_1\lambda_2}\sum_{i=1}^n\frac1{\lambda_1^{n-i}}\sum_{j=1}^i
 \frac{\widehat f_{-j}}{\lambda_2^{i-j}}\label{n1} \\
=&y_0\frac{\lambda_1^{-(n+1)}-\lambda_2^{-(n+1)}}{\lambda_1^{-1}-\lambda_2^{-1}}
 -\frac{y_1}{\lambda_1\lambda_2}\frac{\lambda_1^{-n}-\lambda_2^{-n}}{\lambda_1^{-1}-\lambda_2^{-1}}
+\frac1{\lambda_1\lambda_2}\sum_{j=1}^n\frac{\widehat f_{-j}}{\lambda_1^{n}}\lambda_2^j
 \sum_{i=j}^n\Big(\frac{\lambda_1}{\lambda_2}\Big)^i \nonumber \\
=&y_0\frac{\lambda_1^{-(n+1)}-\lambda_2^{-(n+1)}}{\lambda_1^{-1}-\lambda_2^{-1}}
 -\frac{y_1}{\lambda_1\lambda_2}\frac{\lambda_1^{-n}-\lambda_2^{-n}}{\lambda_1^{-1}-\lambda_2^{-1}}
 +\frac1{\lambda_1\lambda_2}\sum_{j=1}^n\widehat f_{-j}\frac{\lambda_1^{j-n-1}
 -\lambda_2^{j-n-1}}{\lambda_1^{-1}-\lambda_2^{-1}} \nonumber \\
=&\frac{\lambda_1^{-(n+1)}(y_0-y_1\lambda_2^{-1}+(\lambda_1\lambda_2)^{-1}\sum_{j=1}^n
 \widehat f_{-j}\lambda^j_1)}{\lambda_1^{-1}-\lambda_2^{-1}} \nonumber \\
&-\frac{\lambda_2^{-(n+1)}(y_0-y_1\lambda_1^{-1}+(\lambda_1\lambda_2)^{-1}
 \sum_{j=1}^n\widehat f_{-j}\lambda^j_2)}{\lambda_1^{-1}-\lambda_2^{-1}} \nonumber \\
=&\frac{\lambda_1^{-n}(\lambda_2 y_0-y_1+\sum_{j=1}^n\widehat f_{-j}\lambda^{j-1}_1)
 -\lambda_2^{-n}(\lambda_1y_0-y_1+\sum_{j=1}^n\widehat f_{-j}\lambda^{j-1}_2)}{\lambda_2-\lambda_1},
\label{e2}
\end{align}
for $n\in\mathbb{N}_0$.

Combining \eqref{yn} and \eqref{e2}, we obtain
\begin{equation}
\begin{aligned}
x_{-n}=&\frac{x_{-(n-1)}}{\lambda_3}+\frac{\lambda_1^{-n}(\lambda_3^{-1}(x_2-(\lambda_2+\lambda_3)x_1
 +\lambda_2\lambda_3x_0)+\sum_{j=1}^n\widehat f_{-j}\lambda^{j-1}_1)}{\lambda_2-\lambda_1}\\
&-\frac{\lambda_2^{-n}(\lambda_3^{-1}(x_2-(\lambda_1+\lambda_3)x_1+\lambda_1\lambda_3x_0)
 +\sum_{j=1}^n\widehat f_{-j}\lambda^{j-1}_2)}{\lambda_2-\lambda_1},
\end{aligned}\label{eq3}
\end{equation}
for $n\in\mathbb{N}$.

Multiplying the following equality
\begin{equation}
\begin{aligned}
x_{-i}
=&\frac{x_{-(i-1)}}{\lambda_3}+\frac{\lambda_1^{-i}(\lambda_3^{-1}(x_2-(\lambda_2+\lambda_3)x_1+\lambda_2\lambda_3x_0)
 +\sum_{j=1}^i\widehat f_{-j}\lambda^{j-1}_1)}{\lambda_2-\lambda_1}\\
&-\frac{\lambda_2^{-i}(\lambda_3^{-1}(x_2-(\lambda_1+\lambda_3)x_1+\lambda_1\lambda_3x_0)+\sum_{j=1}^i
 \widehat f_{-j}\lambda^{j-1}_2)}{\lambda_2-\lambda_1},
\end{aligned} \label{eq5}
\end{equation}
by $\lambda_3^{-(n-i)}$, $i=\overline{1,n}$, and summing up such obtained equalities,
we obtain
\begin{align}
x_{-n}=&\frac{x_0}{\lambda_3^n}+\frac{\frac{x_2-(\lambda_2+\lambda_3)x_1+\lambda_2\lambda_3x_0}{\lambda_3}
\sum_{i=1}^n\frac1{\lambda_3^{n-i}\lambda_1^i}+\sum_{i=1}^n\lambda_3^{i-n}\lambda_1^{-i}
 \sum_{j=1}^i\widehat f_{-j}\lambda^{j-1}_1}{\lambda_2-\lambda_1} \nonumber\\
&-\frac{\frac{x_2-(\lambda_1+\lambda_3)x_1+\lambda_1\lambda_3x_0}{\lambda_3}
 \sum_{i=1}^n\frac1{\lambda_3^{n-i}\lambda_2^i}+\sum_{i=1}^n\lambda_3^{i-n}\lambda_2^{-i}
 \sum_{j=1}^i\widehat f_{-j}\lambda^{j-1}_2}{\lambda_2-\lambda_1} \nonumber \\
=&\frac{x_0}{\lambda_3^n}+\frac{\frac{x_2-(\lambda_2+\lambda_3)x_1+\lambda_2\lambda_3x_0}{\lambda_3-\lambda_1}
 \big(\frac1{\lambda_1^n}-\frac1{\lambda_3^n}\big)+\sum_{j=1}^n f_{-j}
 \frac{\lambda_3^{j-n-1}-\lambda_1^{j-n-1}}{\lambda_3-\lambda_1}}{\lambda_2-\lambda_1}  \nonumber \\
&-\frac{\frac{x_2-(\lambda_1+\lambda_3)x_1+\lambda_1\lambda_3x_0}{\lambda_3-\lambda_2}
 \big(\frac1{\lambda_2^n}-\frac1{\lambda_3^n}\big)+\sum_{i=j}^n f_{-j}
 \frac{\lambda_3^{j-n-1}-\lambda_2^{j-n-1}}{\lambda_3-\lambda_2}}{\lambda_2-\lambda_1} \nonumber \\
=&\frac1{\lambda_1^n}\frac{x_2-(\lambda_2+\lambda_3)x_1+\lambda_2\lambda_3x_0
 -\sum_{j=1}^nf_{-j}\lambda^{j-1}_1}{(\lambda_2-\lambda_1)(\lambda_3-\lambda_1)} \nonumber\\
&+\frac1{\lambda_2^n}\frac{x_2-(\lambda_1+\lambda_3)x_1+\lambda_1\lambda_3x_0
 -\sum_{j=1}^nf_{-j}\lambda^{j-1}_2}{(\lambda_2-\lambda_1)(\lambda_2-\lambda_3)} \nonumber\\
&+\frac1{\lambda_3^n}\frac{x_2-(\lambda_2+\lambda_1)x_1+\lambda_2\lambda_1x_0
 -\sum_{j=1}^nf_{-j}\lambda^{j-1}_3}{(\lambda_3-\lambda_1)(\lambda_3-\lambda_2)}, 
 \label{eq6}
\end{align}
for $n\ge -2$.
From the above analysis which leads to formula \eqref{eq6} we see that
the following result holds.

\begin{proposition} \label{prop3}
 Consider equation \eqref{eq1}, where $p,q\in\mathbb{C}$, 
$r\in\mathbb{C}\setminus\{0\}$
and $(f_n)_{n\le -1}\subset\mathbb{C}$. Assume that the zeros $\lambda_j$, $j=\overline{1,3}$,
of the characteristic polynomial \eqref{pl1} are distinct.
Then the solution to the equation with the initial/end values
$x_j\in\mathbb{C}$, $j=\overline{0,2}$, on domain $\mathbb{Z}\setminus\mathbb{N}_3$,
is given by formula \eqref{eq6}.
\end{proposition}

By using formula \eqref{eq6} the following theorem is easily proved
similar to Theorem \ref{thm1}. Hence, we also omit the proof.

\begin{theorem} \label{thm6}
 Consider equation \eqref{eq1}, where $p,q\in\mathbb{C}$, 
$r\in\mathbb{C}\setminus\{0\}$ and the sequence $(f_n)_{n\le -1}\subset\mathbb{C}$ 
is bounded.
If the roots of the polynomial \eqref{pl1} are distinct and satisfy
the condition $\min_{j=\overline{1,3}}|\lambda_j|>1$, then every solution to the
equation is bounded on domain $\mathbb{Z}\setminus\mathbb{N}_3$.
\end{theorem}

\begin{corollary} \label{coro2}
 Consider equation \eqref{e1}. If $|q|>1$ and $(f_n)_{n\le -1}\subset\mathbb{C}$
is a bounded sequence. Then every solution to the equation is bounded on
domain $\mathbb{Z}\setminus\mathbb{N}_3$.
\end{corollary}


\begin{theorem} \label{thm7}
 Consider  equation \eqref{eq1}, where $p,q\in\mathbb{C}$, 
$r\in\mathbb{C}\setminus\{0\}$
and the sequence $(f_n)_{n\le -1}\subset\mathbb{C}$ is a bounded. If the roots of
polynomial \eqref{pl1} are distinct and satisfy the condition
\begin{equation}
\max_{j=\overline{1,3}}|\lambda_j|<1,\label{lm}
\end{equation}
then there is a unique bounded solution to the equation on domain
$\mathbb{Z}\setminus\mathbb{N}_3$.
\end{theorem}

\begin{proof}
If $(x_n)_{n\le 2}$ is a bounded solution to equation \eqref{eq1},
then from \eqref{eq6} we have that it must be
\begin{gather}
x_2-(\lambda_2+\lambda_3)x_1+\lambda_2\lambda_3x_0
=\sum_{j=1}^\infty f_{-j}\lambda^{j-1}_1=:\widetilde S_1,\label{d1}\\
x_2-(\lambda_1+\lambda_3)x_1+\lambda_1\lambda_3x_0
=\sum_{j=1}^\infty f_{-j}\lambda^{j-1}_2=:\widetilde S_2,\label{d2}\\
x_2-(\lambda_1+\lambda_2)x_1+\lambda_1\lambda_2x_0
=\sum_{j=1}^\infty f_{-j}\lambda^{j-1}_3=:\widetilde S_3.\label{d3}
\end{gather}
Indeed, assume without loss of generality that $|\lambda_1|<|\lambda_2|<|\lambda_3|$
(the other five cases are obtained from this one by permutations of some letters),
and note that
\begin{equation}
\Big|\sum_{j=1}^\infty f_{-j}\lambda^{j-1}_i\Big|
\le \frac{\|f\|_\infty}{1-|\lambda_i|},\quad i=\overline{1,3},\label{s3}
\end{equation}
which implies that the quantities $\widetilde{S}_j$, $j=\overline{1,3}$, are finite.

Then, if \eqref{d3} were not hold from \eqref{eq6}, \eqref{lm} and \eqref{s3}
we would have
$$
|x_{-n}|\succeq O\Big(\frac1{|\lambda_3|^n}\Big),
$$
which would contradict the boundedness of $(x_n)_{n\le 2}$
(note that condition \eqref{lm} implies the unboundedness of the right-hand
side of the last relation).

Hence, equality \eqref{d3} holds, so by using the equality in the last
addend in \eqref{eq6}, it follows that
\begin{equation}
\begin{aligned}
&\Big|\frac{x_2-(\lambda_2+\lambda_1)x_1+\lambda_2\lambda_1x_0-\sum_{j=1}^nf_{-j}\lambda^{j-1}_3}
{\lambda_3^n(\lambda_3-\lambda_1)(\lambda_3-\lambda_2)}\Big|\\
&=\Big|\frac{\sum_{j=n+1}^\infty f_{-j}\lambda^{j-1-n}_3}
{(\lambda_3-\lambda_1)(\lambda_3-\lambda_2)}\Big|
\le\frac{\|f\|_\infty}{|(\lambda_3-\lambda_1)(\lambda_3-\lambda_2)
|(1-|\lambda_3|)}<\infty.
\end{aligned}\label{d5}
\end{equation}
If \eqref{d2} were not hold, then from \eqref{eq6}, \eqref{lm}, \eqref{s3}
and \eqref{d5} we would have
$$
|x_{-n}|\succeq  O\Big(\frac1{|\lambda_2|^n}\Big),
$$
which would contradict the boundedness of $(x_n)_{n\le 2}$
(as above condition \eqref{lm} implies the unboundedness of the right-hand
side of the last relation).

Hence, \eqref{d2} holds, so by using it in the last but one addend in
\eqref{eq6} we obtain
\begin{equation}
\begin{aligned}
&\Big|\frac{x_2-(\lambda_1+\lambda_3)x_1+\lambda_1\lambda_3x_0
 -\sum_{j=1}^nf_{-j}\lambda^{j-1}_2}{\lambda_2^n(\lambda_2-\lambda_1)
 (\lambda_2-\lambda_3)}\Big|\\
&=\Big|\frac{\sum_{j=n+1}^\infty f_{-j}\lambda^{j-1-n}_2}{(\lambda_2-\lambda_1)
(\lambda_2-\lambda_3)}\Big|
\le\frac{\|f\|_\infty}{|(\lambda_2-\lambda_1)(\lambda_2-\lambda_3)|(1-|\lambda_2|)}<\infty.
\end{aligned}\label{d6}
\end{equation}

If \eqref{d1} were not hold, then from \eqref{eq6}, \eqref{lm}, \eqref{s3}, \eqref{d5} and \eqref{d6} we would have
$$
|x_{-n}|\asymp O\Big(\frac1{|\lambda_1|^n}\Big),
$$
which would contradict the boundedness of $(x_n)_{n\le 2}$.

Hence, \eqref{d1} holds, so by using it in the first addend from the right-hand
side of the equality in \eqref{eq6} we obtain
\begin{equation}
\begin{aligned}
&\Big|\frac{x_2-(\lambda_2+\lambda_3)x_1+\lambda_2\lambda_3x_0
 -\sum_{j=1}^nf_{-j}\lambda^{j-1}_1}{\lambda_1^n(\lambda_2-\lambda_1)(\lambda_3-\lambda_1)}\Big|\\
&=\Big|\frac{\sum_{j=n+1}^\infty f_{-j}\lambda^{j-1-n}_1}{(\lambda_2-\lambda_1)(\lambda_3-\lambda_1)}\Big|\\
&\le\frac{\|f\|_\infty}{|(\lambda_2-\lambda_1)(\lambda_3-\lambda_1)|(1-|\lambda_1|)}<\infty.
\end{aligned}\label{d7}
\end{equation}

Hence, if there is a bounded solution to \eqref{eq1} in this case, it is given by
\begin{equation}
x_{-n}=\frac{\sum_{j=n+1}^\infty f_{-j}\lambda^{j-1-n}_1}{(\lambda_1-\lambda_2)(\lambda_1-\lambda_3)}
+\frac{\sum_{j=n+1}^\infty f_{-j}\lambda^{j-1-n}_2}{(\lambda_2-\lambda_1)(\lambda_2-\lambda_3)}
+\frac{\sum_{j=n+1}^\infty f_{-j}\lambda^{j-1-n}_3}{(\lambda_3-\lambda_1)(\lambda_3-\lambda_2)}.\label{s1}
\end{equation}
A direct calculation shows that \eqref{s1} is really a solution to \eqref{eq1}.
Moreover, since
$$
\Delta_1=
\begin{vmatrix}
\lambda_2\lambda_3 & -(\lambda_2+\lambda_3) & 1 \\
\lambda_3\lambda_1 & -(\lambda_3+\lambda_1) & 1 \\
\lambda_1\lambda_2 & -(\lambda_1+\lambda_2) & 1
\end{vmatrix}
=(\lambda_2-\lambda_1)(\lambda_3-\lambda_1)(\lambda_2-\lambda_3)\ne 0,
$$
we also see that three-dimensional system \eqref{d1}-\eqref{d3} has a
unique solution in variables $x_0$, $x_1$ and $x_2$.

Hence, the bounded solution to equation \eqref{eq1} on $\mathbb{Z}\setminus\mathbb{N}_3$,
is obtained for
\begin{gather}
x_0=\frac1{\Delta_1}
 \begin{vmatrix}
 \widetilde S_1 & -(\lambda_2+\lambda_3) & 1 \\
 \widetilde S_2 & -(\lambda_3+\lambda_1) & 1 \\
 \widetilde S_3 & -(\lambda_1+\lambda_2) & 1
 \end{vmatrix}, \label{iv2}\\
 x_1=\frac1{\Delta_1}
 \begin{vmatrix}
 \lambda_2\lambda_3 & \widetilde S_1 & 1 \\
 \lambda_3\lambda_1 & \widetilde S_2 & 1 \\
 \lambda_1\lambda_2 & \widetilde S_3 & 1 
 \end{vmatrix},\label{iv3}\\
 x_2=\frac1{\Delta_1}
 \begin{vmatrix}
 \lambda_2\lambda_3 & -(\lambda_2+\lambda_3) & \widetilde S_1 \\
 \lambda_3\lambda_1 & -(\lambda_3+\lambda_1) & \widetilde S_2 \\
 \lambda_1\lambda_2 & -(\lambda_1+\lambda_2) & \widetilde S_3 
 \end{vmatrix},\label{iv5}
\end{gather}
which completes the proof.
\end{proof}

Since the characteristic polynomial associated with \eqref{e0} has three 
different zeros, from Theorem \ref{thm7} we obtain the following corollary.

\begin{corollary} \label{coro3} 
 Consider equation \eqref{e1}. If $|q|<1$ and $(f_n)_{n\le -1}\subset\mathbb{C}$
 is a bounded sequence, then there is a unique bounded solution to the 
equation on domain $\mathbb{Z}\setminus\mathbb{N}_3$, which is given by
\begin{equation}
x_{-n}=\frac13\sum_{j=n}^\infty (1+\varepsilon^{j-n}+\bar\varepsilon^{j-n})
(\sqrt[3]{q})^{j-n}f_{-(j+3)},\quad n\ge -2.\label{s2}
\end{equation}
\end{corollary}

\begin{proof}
From the proof of Theorem \ref{thm7} we see that the bounded solution to  \eqref{e1} on the
domain $\mathbb{Z}\setminus\mathbb{N}_3$ is given by \eqref{s1} with
$\lambda_j=\varepsilon^{j-1}\sqrt[3]{q}$, $j=\overline{1,3}$. From this, by using \eqref{ve}, 
and by some calculation formula \eqref{s2} is obtained.
\end{proof}

From Theorems \ref{thm1} and \ref{thm2}, and Corollaries 
\ref{coro2} and \ref{coro3}, we obtain the following result.

\begin{corollary} \label{coro4}
Consider equation \eqref{e1}. If $|q|\ne 1$ and $(f_n)_{n\in\mathbb{Z}}\subset\mathbb{C}$
is a bounded sequence. Then, the following statements are true.
\begin{itemize}
\item[(a)] There is a unique bounded solution to the equation on domain $\mathbb{Z}$.
\item[(b)] If $|q|>1$, then the bounded solution is obtained for the initial 
 values given in \eqref{iv1}.
\item[(c)] If $|q|<1$, then the bounded solution is obtained for the initial 
values given in \eqref{iv2}-\eqref{iv5}, with $\lambda_j=\sqrt[3]{q}\varepsilon^{j-1}$, 
$j=\overline{1,3}$.
\end{itemize}
\end{corollary}

Now we consider equation \eqref{em} on domain $\mathbb{Z}\setminus\mathbb{N}_3$ 
when the sequence $q_n$ is not constant.

\begin{theorem} \label{thm8} 
 Consider equation \eqref{em} on domain $\mathbb{Z}\setminus\mathbb{N}_3$.
Assume that the sequence $(q_n)_{n\le -1}$ satisfies
\begin{equation}
1<\hat a\le 1/q_{-n}\le \hat b,\quad n\in\mathbb{N},\label{a20xw}
\end{equation}
or
\begin{equation}
-\hat b\le 1/q_{-n}\le -\hat a<-1,\quad n\in\mathbb{N},\label{a20axw}
\end{equation}
for some positive numbers $\hat a$ and $\hat b$, and that $(f_n)_{n\le -1}$
is a bounded sequence of complex numbers.
Then the difference equation has a unique bounded solution on the domain.
\end{theorem}

\begin{proof} 
We prove the theorem when \eqref{a20xw} holds. The case \eqref{a20axw} 
is treated similarly, so its proof is omitted.

Let $q$ be a positive number such that
\begin{equation}
1/q\in\big(\max\{\hat a,(\hat b+1)/2\}, \hat b).\label{a21aw}
\end{equation}
Write equation \eqref{em} in the  form
$$
x_{-(n+3)}-\frac{x_{-n}}q=\Big(\frac1{q_{-(n+3)}}-\frac1q\Big)x_{-n}
-\frac{f_{-(n+3)}}{q_{-(n+3)}},\quad n\ge -2.
$$
Let $A$ be an operator defined on $l^\infty$, as follows
$$
A(u)=\Big(\frac13\sum_{k=n}^\infty(1+\varepsilon^{k-n}+\bar\varepsilon^{k-n})(\sqrt[3]{q})^{k-n+3}
\Big(\frac{f_{-(k+3)}}{q_{-(k+3)}}-\Big(\frac1{q_{-(k+3)}}
-\frac1q\Big)u_{-k}\Big)\Big)_{n\in\mathbb{N}_0}.
$$
Assume that $u\in l^\infty$. 
\newpage 

Then, we have
\begin{align*}
&\|A(u)\|_\infty \\
&=\sup_{n\in\mathbb{N}_0}\Big|\sum_{k=n}^\infty\frac{(1+\varepsilon^{k-n}
 +\bar\varepsilon^{k-n})}3(\sqrt[3]{q})^{k-n+3}\Big(\frac{f_{-(k+3)}}{q_{-(k+3)}}
 -\Big(\frac1{q_{-(k+3)}}-\frac1q\Big)u_{-k}\Big)\Big|\\
&\le\sup_{n\in\mathbb{N}_0}\sum_{k=n}^\infty\Big(\Big(\frac1{q_{-(k+3)}}
 +\frac1q\Big)|u_{-k}|+\big|\frac{f_{-(k+3)}}{q_{-(k+3)}}\big|\Big)
|\sqrt[3]{q}|^{k-n+3}\\
&\le\frac{(q\hat b+1)\|u\|_\infty+q\hat b\|f\|_\infty }{1-|\sqrt[3]{q}|}
<\infty,
\end{align*}
which means that $A(u)\in l^\infty$.

If $u,v\in l^\infty$, then
\begin{equation}
\begin{aligned}
&\|A(u)-A(v)\|_\infty \\
&=\sup_{n\in\mathbb{N}_0}\Big|\sum_{k=n}^\infty\frac{(1+\varepsilon^{k-n}
 +\bar\varepsilon^{k-n})}3(\sqrt[3]{q})^{k-n+3}\Big(\frac1{q_{-(k+3)}}
 -\frac1q\Big)(v_{-k}-u_{-k})\Big|\\
&=\sup_{n\in\mathbb{N}_0}\Big|\sum_{j=0}^\infty(\sqrt[3]{q})^{3j+3}
 \Big(\frac1{q_{-(n+3j)}}-\frac1q\Big)(u_{-(n+3j)}-v_{-(n+3j)})\Big|\\
&\le \frac{\max\{q^{-1}-\hat a,\hat b-q^{-1}\}}{q^{-1}-1}
 \|u-v\|_\infty
=\hat q_1\|u-v\|_\infty.
\end{aligned}\label{a18w}
\end{equation}
From \eqref{a21aw} and since $\hat a>1$, we have $\hat q_1\in(0,1)$.
 Hence, operator $A$ is a contraction on $l^\infty$.

By the contraction mapping principle it follows that $A$ has a unique 
fixed point, say $\hat{x}^*=(\hat{x}_{-n}^*)_{n\ge-2}\in l^\infty$. Hence, it must be
\begin{equation}
 \hat{x}_{-n}^*=\frac13\sum_{k=n}^\infty(1+\varepsilon^{k-n}+\bar\varepsilon^{k-n})(\sqrt[3]{q})^{k-n+3}
\Big(\frac{f_{-(k+3)}}{q_{-(k+3)}}-\Big(\frac1{q_{-(k+3)}}
-\frac1q\Big)\hat{x}_{-k}^*\Big),\label{a19xw}
\end{equation}
for every $n\ge-2$.

It is easy to verify that \eqref{a19xw} is a solution to \eqref{em}, 
so that such obtained $\hat{x}^*$ is its unique (bounded) solution.
\end{proof}

From Theorems \ref{thm3} and \ref{thm8}, we obtain the following result.

\begin{corollary} \label{coro5}
 Consider equation \eqref{em} on $\mathbb{Z}$, where one of conditions \eqref{a20}
and \eqref{a20a}, and one of conditions \eqref{a20xw} and \eqref{a20axw} hold, 
and where $(f_n)_{n\in\mathbb{Z}}$ is a bounded sequence of complex numbers.
Then the equation has a unique bounded solution on the domain.
\end{corollary}


\subsection{A natural extension to equation \eqref{em}} 
The  linear difference equation
\begin{equation} x_{n+4}-q_nx_n=f_n,\quad n\in\mathbb{N}_0,\label{e3}\end{equation}
is the fourth-order cousin of the equations in \eqref{em0} and \eqref{em}.
The results regarding equation \eqref{e3} which correspond to above mentioned
ones can be formulated and proved similarly. Here we want to mention
only one of them which corresponds to Proposition \ref{prop1}.
The result can be proved by using the same method but is technically more
complicated than the one of Proposition \ref{prop1}.
\newpage

\begin{proposition} \label{prop4} 
 Consider the equation
\begin{equation}
x_{n+4}-qx_n=f_n,\quad n\in\mathbb{N}_0,\label{e1x}
\end{equation}
where $q\in\mathbb{C}\setminus\{0\}$, and $(f_n)_{n\in\mathbb{N}_0}\subset\mathbb{C}$.
Then the general solution to the equation is given by
\begin{equation}
\begin{aligned}
x_n=&(\sqrt[4]{q})^n\Big(a_0+\sum_{k=0}^{n-1}\frac{f_k}{4(\sqrt[4]{q})^{k+4}}\Big)
+(-\sqrt[4]{q})^n\Big(b_0+\sum_{k=0}^{n-1}\frac{(-1)^kf_k}{4(\sqrt[4]{q})^{k+4}}\Big)\\
&\quad +(\sqrt[4]{q}i)^n\Big(c_0+\sum_{k=0}^{n-1}
 \frac{(-i)^kf_k}{4(\sqrt[4]{q})^{k+4}}\Big)
+(-\sqrt[4]{q}i)^n\Big(d_0+\sum_{k=0}^{n-1}\frac{i^kf_k}{4(\sqrt[4]{q})^{k+4}}\Big),
\end{aligned}\label{a9x}
\end{equation}
for $n\in\mathbb{N}_0$, where $a_0$, $b_0$, $c_0$ and $d_0$ are arbitrary complex numbers,
and $\sqrt[4]{q}$ is one of the four possible fourth roots of $q$.
\end{proposition}

Because of the mentioned similarity, the formulations and proofs of the 
other corresponding results concerning difference equations \eqref{e3} 
and \eqref{e1x} are left to the interested reader as some exercises.

Based on above presented results and corollaries, given remarks and conducted 
detailed analyses and calculations, we strongly believe that the methods and 
ideas in this paper can be applied for proving the corresponding results 
for the general difference equation
\begin{equation} 
x_{n+k}-q_nx_n=f_n,\label{emk}
\end{equation}
where $k\in\mathbb{N}$, and $q_n$ and $f_n$ are given sequences satisfying the
corresponding conditions. However, there are several technical difficulties
which request some much more involved calculations and more complex formulas,
which, at the moment, prevent us to give complete proofs of the
corresponding results for the case of general difference equation in \eqref{emk}.
Hence, we leave the problem for a further investigation.

It is also highly expected that some other difference equations and systems 
of difference equations can be studied by using some modifications of the 
above combination of solvability methods and the contraction mapping principle, 
which should be a general problem of some interest.


\subsection*{Acknowledgements} 
The work of Bratislav Iri\v{c}anin was supported by
the Serbian Ministry of Education and Science projects III 41025
and OI 171007. The work of Zde\v nek \v Smarda was supported by the 
project FEKT-S-17-4225 of Brno University of Technology.


\begin{thebibliography}{00}

\bibitem{ra} R.~P.~Agarwal; 
\emph{Difference Equations and Inequalities: Theory, Methods, and Applications}
 2nd Edition, Marcel Dekker Inc., New York, Basel, 2000.

\bibitem{am1} A.~Andruch-Sobilo, M.~Migda;
 Further properties of the rational recursive sequence 
$x_{n+1}=ax_{n-1}/(b+cx_nx_{n-1})$, \emph{Opuscula Math.}, \textbf{26} (3) (2006),
387-394.

\bibitem{aa} M.~D.~A\v si\'c, D.~D.~Adamovi\'c;
 Limit points of sequences in metric spaces,
 \emph{Amer. Math. Monthly}, \textbf{77} (6) (1970), 613-616.

\bibitem{sb} S.~Banach;
Sur les op\'erations dans les ensembles abstraits et leur application aux 
\'equations int\'egrales, \emph{Fund. Math.}, \textbf{3} (1922), 133-181.

\bibitem{bb} L.~Berezansky, E.~Braverman;
 On impulsive Beverton-Holt difference equations and their applications,
 \emph{J. Differ. Equations Appl.}, \textbf{10} (9) (2004), 851-868.

\bibitem{bms} L.~Berezansky, M.~Migda, E.~Schmeidel;
 Some stability conditions for scalar Volterra difference equations,
 \emph{Opuscula Math.}, \textbf{36} (4) (2016), 459-470.

\bibitem{amc218-sde} L.~Berg, S.~Stevi\' c;
 On some systems of difference equations; \emph{Appl. Math. Comput.}, 
\textbf{218} (2011), 1713-1718.

\bibitem{lb} L.~Brand; \emph{Differential and Difference Equations}, 
John Wiley $\&$ Sons, Inc. New York, 1966.

\bibitem{ds} J.~Diblik, E.~Schmeidel;
 On the existence of solutions of linear Volterra difference equations
asymptotically equivalent to a given sequence,
 \emph{Appl. Math. Comput.}, \textbf{218} (2012) 9310-9320.

\bibitem{dsr} J.~Diblik, E.~Schmeidel, M.~Ru\v zi\v{c}kov\'a;
 Asymptotically periodic solutions of Volterra system of difference
equations, \emph{Comput. Math. Appl.}, \textbf{59} (2010) 2854-2867.

\bibitem{dp} A.~Drozdowicz, J.~Popenda;
 Asymptotic behavior of the solutions of the second order difference equation,
 \emph{Proc. Amer. Math. Soc.}, \textbf{99} (1) (1987), 135-140.

\bibitem{f} D.~K.~Faddeyev;
\emph{Lectures on Algebra}, Nauka, Moscow, 1984 (in Russian).

\bibitem{amc215-854} B.~Iri\v{c}anin, S.~Stevi\' c;
 Eventually constant solutions of a rational difference
equation; \emph{Appl. Math. Comput.}, \textbf{215} (2009), 854-856.

\bibitem{j} C.~Jordan; 
\emph{Calculus of Finite Differences}, Chelsea Publishing Company, New York, 1956.

\bibitem{k} V.~A.~Krechmar; 
\emph{A Problem Book in Algebra}, Mir Publishers, Moscow, 1974.

\bibitem{ll} H.~Levy and F.~Lessman; 
\emph{Finite Difference Equations}, Dover Publications, Inc., New York, 1992.

\bibitem{mj} J.~Migda;
Mezocontinuous operators and solutions of difference equations, 
\emph{Electron. J. Qual. Theory Differ. Equ.}, Vol. 2016, 
Article No. 11, (2016), 16 pages.

\bibitem{mm} J.~Migda, M.~Migda;
Asymptotic behavior of solutions of discrete Volterra equations,
 \emph{Opuscula Math.}, \textbf{36} (2) (2016), 265-278.

\bibitem{ma} D.~S.~Mitrinovi\'c, D.~D.~Adamovi\'c; 
\emph{Sequences and Series}, Nau\v{c}na Knjiga, Beograd, 1980 (in Serbian).

\bibitem{mk} D.~S.~Mitrinovi\'c, J.~D.~Ke\v{c}ki\'c;
\emph{Methods for Calculating Finite Sums}, Nau\v{c}na Knjiga, Beograd, 1984 (in
Serbian).

\bibitem{pst2} G.~Papaschinopoulos, G.~Stefanidou;
 Asymptotic behavior of the solutions of a class of rational difference equations, 
\emph{Inter. J. Difference Equations}, \textbf{5} (2) (2010), 233-249.

\bibitem{ps} G.~Polya und G.~Szeg\" o; 
\emph{Aufgaben und lehrs\" atze aus der analysis}, 
Verlag von Julius Springer, Berlin 1925.

\bibitem{rv} V.~D.~Radulescu;
 Nonlinear elliptic equations with variable exponent: old and new,
\emph{Nonlinear Anal.}, \textbf{121} (2015), 336-369.

\bibitem{es} E.~Schmeidel;
 An application of measures of noncompactness in the investigation of
boundedness of solutions of second-order neutral difference equations,
 \emph{Adv. Difference Equ.} Vol. 2013, Article No. 91, (2013), 9 pages.

\bibitem{amc218-hde} S.~Stevi\'c;
 On the difference equation $x_n=x_{n-k}/(b+cx_{n-1}\cdots x_{n-k})$, 
\emph{Appl. Math. Comput.}, \textbf{218} (2012), 6291-6296.

\bibitem{ana1} S.~Stevi\'c;
 Solvable subclasses of a class of nonlinear second-order difference equations, 
\emph{Adv. Nonlinear Anal.}, \textbf{5} (2) (2016), 147-165.

\bibitem{ade-bpsfodce} S.~Stevi\'c;
 Bounded and periodic solutions to the linear first-order difference equation 
on the integer domain, \emph{Adv. Difference Equ.},
 Vol. 2017, Article No. 283, (2017), 17 pages.

\bibitem{ade2017-exbsdce} S.~Stevi\'c; 
Existence of a unique bounded solution to a linear second order difference 
equation and the linear first order difference equation,
 \emph{Adv. Difference Equ.}, Vol. 2017, Article No. 169, (2017), 13 pages.

\bibitem{ana2} S.~Stevi\'c;
 Solvability of a product-type system of difference equations with six parameters,
\emph{Adv. Nonlinear Anal.} Published online in December 2016, 
DOI: https://doi.org/10.1515/ anona-2016-0145.

\bibitem{541761} S.~Stevi\'c, J.~Diblik, B.~Iri\v{c}anin, Z.~\v Smarda;
 On some solvable difference equations and systems of difference equations,
 \emph{Abstr. Appl. Anal.} Vol. 2012, Article ID 541761, (2012), 11 pages.

\bibitem{409237} S.~Stevi\'c, J.~Diblik, B.~Iri\v{c}anin, Z.~\v Smarda;
 On the difference equation $x_n=a_nx_{n-k}/(b_n+c_nx_{n-1}\cdots x_{n-k})$,
 \emph{Abstr. Appl. Anal.} Vol. 2012, Article ID 409237, (2012), 19 pages.

\bibitem{108047} S.~Stevi\'c, J.~Diblik, B.~Iri\v{c}anin, Z.~\v Smarda;
On the difference equation $x_{n+1}=x_nx_{n-k}/(x_{n-k+1}(a+bx_nx_{n-k}))$,
 \emph{Abstr. Appl. Anal.}, Vol. 2012, Article ID 108047, (2012), 9 pages.

\end{thebibliography}

\end{document}
