I was working on a problem that consisted of deciding if the language a finite automaton (the alphabet of which is $\{0,1\}$ and the words accepted are binary encoded positive integers) contains an infinite arithmetic progression, and I bumped into the following problem:
Say we have a finite bases set $B$ of natural numbers and a finite set of tuples $T=\{(m_1, a_1), \dots, (m_t, a_t)\}$ with $m_i \in \mathbb{N}^+$ and $a_i \in \mathbb{N}$ for all $i\in\{1,\dots, t\}$, can we decide if the following set $S$ contains an infinite arithmetic progression: $$S_0 = B$$ $$S_{i+1} = S_i \cup \big\{ s \mid s = n * m_j + a_j \text{ for some } n \in S_i, 1 \leq j \leq t\big\}$$ $$S = \bigcup_{j\in\mathbb{N}} S_j$$
Edit2: This is a decision problem and goes like this: For given finite $B$ and $T$, can we decide whether $S$ contains an infinite arithmetic progression? And if we can, how?
Any ideas are appreciated :)
Edit1: I don’t know if it makes the problem more interesting or easier but I actually have an additional constraint: For each $i$, $m_i$ is a power of $2$ and $a_i < m_i$.