998d5650224cd1ca.tex
1: \begin{abstract}
2: We prove that the stable image of an endomorphism of a virtually free group is computable. For an endomorphism $\varphi$, an element $x\in G$ and a subset $K\subseteq G$, we say that the relative $\varphi$-order of $g$ in $K$, $\ord_K(g)$, is the smallest nonnegative integer $k$ such that $g\varphi^k\in K$. We prove that the set of orders, which we call $\varphi$-spectrum, is computable in two extreme cases: when $K$ is a finite subset and when $K$ is a recognizable subset. The finite case is proved for virtually free groups and the recognizable case for finitely presented groups. The case of finitely generated virtually abelian groups and some variations of the problem are also discussed.
3: \end{abstract}
4: