Positivity problem for linear recurrences

Still openEvidence checked

Subjects: Algorithms and data structures · Computational complexity · Logic and computation · Analysis and dynamics

Collections: Limits of computation · Linear recurrences

Reading depth

The problem

Start with 0 and 1. Make each next number by doubling the latest number and subtracting the one before it. This gives 0, 1, 2, 3, 4, and so on; here every number is nonnegative.

For any rule of this kind, with fixed integer weights and finitely many starting integers, can a program always decide whether every number it will ever produce is nonnegative? Checking a long initial list alone does not answer a question about all future steps.[1]

Scope

Integer initial values and fixed integer recurrence coefficients; arbitrary finite recurrence order. Every term, including the initial segment, must be nonnegative.

What remains open

No decision method is known for arbitrary order.[2]

Why it matters

A program can repeatedly update numbers by a fixed linear rule and continue only while a chosen quantity stays nonnegative. Knowing whether that quantity ever becomes negative can decide whether this particular loop stops. The question connects a compact arithmetic rule with the behavior of an unbounded computation.[1] [2]

Definitions

3 terms
linear recurrence

An infinite sequence whose terms satisfy a fixed linear relation with finitely many previous terms, together with specified initial values. The coefficients in this target are fixed integers, not functions of the step number.[1] [2]

recurrence order

The smallest number of preceding positions needed in a linear recurrence relation for the sequence. Results for a bounded order do not by themselves decide inputs of arbitrary order.[1] [2]

Ultimate Positivity

The question whether all terms from some index onward are nonnegative. A negative initial term can make Positivity false while Ultimate Positivity is true; results for the latter do not automatically settle the former.[2]

Sources

  1. Positivity Problems for Reversible Linear Recurrence Sequences George Kenison, Joris Nieuwveld, Joël Ouaknine and James Worrell · 2023-07-05
    Notes on Positivity Problems for Reversible Linear Recurrence Sequences

    Published paper defines integer Positivity and establishes restricted reversible-recurrence cases.

  2. A Survey of the Skolem and Positivity Problems for Linear Recurrence Sequences Piotr Bacik, Toghrul Karimov, Florian Luca, Joris Nieuwveld, Joël Ouaknine, David Purser and James Worrell · 2026-07-26
    Notes on A Survey of the Skolem and Positivity Problems for Linear Recurrence Sequences

    Submitted author manuscript distinguishes Positivity, Ultimate Positivity and known order restrictions.

Related problems

Suggest a correction