1: \begin{abstract}
2: Let $S=\{s_{n}\}$ be an increasing finite or infinite subset of
3: $\mathbb N \bigcup \{0\}$ and $X(S)$ the $S$-gap shift associated
4: to $S$. Let $f_{S}(x)=1-\sum\frac{1}{x^{s_{n}+1}}$ be the entropy
5: function which will be vanished at $2^{h(X(S))}$ where $h(X(S))$ is the entropy of the system. Suppose
6: $X(S)$ is
7: sofic with adjacency matrix $A$ and the characteristic
8: polynomial $\chi_{A}$. Then for some rational function $ Q_{S} $,
9: $\chi_{A}(x)=Q_{S}(x)f_{S}(x)$. This $ Q_{S} $ will be explicitly determined. We will show that $\zeta(t)=\frac{1}{f_{S}(t^{-1})}$ or
10: $\zeta(t)=\frac{1}{(1-t)f_{S}(t^{-1})}$ when $|S|<\infty$ or
11: $|S|=\infty$ respectively. Here $\zeta$ is the zeta function of
12: $X(S)$. We will also compute the Bowen-Franks groups of a sofic
13: $S$-gap shift.
14: \end{abstract}
15: