Background
I recently came up with an algorithm which creates patterns.
Consider the famous sequence of the primes. They have considerable amount of "structure" but no "obvious pattern". I will illustrate "row math" making a pattern emerge with the example of primes:
Row math
\begin{equation} 2,3,5,7,11,13,17,19,23,\dots \end{equation}
Now we will take the modulus/absolute difference of every element with its adjacent neighbor. \begin{equation} 2,3,5,7,11,13,17,19,\dots \end{equation} \begin{equation} 1,2,2,4,2,4,2,\dots \end{equation}
Now we will take the difference (not the absolute difference) of the $2$'nd row with the first:
\begin{equation} 2,3,5,7,11,13,17,19,\dots \end{equation} \begin{equation} 1,2,2,4,2,4,2,\dots \end{equation} \begin{equation} 1,1,3,3,9,9,15,\dots \end{equation}
Again now we repeat the process of taking the absolute difference between adjacent neighbors:
\begin{equation} 2,3,5,7,11,13,17,19,\dots \end{equation} \begin{equation} 1,2,2,4,2,4,2,\dots \end{equation} \begin{equation} 1,1,3,3,9,9,15,\dots \end{equation} \begin{equation} 0,2,0,6,0,6,\dots \end{equation}
Again now we take the difference between this foremost row and the one preceding it:
\begin{equation} 2,3,5,7,11,13,17,19,\dots \end{equation} \begin{equation} 1,2,2,4,2,4,2,\dots \end{equation} \begin{equation} 1,1,3,3,9,9,15,\dots \end{equation} \begin{equation} 0,2,0,6,0,6,\dots \end{equation}
Alternating between these two procedures indefinitely on sees a pattern emerge:
\begin{equation} 2,3,5,7,11,13,17,19,\dots \end{equation} \begin{equation} 1,2,2,4,2,4,2,\dots \end{equation} \begin{equation} 1,\textbf{1},3,3,9,9,15,\dots \end{equation} \begin{equation} 0,\textbf{2},0,6,0,6,\dots \end{equation} \begin{equation} \textbf{1},\textbf{-1},3,-3,9,3,\dots \end{equation} \begin{equation} \textbf{2},\textbf{4},6,12,6,\dots \end{equation} \begin{equation} \textbf{-1},\textbf{-5},-3,-15,3,\dots \end{equation} \begin{equation} \textbf{4},\textbf{2},12,18,\dots \end{equation} \begin{equation} \textbf{-5},\textbf{-7},-15,-33,\dots \end{equation} \begin{equation} \textbf{2},\textbf{8},18,\dots \end{equation} \begin{equation} \textbf{-7},\textbf{-15},10,\dots \end{equation} \begin{equation} \textbf{8},\textbf{25},\dots \end{equation} \begin{equation} \textbf{-15},-40,\dots \end{equation} \begin{equation} \textbf{25},\dots \end{equation}
We note that in the number $1$ in bold in rowrepeats again in row. Similarly we see the bold $2$ repeats in another row. And so on for every bold number. Hence, as a pattern has emerged the sequence contains structure.
Algebraic Representation
The above manipulations can also be represented algebraically using a nilpotent matrix. Consider the following example of primes, again. But first some definitions:
Let $x = 1 - \epsilon $ where 1 represents the identity matrix and epsilon is a nilpotent matrix such that $\epsilon^2 = 0$. We define $y$ satisfying the properties: $ xy =1$ and $x^\lambda + y^\lambda = 2$ for any $\lambda$ being an integer.
\begin{equation} K = s x^2 + s^2 x^3 + s^3 x^5 + \dots \end{equation}
Multiplying $s$ both sides we get:
\begin{equation} Ks = 0+ s^2 x^2 + s^3 x^3 + s^4 x^5 + \dots \end{equation}
Subtracting the equations one gets:
\begin{equation} K(s-1) = -s x^2 + s^2 x^2(1-x) + s^3 x^3(1-x^2 ) + \dots \end{equation}
Note in the above procedure this is quite similar to taking absolute difference between the primes. Now, using $x^\lambda + y^\lambda = 2$:
\begin{equation} K(s-1) = -s x^2 + s^2 x^2(y-1) + s^3 x^3(y^2-1 ) + \dots \end{equation}
Defining $K_1$ as a sequence with only positive coefficients: $K_1 = s x^2 + s^2 x^2 + s^3 x^3 + \dots$ and using $ xy =1$. Hence,
\begin{equation} K(s-1) + K_1 = s^2 x + s^3 x + \dots \end{equation}
Note the above step is similar to subtraction between rows!
Hence, we can represent all the manipulations algebraically!
=
Questions
What are some non random sequences row math does not make a pattern emerge (I've tried it for Fibonacci, geometric, etc)? And a pattern emerges everytime (for some reason). Why does a pattern emerge to begin with?



It looks to me like your method always produces this pattern.
Here is a list of random integers between 1 and 10, and the result of your procedure:
$$ \begin{array}{cccccccccc} 10 & 7 & 8 & 5 & 10 & 8 & 5 & 3 & 3 & 1 \\ 3 & 1 & 3 & 5 & 2 & 3 & 2 & 0 & 2 & \text{} \\ 7 & 6 & 5 & 0 & 8 & 5 & 3 & 3 & 1 & \text{} \\ 1 & 1 & 5 & 8 & 3 & 2 & 0 & 2 & \text{} & \text{} \\ 6 & 5 & 0 & -8 & 5 & 3 & 3 & 1 & \text{} & \text{} \\ 1 & 5 & 8 & 13 & 2 & 0 & 2 & \text{} & \text{} & \text{} \\ 5 & 0 & -8 & -21 & 3 & 3 & 1 & \text{} & \text{} & \text{} \\ 5 & 8 & 13 & 24 & 0 & 2 & \text{} & \text{} & \text{} & \text{} \\ 0 & -8 & -21 & -45 & 3 & 1 & \text{} & \text{} & \text{} & \text{} \\ 8 & 13 & 24 & 48 & 2 & \text{} & \text{} & \text{} & \text{} & \text{} \\ -8 & -21 & -45 & -93 & 1 & \text{} & \text{} & \text{} & \text{} & \text{} \\ 13 & 24 & 48 & 94 & \text{} & \text{} & \text{} & \text{} & \text{} & \text{} \\ -21 & -45 & -93 & -187 & \text{} & \text{} & \text{} & \text{} & \text{} & \text{} \\ 24 & 48 & 94 & \text{} & \text{} & \text{} & \text{} & \text{} & \text{} & \text{} \\ -45 & -93 & -187 & \text{} & \text{} & \text{} & \text{} & \text{} & \text{} & \text{} \\ 48 & 94 & \text{} & \text{} & \text{} & \text{} & \text{} & \text{} & \text{} & \text{} \\ -93 & -187 & \text{} & \text{} & \text{} & \text{} & \text{} & \text{} & \text{} & \text{} \\ 94 & \text{} & \text{} & \text{} & \text{} & \text{} & \text{} & \text{} & \text{} & \text{} \\ -187 & \text{} & \text{} & \text{} & \text{} & \text{} & \text{} & \text{} & \text{} & \text{} \\ \end{array} $$