Short version
I have a series of results that sit within clear upper and lower bounds relative to the starting value. I do not know how to find those bounds (and thus the width of the band). I would like answers that will help me find them.
Long version
I have been doing some recreation mathematics. I found a fun set of rules and wrote a script to get me all the answers for integers from 1 to whatever number I asked for. I had these values save to a database as the larger numbers were a bit intensive to work out.
The next step I took was to export my answers to CSV and imported them into a spreadsheet. I add a column where I took the derived value from the original integer. I then charted the results. Which is when I spotted the pattern. All the answers lay on a straight line plus or minus some value.
I pulled a bigger sample and did the same again:
As you can see, I am very confident that the results fall within two bounds on a straight line. How do I calculate the width of the line?



Let $M_t$ and $m_t$ be respectively the upper and the lower bounds and $X_t$ be the data at the date $t$.
For $t$ going from $1$ to $T$, you can compute $$M_t = \max_{1\leq s\leq t}X_t\,\quad m_t = \min_{1\leq s \leq t}\{X_t, X_t\notin \{m_1,m_2,\dots,m_{t-1} \}\}$$