Decidability for repeated-root order-two linear recurrence sequences

Determine whether the first-order theory of \(\langle\mathbb{N};0,1,<,+,U\rangle\), where \(U=\{u_n:n\in\mathbb{N}\}\cap\mathbb{N}\) and \(u_n=(\alpha+\beta n)\rho^n\) is an integer order-two linear recurrence sequence with a repeated real characteristic root, is decidable, excluding cases in which \(U\) is finite or forms an arithmetic or geometric progression.

Background

Order-two integer linear recurrence sequences with a repeated real characteristic root correspond to discriminant D=0D=0 and have the form un=(α+βn)ρnu_n=(\alpha+\beta n)\rho^n. The paper explains that the other order-two cases are either decidable or, under the paper’s hypotheses, undecidable. The repeated-root case therefore constitutes the remaining unresolved case, with un=n2nu_n=n2^n given as a concrete example.

References

In this case, $u_n = (\alpha+\beta n) \rhon$, and to the best of our knowledge, decidability of the first-order theory of $M$ (excluding the trivial cases where $U$ is finite or forms an arithmetic/geometric progression) is open.

Rich Sequences and Decidability of Arithmetic Theories  (2609.20415 - Karimov et al., 17 Sep 2026) in Section 1, A close look at LRS of order two

Does $M$ define multiplication?

Rich Sequences and Decidability of Arithmetic Theories  (2609.20415 - Karimov et al., 17 Sep 2026) in Problem for future work in Section 7, Discussion