\documentclass[12pt,reqno]{article}

\usepackage[usenames]{color}
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{amsthm}
\usepackage{amsfonts}
\usepackage{amscd}
\usepackage{graphicx}

\usepackage[colorlinks=true,
linkcolor=webgreen,
filecolor=webbrown,
citecolor=webgreen]{hyperref}

\definecolor{webgreen}{rgb}{0,.5,0}
\definecolor{webbrown}{rgb}{.6,0,0}

\usepackage{color}
\usepackage{fullpage}
\usepackage{float}

\usepackage{psfig}
\usepackage{graphics}
\usepackage{latexsym}
\usepackage{epsf}
\usepackage{breakurl}

\setlength{\textwidth}{6.5in}
\setlength{\oddsidemargin}{.1in}
\setlength{\evensidemargin}{.1in}
\setlength{\topmargin}{-.1in}
\setlength{\textheight}{8.4in}

\newcommand{\seqnum}[1]{\href{https://oeis.org/#1}{\rm \underline{#1}}}
\usepackage{caption}
\usepackage{subcaption}

\begin{document}

\begin{center}
\includegraphics[width=4in]{logo129.eps}
\end{center}

\theoremstyle{plain}
\newtheorem{theorem}{Theorem}
\newtheorem{corollary}[theorem]{Corollary}
\newtheorem{lemma}[theorem]{Lemma}
\newtheorem{proposition}[theorem]{Proposition}

\theoremstyle{definition}
\newtheorem{definition}[theorem]{Definition}
\newtheorem{example}[theorem]{Example}
\newtheorem{conjecture}[theorem]{Conjecture}

\theoremstyle{remark}
\newtheorem{remark}[theorem]{Remark}
\newtheorem{notation}[theorem]{Notation}

\newcommand{\tth}{{\text{th}}}
\newcommand{\st}{{\text{st}}}
\newcommand{\nth}{n^\tth}
\newcommand{\rth}{r^\tth}
\newcommand{\mth}{m^\tth}
\newcommand{\kth}{k^\tth}
\newcommand{\corref}[1]{Corollary~\ref{#1}}
\newcommand{\twolmref}[2]{Lemmas~\ref{#1}~and~\ref{#2}}
\newcommand{\thmref}[1]{Theorem~\ref{#1}}
\newcommand{\propref}[1]{Proposition~\ref{#1}}
\newcommand{\twopropref}[2]{Propositions~\ref{#1}~and~\ref{#2}}
\newcommand{\threepropref}[3]{Propositions~\ref{#1},~\ref{#2}~and~\ref{#3}}
\newcommand{\lemref}[1]{Lemma~\ref{#1}}
\newcommand{\twodefref}[2]{Definitions~\ref{#1}~and~\ref{#2}}
\newcommand{\figref}[1]{Fig.~\ref{#1}}
\newcommand{\consecfigref}[2]{Figs.~\ref{#1}--\ref{#2}}
\newcommand{\twofigref}[2]{Figures~\ref{#1}~and~\ref{#2}}
\newcommand{\Eqref}[1]{Eq.~(\ref{#1})}
\newcommand{\twoeqorref}[2]{Eq.~(\ref{#1})~or~(\ref{#2})}
\newcommand{\twoeqnorref}[2]{Eqs.~(\ref{#1})~nor~(\ref{#2})}
\newcommand{\twoeqref}[2]{Eqs.~(\ref{#1})~and~(\ref{#2})}
\newcommand{\conseceqref}[2]{Eqs.~(\ref{#1})--(\ref{#2})}
\newcommand{\tabref}[1]{Table~\ref{#1}}
\newcommand{\secref}[1]{Section~\ref{#1}}
\newcommand{\exref}[1]{Example~\ref{#1}}
\newcommand{\twoexref}[2]{Examples~\ref{#1}~and~\ref{#2}}
\newcommand{\consecexref}[2]{Examples~\ref{#1}--\ref{#2}}
\newcommand{\bbZ}{\mathbb{Z}}
\newcommand{\bbN}{\mathbb{N}}
\newcommand{\dsum}{\displaystyle\sum}
\newcommand{\grt}{T(c,d,d_1,d_2)}
\renewcommand{\labelenumii}{{\normalfont \alph{enumii}.}}
\renewcommand{\arraystretch}{1.5}
\everymath{\displaystyle}

\begin{center}
\vskip 1cm{\LARGE\bf 
Generalized Rascal Triangles
}
\vskip 1cm
\large
Philip K. Hotchkiss\\
Mathematics Department\\
Westfield State University\\
Westfield, MA 01086\\
USA\\
\href{mailto:photchkiss@westfield.ma.edu}{\tt photchkiss@westfield.ma.edu}
\end{center}

\vskip .2 in

\begin{abstract}
The ``rascal triangle'' was introduced by three middle school students
in 2010. In this paper we describe number triangles that are
generalizations of the rascal triangle, and show that these generalized
rascal triangles are characterized by arithmetic sequences on all
diagonals, as well as rascal-like multiplication and addition rules.
\end{abstract}

\section{Introduction}\label{Sect:Intro}

In 2010, three middle school students---A. Anggaro, E. Liu, and A. Tulloch \cite{ALT}---were asked to determine the next row of numbers in the following triangular array:
	\begin{figure}[H]
		\centering
		\includegraphics[scale=0.75]{RascalTriStart.pdf}
		\caption{A triangular array.}\label{Fi:RasTriStart}
	\end{figure}
\noindent Instead of providing the expected answer
	\begin{center}
		1\qquad 4\qquad 6\qquad 4\qquad 1
	\end{center}
 from Pascal's triangle (sequence \seqnum{A007318} in the 
 {\it On-Line Encyclopedia of Integer Sequences} (OEIS) \cite{S}), they produced the row
	\begin{center}
		1\qquad 4\qquad 5\qquad 4\qquad 1.
	\end{center}
They did this by using the rule that the outside numbers are 1s and the inside numbers are determined by the {\bf diamond formula}
	\begin{equation*}\label{Eq:ALT}
		\mathbf{ South} = \dfrac{\mathbf{East}\cdot \mathbf{West} + 1}{\mathbf{North}}
	\end{equation*}
where {\bf North}, {\bf South}, {\bf East}, and {\bf West} form a diamond in the triangular array as in \figref{Fi:nsew}.
	\begin{figure}[H]
		\centering
		\includegraphics[scale=0.675]{NSEW.pdf}
		\caption{{\bf North}, {\bf South}, {\bf East}, and {\bf West} entries in a triangular array.}\label{Fi:nsew}
	\end{figure}	
Continuing with this rule Anggaro, Liu, and Tulloch created a number triangle they called the {\it rascal triangle} (sequence \seqnum{A077028} in the OEIS).
	\begin{figure}[H]
		\centering
		\includegraphics[scale=0.5]{RascalTriangle.pdf}
		\caption{The first nine rows of the rascal triangle.}\label{Fi:RasTri}
	\end{figure}
Because the diamond formula involves division, their instructor challenged Anggaro, Liu, and Tulloch to prove that their formula would always result in an integer.  They did this by observing that the diagonals running from right to left in the rascal triangle formed arithmetic sequences whose constant differences increased by one as they moved from one diagonal to the next, as illustrated in \tabref{T:4rastridiags} below. 
	\begin{table}[H]
		\centering
		\begin{tabular}{l l}
			First diagonal: & $1,1,1,1,\dots$\\
			Second diagonal: & $1,2,3,4,\dots$\\
			Third diagonal: & $1,3,5,7,\dots$\\
			Fourth diagonal: & $1,4,7,10,\dots$
		\end{tabular}
		\caption{The first four diagonals of the rascal triangle:  sequences \seqnum{A000012}, \seqnum{A000027}, \seqnum{A005408}, and \seqnum{A016777} in the OEIS.}\label{T:4rastridiags}
	\end{table}
In particular Anggaro, Liu, and Tulloch recognized that the $\kth$ entry on the $\rth$ diagonal running from right to left is given by $1+rk$, where $r=0$ corresponds to the outside diagonal consisting of all 1s, and $k=0$ corresponds to the first entry on each diagonal.  Thus in any diamond as in \figref{Fi:nsew}, if {\bf South} = $1+rk$, then {\bf East} = $1+r(k-1)$, {\bf West} = $1+(r-1)k$, and {\bf North} = $1+(r-1)(k-1)$.
\begin{figure}[H]
	\centering
	\includegraphics[scale=0.675]{NSEW2.pdf}
	\caption{Algebraic Representation of \textbf{North}, \textbf{East}, \textbf{West}, and \textbf{South}.}\label{Fi:NSEWReps}  
\end{figure}
A straightforward calculation then verifies that
	\begin{equation*}
		\mathbf{South} = \dfrac{\mathbf{East}\cdot \mathbf{West} + 1}{\mathbf{North}}.
	\end{equation*}
In the spring 2015 semester a mathematics for liberal arts class taught by my colleague, Julian Fleron, discovered that the rascal triangle can also be generated by the rule that the outside numbers are 1s and the inside numbers are determined by the formula
	\begin{equation*}\label{Eq:JFclass}
		\mathbf{South} = \mathbf{East}+ \mathbf{West} -\mathbf{North} + 1.
	\end{equation*}	
This formula also follows from the arithmetic sequences along the diagonals \cite{JF}.  Thus, the rascal triangle has the property that for any diamond as in \figref{Fi:nsew}, the {\bf South} entry satisfies two equations: 
	\begin{align}
		\mathbf{South} &= \dfrac{\mathbf{East}\cdot \mathbf{West} + 1}{\mathbf{North}},\label{eq:RasForm1}\\
		\mathbf{South} &= \mathbf{East}+ \mathbf{West} -\mathbf{North} + 1.\label{eq:RasForm2}
	\end{align}	
The fact that both \twoeqref{eq:RasForm1}{eq:RasForm2} can be used to generate the rascal triangle was intriguing to me, and I assumed that the rascal triangle was uniquely defined by either one of the two equations; and so I began trying to prove that \Eqref{eq:RasForm2} implied \Eqref{eq:RasForm1} or vice versa.  In addition, I followed Fleron's lead and had some of my mathematics for liberal arts classes look for patterns in the rascal triangle, and to my delight they also made some original discoveries \cite{H}.  During the following summer, while exploring the patterns found by my students, I realized that there were other number triangles for which one equation held for the interior entries but the other did not, as will be shown below.   This led me to the realization that there was a larger class of number triangles, of which the rascal triangle was but one example.

This paper is organized as follows. In \secref{S:MExGRTs} we look at some illustrative examples and define generalized rascal triangles.  In \secref{S:GRTProps} we show that generalized rascal triangles are characterized by the existence of modifications of both \twoeqref{eq:RasForm1}{eq:RasForm2}.  In \secref{Ss:grtpatterns} we conclude with proofs of some properties of generalized rascal triangles, including several discovered by my students.

\section{Motivating examples and generalized rascal triangles}\label{S:MExGRTs}

Throughout this paper we will use the following conventions.
\begin{definition}
	For any number triangle, the diagonals running from right to left will be called the \emph{major} diagonals while the diagonals running from left to right will be called the \emph{minor} diagonals.
\end{definition}
	\begin{figure}[H]
		\centering
		\begin{subfigure}[b]{0.2\textwidth}
			\includegraphics[width=0.675\textwidth]{majordiagonals.pdf}
			\subcaption{major diagonals.}\label{Fi:majord}
		\end{subfigure}
		\hskip0.5in
		\begin{subfigure}[b]{0.2\textwidth}
			\includegraphics[width=0.675\textwidth]{minordiagonals.pdf}
			\subcaption{Minor diagonals.}\label{Fi:minord}
		\end{subfigure}
	\end{figure}	
We begin by looking at several examples of number triangles that motivated my exploration, and eventual definition, of generalized rascal triangles.
\begin{example}\label{ex1} 
	One of the first number triangles I created was the number triangle $T$ in \figref{Fi:GenRasTri3} (sequence \seqnum{A309555} in the OEIS) where the outside numbers are 3s and I used \Eqref{eq:RasForm2} to find the interior numbers. 
		\begin{figure}[H]
			\centering
			\includegraphics[scale=0.675]{GenRasTri3_6Rows.pdf}
			\caption{The first six rows of $T$.}\label{Fi:GenRasTri3}
		\end{figure}
	\noindent This triangle is a ``translation" of the rascal triangle, in that every entry in $T$ is 2 more than the corresponding entry in the rascal triangle.  At this point I had begun to suspect that there were number triangles other than the rascal triangle that satisfied both \twoeqref{eq:RasForm1}{eq:RasForm2} so I expected that the interior numbers of $T$ would also satisfy \Eqref{eq:RasForm1}, and was surprised to discover that they did not.  However, I soon realized that they did satisfy a modified version of \Eqref{eq:RasForm1}:
	\begin{equation*}
		\mathbf{South} = \dfrac{\mathbf{West}\cdot \mathbf{East} + 3}{\mathbf{North}}.
	\end{equation*}
\end{example}
\begin{example}\label{ex2} 
	Soon thereafter I created the number triangle $S$ in \figref{Fi:GenRasTri5} (sequence \seqnum{A309557} in the OEIS) where the outside major diagonal is the sequence $2,5,8,11,\dots$ (sequence \seqnum{A016789} in the OEIS), the outside minor diagonal is the sequence $2,3,4,5,\dots$ (sequence \seqnum{A000027} in the OEIS), and this time I used \Eqref{eq:RasForm1} to find the interior numbers. 
		\begin{figure}[H]
			\centering
			\includegraphics[scale=0.675]{GenRasTri5_6Rows.pdf}
			\caption{The first six rows of $S$.}\label{Fi:GenRasTri5}
		\end{figure}
	\noindent I now correctly suspected the interior numbers would not satisfy \Eqref{eq:RasForm2}, but quickly observed that they did satisfy the modified version:
	\begin{equation*}
		\mathbf{South} = \mathbf{West} + \mathbf{East} + 2 - \mathbf{North}.
	\end{equation*}
\end{example}
Further explorations with number triangles initially suggested to me that if the interior numbers of a number triangle satisfied a modified version of one of \twoeqorref{eq:RasForm1}{eq:RasForm2} then they also satisfied a modification of the other, as in \exref{ex3}.
\begin{example}\label{ex3} 
	Let $W$ be the number triangle in \figref{Fi:GenRasTri1} (sequence \seqnum{A332790} in the OEIS).
		\begin{figure}[H]
			\centering
			\includegraphics[scale=0.675]{GenRasTri1_6Rows.pdf}
			\caption{The first six rows of $W$.}\label{Fi:GenRasTri1}
		\end{figure}
	\noindent The outside major diagonal is the sequence $1,3,5,7,\dots$  (sequence \seqnum{A005408} in the OEIS), the outside minor diagonal is the sequence $1,4,7,10,\dots$ (sequence \seqnum{A016777} in the OEIS), and interior numbers satisfy neither \twoeqnorref{eq:RasForm1}{eq:RasForm2}.  However, there are modifications of both equations that work for all interior numbers,
		\begin{equation*}
			\mathbf{South} = \mathbf{West} + \mathbf{East} + 5 - \mathbf{North}
		\end{equation*}
and
		\begin{equation*}
			\mathbf{South} =\dfrac{\mathbf{West}\cdot \mathbf{East} -1}{\mathbf{North}}.
		\end{equation*}
\end{example}
I subsequently discovered that it is possible for the interior numbers in a number triangle satisfy one of \twoeqorref{eq:RasForm1}{eq:RasForm2} but no modification of the other as illustrated in \twoexref{ex4}{ex5} below.
\begin{example}\label{ex4} 
	Let $U$ be the number triangle in \figref{Fi:NumTri1} (sequence \seqnum{A309559} in the OEIS) where the outside major diagonal is the sequence $1,2,3,4,\dots$) (sequence \seqnum{A000027} in the OEIS), the outside minor diagonal is the sequence $1,2,4,7,\dots$ (sequence \seqnum{A000124} in the OEIS), and the interior numbers were generated using \Eqref{eq:RasForm2}.
		\begin{figure}[H]
			\centering
			\includegraphics[scale=0.675]{NumTri1_6Rows.pdf}
			\caption{The first six rows of $U$.}\label{Fi:NumTri1}
		\end{figure}
	\noindent In this case there is no modification of \Eqref{eq:RasForm1} that works for all interior numbers.  To see this, consider the two diamonds in \figref{Fi:NumTri1Diamonds}.
	\begin{figure}[H]
		\centering
		\includegraphics[scale=0.675]{BadDiamonds.pdf}
		\caption{Different diamonds in $U$.}\label{Fi:NumTri1Diamonds}
	\end{figure}
	\noindent For the diamond on the left, the modification of \Eqref{eq:RasForm1} would need to be
		\begin{equation*}
			\mathbf{South} =\dfrac{\mathbf{West}\cdot \mathbf{East} + 0}{\mathbf{North}}
		\end{equation*}
while for the diamond on the right, the modification of \Eqref{eq:RasForm1} would need to be
		\begin{equation*}
			\mathbf{South} =\dfrac{\mathbf{West}\cdot \mathbf{East} -5}{\mathbf{North}}.
		\end{equation*}
\end{example}	
\begin{example}\label{ex5} 
	Let $V$ be the number triangle in \figref{Fi:NumTri2} (sequence \seqnum{A332963} in the OEIS) in which the outside diagonals are the alternating sequence $1,2,1,2,\dots$ (sequence \seqnum{A000034} in the OEIS) and the interior numbers were generated by \Eqref{eq:RasForm1}.
		\begin{figure}[H]
			\centering
			\includegraphics[scale=0.675]{NumTri2_6Rows.pdf}
			\caption{The first six rows of $V$. }\label{Fi:NumTri2}
		\end{figure}
	\noindent Here there is no modification of \Eqref{eq:RasForm2} that works for all interior numbers.  To see this, consider the two diamonds in \figref{Fi:NumTri2Diamonds}.
	\begin{figure}[H]
		\centering
		\includegraphics[scale=0.675]{BadDiamonds2.pdf}
		\caption{Different diamonds in $V$.}\label{Fi:NumTri2Diamonds}
	\end{figure}
	\noindent For the diamond on the left, the modification of \Eqref{eq:RasForm2} would need to be
		\begin{equation*}
			\mathbf{South} =\mathbf{West}+ \mathbf{East} -1 - \mathbf{North}
		\end{equation*}
while for the diamond on the right, the modification of \Eqref{eq:RasForm2} would need to be
		\begin{equation*}
			\mathbf{South} =\mathbf{West}+ \mathbf{East} -2 - \mathbf{North}.
		\end{equation*}
\end{example}	
Note that for $T$, $S$, and $W$ all the major and minor diagonals are arithmetic sequences and the interior numbers satisfy equations similar to \twoeqref{eq:RasForm1}{eq:RasForm2}.  Whereas in $U$, some of the diagonals are not arithmetic sequences and although the interior entries in $U$ satisfy \Eqref{eq:RasForm2}, there is no modification of \Eqref{eq:RasForm1} that will work for all of the interior entries.  While in $V$\!, none of the diagonals are arithmetic sequences and although the interior entries in $V$ satisfy \Eqref{eq:RasForm1} there is no modification of \Eqref{eq:RasForm2} that will work for all of the interior entries.    This suggests that for number triangles with arithmetic sequences on both the major and minor diagonals, the interior numbers satisfy two equations of the form \twoeqref{eq:RasForm1}{eq:RasForm2}.  This motivates \twodefref{grtdef}{rascallikeops} below. 
\begin{notation}
For a number triangle $T$ we will use $T_{r,k}$ to denote the $\kth$ entry on the $\rth$ major diagonal with $r=0$ corresponding to the outside major diagonal and $k=0$ corresponding to the first entry on each major diagonal.  With this notation, $T_{0,0}$ corresponds to the top number of $T$.  Note that on the minor diagonals, $T_{r,k}$ denotes the $\rth$ entry on the $\kth$ minor diagonal with $k=0$ corresponding to the outside minor diagonal on the right and $r=0$ corresponding to the first entry on each minor diagonal.   
\end{notation}
\begin{definition}\label{grtdef}
Let $c,d,d_1,d_2 \in \bbZ$. A number triangle $T$ is called a \emph{generalized rascal triangle} if  
	\begin{equation}
		T_{r,k} = c + kd_1 + rd_2 + rkd\label{eq:GenRasEq}
	\end{equation} 
for all $r,k\geq 0$.  We will write $\grt$ for the generalized rascal triangle determined by the constants $c,d,d_1,d_2$.
\end{definition}
In a generalized rascal triangle $\grt$ we have that $c=T_{0,0}$, the top entry, $d_1=T_{0,k+1}-T_{0,k}$, the arithmetic difference along the outside major diagonal, $d_2=T_{k+1,0}-T_{k,0}$, the arithmetic difference along the outside minor diagonal, and 
	\begin{equation*}d=(T_{r+1,k+1}-T_{r+1,k})-(T_{r,k+1}-T_{r,k}) = (T_{r+1,k+1}-T_{r,k+1})-(T_{r+1,k}-T_{r,k}),\end{equation*} 
the change in the arithmetic differences as we move from one major diagonal to the next or move from one minor diagonal to the next.  In particular, the $\rth$ major diagonal is the arithmetic sequence
	\begin{equation}
		M_r(k) = (c+rd_2) + k(d_1+rd)\label{eq:majorarthseq}
	\end{equation}
and the $\kth$ minor diagonal is the arithmetic sequence
	\begin{equation}
		m_k(r) = (c+kd_1) + r(d_2+kd).\label{eq:minorarthseq}
	\end{equation}

We now generalize \twoeqref{eq:RasForm1}{eq:RasForm2}.
\begin{definition}\label{rascallikeops}
	Let $d, D \in \bbZ$ and let $T$ be a number triangle.  If the interior numbers satisfy the equation
	\begin{equation}
		T_{r,k} = \dfrac{T_{r-1,k}\cdot T_{r,k-1} + D}{T_{r-1,k-1}}\label{eq:rascalmult}
	\end{equation}
we call this a \emph{rascal-like multiplication rule} with multiplicative constant $D$; and if the interior numbers satisfy
	\begin{equation}
		T_{r,k} = T_{r-1,k} + T_{r,k-1} + d - T_{r-1,k-1}\label{eq:rascaladd}
	\end{equation}
that will be called a \emph{rascal-like addition rule} with additive constant $d$.
\end{definition}
\begin{example}\label{ex:RasTri}
	The generalized rascal triangle $T(1,1,0,0)$, which is defined by the equation
		\begin{equation*}T_{r,k} = 1 + 0k + 0r + rk = 1+rk,\end{equation*}
	has a constant sequence of 1s on the outside diagonals, and the arithmetic differences increase by 1 as we move from one major (resp., minor) diagonal to the next. This is, of course, the rascal triangle (sequence \seqnum{A077028} in the OEIS).
	\begin{figure}[H]
		\centering
		\includegraphics[scale=0.675]{RascalTriangle.pdf}
		\caption{The first nine rows of the rascal triangle.}\label{Fi:RasTri2}
	\end{figure}
	We will denote this triangle by $R$, and its equation by $R_{r,k}=1+rk$.  As was mentioned earlier, the interior numbers satisfy both the rascal-addition rule
		\begin{equation*}
			R_{r,k} = R_{r-1,k} + R_{r, k-1} + 1 - R_{r-1,k-1},
		\end{equation*}
and the rascal-multiplication rule
		\begin{equation*}
			R_{r,k} = \dfrac{R_{r-1,k}\cdot R_{r,k-1} +1}{R_{r-1,k-1}}.
		\end{equation*}
\end{example}
\begin{example}\label{ex:GenRasTri1}
	The generalized rascal triangle $T(2,2,3,1)$, is the number triangle determined by the equation 
		\begin{equation*}T_{r,k} = 2 +3k + r + 2rk.\end{equation*} 
	This number triangle has a top entry of $c=2$, the outside major diagonal has an arithmetic difference of $d_1=3$ which gives the arithmetic sequence $2, 5, 8, 11,\dots$ (sequence \seqnum{A016789} in the OEIS), and the outside minor diagonal has an arithmetic difference of $d_2=1$, which gives the arithmetic sequence $2,3,4,5,\dots$ (sequence \seqnum{A000027} in the OEIS). Moreover, the arithmetic differences change by $d=2$ as we move from one major (resp., minor) diagonal to the next. This results in the number triangle $S$ from \exref{ex2} (sequence \seqnum{A309557} in the OEIS).  
		\begin{figure}[H]
			\centering
			\includegraphics[scale=0.675]{GenRasTri5_6Rows.pdf}
			\caption{The first six rows of $S=T(2,2,3,1)$.}\label{Fi:GenRasTri6}
		\end{figure}	
	The rascal-like addition rule for $S$ is 
	\begin{equation*}
		T_{r,k} = T_{r-1,k} + T_{r, k-1} + 2 - T_{r-1,k-1}
	\end{equation*}
and the rascal-like multiplication rule for $S$ is
	\begin{equation*}
		T_{r,k} = \dfrac{T_{r-1,k}\cdot T_{r,k-1} +1}{T_{r-1,k-1}}.
	\end{equation*}
\end{example}

\section{Addition and multiplication rules for generalized rascal triangles}\label{S:GRTProps}

It is easy to show that every generalized rascal triangle has a rascal-like addition rule \eqref{eq:rascaladd}, and a rascal-like multiplication rule \eqref{eq:rascalmult} (see \propref{prop:GRTAdd} below). My initial (naive) assumption was that if a number triangle $T$ had a rascal-like addition or rascal-like multiplication rule, it was a generalized rascal triangle. However, as illustrated in \twoexref{ex4}{ex5} above, the existence of just a rascal-like addition rule or just a rascal-like multiplication rule for the interior numbers is not sufficient for a number triangle to be a generalized rascal triangle.    Nevertheless, as we will show below, if the outside major and minor diagonals are arithmetic sequences, then the existence of either a rascal-like addition rule or a rascal-like multiplication rule for the interior numbers is both necessary and sufficient for a number triangle to be a generalized rascal triangle.

We begin with two lemmas whose proofs are left to the reader.
\begin{lemma}\label{L:constantrk}
	Let $T$ be a number triangle. If $T_{r,k}$ is on the $\nth$ row,  then $r+k=n$. (See \figref{Fi:rown}.) 
\end{lemma}
	\begin{figure}[H]
		\centering
		\includegraphics[scale=0.675]{row_n2.pdf}
		\caption{Row $n$.}\label{Fi:rown}
	\end{figure}
\begin{lemma}\label{linElinWequalslinSlinN}
	Let $c, d_1, d_2, r, k, d \in \bbZ$.  Then 
		\begin{align*}
			\Big(c &+ (k-1)d_1+ rd_2  + r(k-1)d\Big)\Big(c  + kd_1+ (r-1)d_2 + (r-1)kd\Big) +cd-d_1d_2\\
			&= \Big(c+kd_1+rd_2+rkd\Big)\Big(c + (k-1)d_1 + (r-1)d_2 + (r-1)(k-1)d\Big).
		\end{align*}
\end{lemma}
We first show that generalized rascal triangles satisfy rascal-like addition and rascal-like multiplication rules.
\begin{proposition}\label{prop:GRTAdd}
	Let $c, d, d_1, d_2 \in \bbZ$ and $\grt$ be the associated generalized rascal triangle.  Then for $r,k\geq 1$
		\begin{equation*}
			T_{r,k} = T_{r,k-1} + T_{r-1,k} + d - T_{r-1,k-1}
		\end{equation*}
and whenever $T_{r-1,k-1}\ne 0$
		\begin{equation*}
			T_{r,k} = \dfrac{T_{r,k-1}\cdot T_{r-1,k} + D}{T_{r-1,k-1}}
		\end{equation*}
	where $D=cd-d_1d_2$.
\end{proposition}
\begin{proof}
	Since $T$ is a generalized rascal triangle, $T_{r,k} = c+kd_1+rd_2+rkd$.  Thus, when $r,k\geq 1$
		\begin{align*}
			&T_{r,k-1} + T_{r-1,k} + d - T_{r-1,k-1} = (c+(k-1)d_1+rd_2+r(k-1)d)\\ 
			&\phantom{=} + (c+kd_1+(r-1)d_2+(r-1)kd) + d\\ 
			&\phantom{=}\ - (c+(k-1)d_1+(r-1)d_2+(r-1)(k-1)d)\\
			&= c+ kd_1 + rd_2 + r(k-1)d + (r-1)kd + d - (r-1)(k-1)d\\
			&= c+ kd_1 + rd_2 + rkd - rd + rkd - kd + d -rkd + rd + kd - d\\
			&= c+kd_1+rd_2+rkd\\ 
			&= T_{r,k}.
		\end{align*}
To show that $T$ has a rascal-like multiplication rule, let $D=cd-d_1d_2$ and suppose $r,k\geq 1$. Then by \lemref{linElinWequalslinSlinN}
		\begin{align*}
			&T_{r-1,k}\cdot T_{r,k-1} + D = \Big(c+(k-1)d_1+rd_2+r(k-1)d\Big)\Big (c+kd_1+(r-1)d_2+(r-1)kd\Big)\\ 
			&\phantom{=} + cd-d_1d_2\\
			&=  \Big(c+kd_1+rd_2+rkd\Big)\Big(c + (k-1)d_1 + (r-1)d_2 + (r-1)(k-1)d\Big)\\
			&=T_{r,k}T_{r-1,k-1}.
		\end{align*}
Thus, when $T_{r-1,k-1}\ne 0$
		\begin{equation*}
			T_{r,k} = \dfrac{T_{r-1,k}\cdot T_{r,k-1} + D}{T_{r-1,k-1}}.
		\end{equation*}
\end{proof}
Note that the additive constant $d$ for the rascal-like addition rule is the same as the $d$ in the definition of the generalized rascal triangle.

We now prove that a number triangle that has arithmetic sequences on the outside diagonals and satisfies either a rascal-like addition rule or a rascal-like multiplication rule for the interior numbers must be a generalized rascal triangle.  
\begin{proposition}\label{addequalsgrt}
Let $d_1, d_2, d\in \bbZ$ and $T$ be a number triangle with $T_{r,0} = T_{0,0} + rd_2$, $T_{0,k} = T_{0,0} + kd_1$, and  $T_{r,k} = T_{r,k-1}+ T_{r-1,k} + d - T_{r-1,k-1}$. Then there exists a constant $c\in \bbZ$ such that $T=\grt$.
\end{proposition}
\begin{proof}
	Let $c=T_{0,0}$.  To show that $T=\grt$, we first note that 
	\begin{equation*}
		T_{r,0} = c + rd_2 = c+ 0d_1 + rd_2 + r\cdot 0 d
	\end{equation*}
and
	\begin{equation*}
		T_{0,k} = c + kd_1 = c + kd_1 + 0d_2 + 0\cdot kd,
	\end{equation*}
so on the exterior diagonals, $T_{r,k} = c + kd_1+rd_2 +rkd$.  For the interior numbers $T_{r,k}$ with $r,k\geq 1$, we prove that $T_{r,k} = c kd_1 + rd_2 +rkd$ by induction on the row number $n$ for $n\geq 2$. Note that we start with $n=2$ since the rows $n=0$ and $n=1$ have no interior numbers.  

For the case $n=2$ note that by \lemref{L:constantrk} we have that $n=r+k$ for each entry $T_{r,k}$ on the $\nth$ row; so suppose $r, k \in \bbN$ with $r+k=2$.  Since $r,k \geq 1,\ r+k=2$ means $r=1$ and $k=1$ and so $T_{r,k-1} = T_{1,0} = c+ d_2$, $T_{r-1,k} = T_{0,1} = c+d_1$, and $T_{r-1,k-1}=T_{0,0}=c$.  Since
	\begin{equation*}
		T_{1,1}=T_{0,1}+T_{1,0} +d - T_{0,0}
	\end{equation*}
we have
	\begin{equation*}
		T_{1,1} = c+d_1 + c+d_2 + d - c = c+d_1+d_2 + d.
	\end{equation*}

Now inductively suppose that whenever $r, k \in\bbN$ with $2\leq r+k \leq n-1$, we have that $T_{r,k} = c+kd_1+rd_2+rkd$. Then for $r+k=n$ we have $(r-1) + k = n-1$ and $r+(k-1) = n-1$. Using the addition rule and the induction hypothesis we get that
	\begin{align*}
		T_{r,k} &= T_{r,k-1}+ T_{r-1,k} + d - T_{r-1,k-1}\\
			&= \big(c + (k-1)d_1 + rd_2 + r(k-1)d\big) + \big(c + kd_1 + (r-1)d_2 + (r-1)kd\big) + d\\ 
			&\phantom{=} - \big(c + (k-1)d_1 + (r-1)d_2 + (r-1)(k-1)d\big)\\
			&=c +kd_1+rd_2 + rkd.
	\end{align*}
Thus, $T_{r,k} = c + kd_1+rd_2 +rkd$ for $r,k\geq 0$, and so $T$ is the generalized rascal triangle $\grt$.
\end{proof}
\begin{proposition}\label{multequalsgrt}
Let $D, d_1,d_2 \in \bbZ$ and $T$ be a number triangle with $T_{r,0} = T_{0,0} + rd_2$, $T_{0,k} = T_{0,0} + kd_1$, $T_{r,k} \ne 0$ for all $r,k \geq 0$ and  $T_{r,k} = \dfrac{T_{r,k-1}\cdot T_{r-1,k} + D}{T_{r-1,k-1}}$. Then there exist constants $c,d\in \bbZ$ such that $T=\grt$ and $D=cd-d_1d_2$.
\end{proposition}

Note that since we are assuming all the interior numbers satisfy a rascal-like multiplication rule, we require that $T_{r,k}\ne 0$ for all $r,k\geq 0$.
\begin{proof} We first determine the constants $c$ and $d$ and establish the relation $D=cd-d_1d_2$. Let $c=T_{0,0}$ and $d=T_{1,1}-T_{0,1}-T_{1,0} + T_{0,0}$.  Next note that since $T$ has a rascal-like multiplication rule, we have that 
	\begin{equation*}
		T_{1,1} = \dfrac{T_{1,0}\cdot T_{0,1} + D}{T_{0,0}}
	\end{equation*}
which means
	\begin{equation*}
		T_{0,0}\cdot T_{1,1} = T_{1,0}\cdot T_{0,1} + D.
	\end{equation*}
Moreover because $T_{r,k}\ne 0$ for all $r,k \geq 0$, we have that $c = T_{0,0}\ne 0$ and so
	\begin{align*}
		d &= \dfrac{dT_{0,0}}{T_{0,0}}\\
		&= \dfrac{T_{0,0}(T_{1,1}-T_{0,1}-T_{1,0}+T_{0,0})}{T_{0,0}}\\
		&= \dfrac{T_{0,0}\cdot T_{1,1} - T_{0,0}\cdot T_{0,1} - T_{0,0}\cdot T_{1,0} + T_{0,0}^2}{T_{0,0}}\\
		&= \dfrac{(T_{0,1}\cdot T_{1,0} + D) - T_{0,0}\cdot T_{0,1} - T_{0,0}\cdot T_{1,0} + T_{0,0}^2}{T_{0,0}}\\
		&= \dfrac{D + (T_{0,1}\cdot T_{1,0} - T_{0,0}\cdot T_{0,1} - T_{0,0}\cdot T_{1,0} + T_{0,0}^2)}{T_{0,0}}\\
		&= \dfrac{D+ (T_{0,1}-T_{0,0})(T_{1,0}-T_{0,0})}{T_{0,0}}\\
		&= \dfrac{D+ d_1d_2}{c}.
	\end{align*}
Thus,
		\begin{equation*}
			D = cd - d_1d_2.
		\end{equation*}

To prove that $T=\grt$, we first note that 
	\begin{equation*}
		T_{r,0} = c + rd_2 = c+ 0d_1 + rd_2 + r\cdot 0 d
	\end{equation*}
and
	\begin{equation*}
		T_{0,k} = c + kd_1 = c + kd_1 + 0d_2 + 0\cdot kd,
	\end{equation*}
so on the exterior diagonals, $T_{r,k} = c + kd_1+rd_2 +rkd$.  For the interior numbers $T_{r,k}$ with $r,k\geq 1$, we prove $T_{r,k} = c kd_1 + rd_2 +rkd$ by induction on the row number $n$ for $n\geq 2$. Note that we start with $n=2$ since the rows $n=0$ and $n=1$ have no interior numbers.  

For the case $n=2$ note that by \lemref{L:constantrk} we have that $n=r+k$ for each entry $T_{r,k}$ on the $\nth$ row; so suppose $r, k \in \bbN$ with $r+k=2$.  Since $r,k \geq 1,\ r+k=2$ means $r=1$ and $k=1$ and so $T_{r,k-1} = T_{1,0} = c+ d_2$, $T_{r-1,k} = T_{0,1} = c+d_1$, and $T_{r-1,k-1}=T_{0,0}=c$.  Since
	\begin{equation*}
		d = T_{1,1}-T_{0,1}-T_{1,0} + T_{0,0},
	\end{equation*}
we have
	\begin{equation*}
		T_{1,1} = T_{0,1} + T_{1,0}-T_{0,0} + d= c + d_1 + d_2 + d.
	\end{equation*}

Now inductively suppose that whenever $r, k \in\bbN$ with $2\leq r+k \leq n-1$ we have that $T_{r,k} = c+kd_1+rd_2+rkd$. Then for $r+k=n$ we have $(r-1) + k = n-1$ and $r+(k-1) = n-1$. Using the multiplication rule, the induction hypothesis, and  \lemref{linElinWequalslinSlinN} we have that
	\begin{align*}
		T_{r,k} &= \dfrac{T_{r,k-1}\cdot T_{r-1,k} + D}{T_{r-1,k-1}}\\
		&= \dfrac{(c + (k-1)d_1 + rd_2 + r(k-1)d)(c + kd_1 + (r-1)d_2 + (r-1)kd) +cd-d_1d_2}{(c + (k-1)d_1 + (r-1)d_2 + (r-1)(k-1)d)}\\
		&= \dfrac{(c+kd_1+rd_2+rkd)(c + (k-1)d_1 + (r-1)d_2 + (r-1)(k-1)d)}{(c + (k-1)d_1 + (r-1)d_2 + (r-1)(k-1)d)}\\
		&= c+kd_1+rd_2+rkd.\label{eq:Trkeq}
	\end{align*}
Thus, $T_{r,k} = c + kd_1+rd_2 +rkd$ for $r,k\geq 0$, and so $T$ is the generalized rascal triangle $\grt$.
\end{proof}
Combining \threepropref{prop:GRTAdd}{addequalsgrt}{multequalsgrt} gives us the following theorem:
\begin{theorem}\label{thm:GRTMultThm}
	Let $c, d, d_1, d_2 \in \bbZ$ and $T$ be a number triangle with the arithmetic sequences $T_{0,k} = c +kd_1$ and $T_{r,0} = c+rd_2$ on the exterior diagonals. Then $T$ is the generalized rascal triangle $T(c, d, d_1, d_2)$ and if and only if 
		\begin{align*}
			T_{r,k} &= c + kd_1+rd_2 +rkd,\\
			T_{r,k} &= T_{r,k-1} + T_{r-1,k} + d - T_{r-1,k-1},
		\end{align*}
and whenever $T_{r-1,k-1}\ne 0$
		\begin{equation*}
			T_{r,k} = \dfrac{T_{r-1,k}\cdot T_{r,k-1} + D}{ T_{r-1,k-1}}
		\end{equation*}
	where $D=cd-d_1d_2$.
\end{theorem}

We should note that generalized rascal triangles can contain entries that are zero. Since they have both a rascal-like addition and a rascal-like multiplication, we will, in general, use the rascal-like addition instead of the rascal-like multiplication.

\section{Properties of generalized rascal triangles}\label{Ss:grtpatterns}

\subsection{Arithmetic diagonals implies a generalized rascal triangle} As we observed in \twoeqref{eq:majorarthseq}{eq:minorarthseq}, if $c,d,d_1,d_2 \in \bbZ$, then one consequence of the definition of the generalized rascal triangle $T(c,d,d_1,d_2)$ is that all major and minor diagonals are arithmetic sequences.  Not surprisingly, the converse of this observation is true.  If all the major and minor diagonals of a number triangle $T$ are arithmetic sequences, then $T$ is a generalized rascal triangle.  

We start by showing that if all the diagonals of a number triangle are arithmetic sequences then the constant differences for these sequences change by a fixed amount as we move from one diagonal to the next.
\begin{lemma}\label{Lma:constdifffixedchange}
	Let $T$ be a number triangle with arithmetic sequences on all major and minor diagonals and let $M_r(k) = T_{r,0} + k\alpha_r$ and $m_k(r) = T_{0,k}+r\beta_k$ denote the arithmetic sequences on the major and minor diagonals respectively.   Then there exists a constant $d\in \bbZ$ such that $d=\alpha_r-\alpha_{r-1} = \beta_k-\beta_{k-1}$ for all $r,k \geq 1$. 
\end{lemma}
\begin{proof}
	 Since $T_{r,k} = M_r(k)=m_k(r)$, $T_{r,k} = T_{r,k-1} + \alpha_r = T_{r-1,k} + \beta_k\ \forall r,k\geq 1$. Let $r, k \geq 1$ be arbitrary.  Then, 
		\begin{align*}
			T_{r,k} &= T_{r,k-1} + \alpha_r = T_{r-1,k-1} + \beta_{k-1} + \alpha_r\\
				     &= T_{r-1,k} + \beta_k  = T_{r-1,k-1} + \alpha_{r-1} + \beta_k
		\end{align*}
which means
		\begin{equation*}
			\beta_{k-1}+ \alpha_r = \alpha_{r-1} + \beta_k,
		\end{equation*}
if and only if
		\begin{equation*}
			\alpha_r-\alpha_{r-1} = \beta_k-\beta_{k-1}.
		\end{equation*}
	Since this is true for all $r,k \geq 1$, if we let $d=\alpha_1-\alpha_0 = \beta_1-\beta_0$ we get that $d = \alpha_r-\alpha_{r-1}=\beta_k-\beta_{k-1}$ for all $r, k \geq 1$.
\end{proof}
\begin{proposition}
	Let $T$ be a number triangle with arithmetic sequences on all major and minor diagonals.  Then $T$ is a generalized rascal triangle.
\end{proposition}
\begin{proof}
 We must show that there exist constants $c,d, d_1,d_2\in \bbZ$ such that $T=T(c, d, d_1,d_2)$.  Let $c=T_{0,0}$, and let $M_r(k) = T_{r,0} + k\alpha_r$ and $m_k(r) = T_{0,k}+r\beta_k$ denote the arithmetic sequences on the major and minor diagonals respectively.  By \lemref{Lma:constdifffixedchange} there is a constant $d\in \bbZ$ so that $d=\alpha_r-\alpha_{r-1} = \beta_k-\beta_{k-1}$ for all $r,k \geq 1$. Let $d_1 = T_{1,0} - T_{0,0} = \alpha_0$ and $d_2= T_{0,1} - T_{0,0} = \beta_0$.  Then
	\begin{align*}
		T_{r,k} &= M_r(k) = T_{r,0} + k\alpha_r = m_0(r) + k\alpha_r = T_{0,0} + r\beta_0 + k\alpha_r\\
			     &= c + rd_2 + k(\alpha_{r-1} + d) = \cdots = c + rd_2 + k(\alpha_0 + rd)\\ 
			     &= c + rd_2 + kd_1 + rkd.
	\end{align*}
\end{proof}
\begin{example}
	Consider the number triangle $W$ (sequence \seqnum{A332790} in
	the OEIS) from \exref{ex3} in \secref{S:MExGRTs} (see \figref{Fi:GenRasTri1}). This number triangle has $c=1$ and arithmetic sequences on all diagonals.  The first three major diagonals in $W$ are the arithmetic sequences \seqnum{A005408}, \seqnum{A017029}, and \seqnum{A017605} in the OEIS.
		\begin{align*}
			1, 3, 5, 7,&\dots\\
			4, 11, 18, 25, &\dots\\
			7, 19, 31, 43, &\dots\\
			\phantom{7,19,}\vdots \phantom{, 43,} &\phantom{\dots}
		\end {align*}
Since the constant difference on the outside major diagonal is $2$, $d_1=2$.  
	
	The first three minor diagonals in $W$ are the arithmetic sequences \seqnum{A016777}, \seqnum{A017101}, and \seqnum{A154609} in the OEIS.
		\begin{align*}
			1, 4, 7, 10, &\dots\\
			3, 11, 19, 27, &\dots\\
			5, 18, 31, 44, &\dots\\
			\phantom{5,18,}\vdots \phantom{, 44,} &\phantom{\dots}
		\end{align*}
Since the constant difference on the outside minor diagonal is $3$, $d_2 = 3$.  
	
	Furthermore the differences for the arithmetic sequences change by 5 each time which means $d=5$ and so $T=T(1,5,2,3)$.  Thus,
		\begin{equation*}
			T_{r,k} = 1+3k+2r+5rk,
		\end{equation*}
and the rascal-like addition rule is
		\begin{equation*}
			T_{r,k} = T_{r-1,k} + T_{r,k-1} + 5 - T_{r-1,k-1}.
		\end{equation*}
For the rascal-like multiplication rule
		\begin{equation*}
			D=cd-d_1d_2 = 1\cdot 5 - 2\cdot 3 = -1,
		\end{equation*}
which means
		\begin{equation*}
			T_{r,k} = \dfrac{T_{r-1,k}\cdot T_{r,k-1} - 1}{T_{r-1,k-1}}
		\end{equation*}
	whenever, $T_{r-1,k-1}\ne 0$.
\end{example}

\subsection{Uniqueness of the rascal triangle} 

While we have seen that the rascal triangle is not the only number triangle that is generated by both a rascal-like multiplication rule and a rascal-like addition rule, the rascal triangle is unique in the sense that if $T$ is a generalized rascal triangle with $d=1$ and $c,d_1,d_2\in \bbZ$ with $D=cd-d_1d_2 = c-d_1d_2=1$, then $T$ sits inside the rascal triangle as a sub-triangle.
\begin{definition}
	A number triangle $T'$ is called a \emph{sub-triangle} of a number triangle $T$ if there exists $r_0,k_0 \in \bbN$ such that $T'_{r,k} = T_{r_0+r,k_0+k}$, as illustrated in \figref{Fi:SubTri}.
\end{definition}
\begin{figure}[H]
	\centering
	\includegraphics[scale=0.5]{SubTri.pdf}
	\caption{Sub-triangle $T'$ starting at $T_{r_0,k_0}$.}\label{Fi:SubTri}
\end{figure}
\begin{corollary}\label{Dequalsdequals1}
	Let $c,d_1,d_2 \in \bbZ$, such that $c-d_1d_2=1$ and let $T$ be the generalized rascal triangle $T(c,1,d_1,d_2)$.  Then $T$ is a sub-triangle of the rascal triangle $R$.
\end{corollary}
\begin{proof}
	We have $c=1+d_1d_2$, so $T_{0,0} = c=1+d_1d_2 = R_{d_1,d_2}$ and 
		\begin{align*}
			T_{r,k} &= c+kd_1 + rd_2 + rk\\
				&= 1+d_1d_2+ kd_1 + rd_2 + rk\\
				&=1+(d_1+r)(d_2+k)\\
				&=R_{d_1+r,d_2+k}.
		\end{align*}
	Thus $T$ is the sub-triangle of $R$ starting at $R_{d_1,d_2}$.
\end{proof}
\begin{definition} 
	A number triangle $T'$ is called a \emph{multiple} of a number triangle $T$ if there exists a constant $m$ such that for $r,k \geq 0$, $T'_{r,k} = mT_{r,k}$.
\end{definition}
	
The original rascal triangle $R$ corresponds to the generalized rascal triangle $T(1,1,0,0)$.  If we take $c=d$ and $d_1=d_2=0$, then $T(c,c,0,0)$ is a multiple of $R$.
\begin{corollary}\label{Cor:GRTequalscRT}
	Let $c\in \bbZ$ and let $T$ be the generalized rascal triangle $T(c,c,0,0)$.  Then $T=cR$.
\end{corollary}
The proof of this is left to the reader.	
\subsection{Student discovered properties in generalized rascal triangles.} Over several semesters, I challenged students in my mathematics for liberal arts classes to find patterns in the rascal triangle.  To my delight, they discovered several properties that, as far as I can tell, were unknown at the time \cite{H}.   Further investigations showed that these properties were also present in generalized rascal triangles;  we conclude by presenting proofs of several of these properties, as well as some others, for generalized rascal triangles.   

The first property about row sums, was discovered by Evan, who observed that the row sums in the rascal triangle $R=T(1,1,0,0)$ had constant third differences.  That is, they exhibited cubic growth.
\begin{proposition}
	Let $c,d,d_1,d_2\in\bbZ$ and $\grt$ be the associated generalized rascal triangle; then the row sum $s_n$ for the $\nth$ row is 
				\begin{equation*}
					s_n = \dfrac{d}6 n^3 + \left(\dfrac{d_1+d_2}2\right)n^2 + \left(c+\dfrac{d_1+d_2}2 - \dfrac{d}6\right)n +c.
				\end{equation*}
\end{proposition}
\begin{proof}
	Since $T$ is a generalized rascal triangle, $T_{r,k} = c+ kd_1 + rd_2 + rkd$.  By \lemref{L:constantrk} we have $k=n-r$ for every entry $T_{r,k}$ on the $\nth$ row. Thus
		\begin{align*}
			&s_n =\dsum_{r=0}^n (c+(n-r)d_1+rd_2 +r(n-r)d)\\
				&= \dsum_{r=0}^n c + \dsum_{r=0}^n n\,d_1 - \dsum_{r=0}^n d_1r + \dsum_{r=0}^n  d_2r + \dsum_{r=0}^n n\,d\,r - \dsum_{r=0}^n d\,r^2\\
				&= (n+1)c +(n^2+n)d_1 - \left(\dfrac{n^2+n}2\right)d_1 +\left(\dfrac{n^2+n}2\right)d_2 + \left(\dfrac{n^3+n^2}2\right)d\\
				&\phantom{=} - \left(\dfrac{2n^3+3n^2 + n}6\right)d\\
				&= \dfrac{d}6 n^3 + \left(\dfrac{d_1+d_2}2\right)n^2 + \left(c+\dfrac{d_1+d_2}2 - \dfrac{d}6\right)n +c.
		\end{align*}
\end{proof}
For the next patterns, we need the following definition.
\begin{definition}
	Let $T$ denote a number triangle. For $n\geq 1$, an $n$-\emph{diamond} in $T$ is the diamond whose sides are formed by the entries $T_{r,k}$ to $T_{r+n-1,k}$ on the $\kth$ minor diagonal, $T_{r+n-1,k}$ to $T_{r+n-1,k+n-1}$ on the $(r+n-1)^{\st}$ major diagonal, $T_{r+n-1,k+n-1}$ to $T_{r,k+n-1}$ on the $(k+n-1)^{\st}$ minor diagonal, and $T_{r,k+n-1}$ to $T_{r,k}$ on the $\rth$ major diagonal (see \figref{Fi:diamond}).  We call $T_{r,k}$ the top number of the diamond.
\end{definition}
\begin{figure}[H]
	\centering
	\includegraphics[scale=0.75]{Diamond.pdf}
	\caption{An $n$-diamond.}\label{Fi:diamond}
\end{figure}
The following property was named after John, who discovered the original patterns about nested diamonds in the rascal triangle $R=T(1,1,0,0)$.		
\begin{proposition}[John's odd/even diamond patterns]\label{P:EvenOddPatterns}
	Let $c,d,d_1,d_2\in\bbZ$ and $\grt$ be the associated generalized rascal triangle.  Then $T$ has the following diamond patterns: 
		\begin{enumerate}
			\item[i.] \textnormal{(Odd diamond pattern.)} Let $D$ be a $(2n+1)$-diamond in $T$ whose top number is $T_{r,k}$ and whose center number is $T_{r+n,k+n}$ as shown in \figref{Fi:OddDiamond}.  
				\begin{figure}[H]
					\centering
					\includegraphics[scale=0.75]{OddDiamond.pdf}
					\caption{$(2n+1)$-diamond}\label{Fi:OddDiamond}
				\end{figure}			
			Then the average of the $8n$ entries along the edge of the diamond is $T_{r+n,k+n}$.  That is,
				\begin{equation*}\dfrac1{8n}\left(\dsum_{i=0}^{2n-1}T_{r+i,k} + \dsum_{i=0}^{2n-1} T_{r+2n,k+i} + \dsum_{i=0}^{2n-1}T_{r+2n-i,k+2n} + \dsum_{i=0}^{2n-1}T_{r,k+2n-i}\right)= T_{r+n,k+n}.\end{equation*}				
			\item[ii.] \textnormal{(Even diamond pattern.)} Let $D_1$ be a $2$-diamond whose top number is $T_{r,k}$, and for $n \le \min\{r,k\}$ let $D_n$ denote the $2n$-diamond whose top entry is $T_{r-n+1,k-n+1}$ as shown in \figref{Fi:EvenDiamond}.  
				\begin{figure}[H]
					\centering
					\includegraphics[scale=0.75]{EvenDiamond.pdf}
					\caption{$2n$-diamond}\label{Fi:EvenDiamond}
				\end{figure}			
			Then the average of the entries along the edges of $D_n$ is equal to the average of the four entries along the edges of $D_1$.  That is,
				\begin{align*}
					&\dfrac1{8n-4}\left(\dsum_{i=0}^{2n-2}T_{r-n+1+i,k-n+1} + \dsum_{i=0}^{2n-2} T_{r+n,k-n+1+i} + \dsum_{i=0}^{2n-2}T_{r+n-i,k+n} + \dsum_{i=0}^{2n-2}T_{r-n+1,k+n-i}\right)\\
					&= \dfrac14\left(T_{r,k} + T_{r+1,k} + T_{r+1,k+1} +T_{r,k+1}\right).
				\end{align*}
		\end{enumerate}
\end{proposition}
\begin{example}
	In the generalized rascal triangle $T(2,2,3,1)$ (sequence \seqnum{A309557} in the OEIS) in \figref{Fi:OddDiamondEx}, the average of the 8 numbers along the edge of the red $3$-diamond is equal to the center number $32$.
		\begin{figure}[H]
			\centering
			\includegraphics[scale=0.675]{GenRasTriOddDiamond.pdf}
			\caption{John's odd diamond pattern in $T(2,2,3,1)$.}\label{Fi:OddDiamondEx}
		\end{figure}
	\begin{equation*} \dfrac{18+23+28+39+50+41+32+25}8=32.\end{equation*}
		
	In the generalized rascal triangle $T(2,2,3,1)$ (sequence \seqnum{A309557} in the OEIS) in \figref{Fi:EvenDiamondEx}, the average of the $12$ numbers along the edge of the red $4$-diamond is equal to the average of the $4$ numbers in the black $2$-diamond in the center.
		\begin{figure}[H]
			\centering
			\includegraphics[scale=0.75]{GenRasTriEvenDiamond.pdf}
			\caption{John's even diamond pattern in $T(2,2,3,1)$.}\label{Fi:EvenDiamondEx}
		\end{figure}
		\begin{equation*}\dfrac{8+11+14+17+28+39+50+41+32+23+18+13}{12} = \dfrac{18+23+32+25}4=24.5.\end{equation*}		
\end{example}
\begin{proof}[Proof of \propref{P:EvenOddPatterns}]
	For the odd diamond pattern, we can regroup the terms in the numerator as follows
		\begin{equation*}
			\dsum_{i=0}^{2n-1}\bigg(\Big(T_{r+i,k}+T_{r+2n-i,k+2n}\big) +\big(T_{r+2n,k+i} + T_{r,k+2n-i}\Big)\bigg).
		\end{equation*}
		Since $T$ is a generalized rascal triangle we have that $T_{r,k} = c+ kd_1+rd_2+rkd$; so    
			\begin{align}
				&T_{r+i,k} + T_{r+2n-i,k+2n} = (c+kd_1 +(r+i)(d_2+kd)) + (c+ (k+2n)d_1\notag\\ 
				&\phantom{=} + (r+2n-i)(d_2+(k+2n)d))\notag\\
				&= c + kd_1 + (r+i)(d_2+kd) + c + kd_1 + 2nd_1 + (r-i)(d_2+kd)\notag\\ 
				&\phantom{=} + (r-i)2nd + 2n(d_2+kd) + 4n^2d\notag\\
				&= 2c + 2kd_1 + 2rd_2+rkd + id_2 + ikd + 2nd_1 + rkd -id_2 -ikd + 2nrd\notag\\ 
				&\phantom{=} -2ndi + 2nd_2 + 2nkd + 4n^2d\notag\\
				&= 2c + (2kd_1 +2nd_1) + (2rd_2 + 2nd_2) + (2rkd + 2rnd + 2knd + 2n^2d) + 2n^2d\notag\\ 
				&\phantom{=} - 2ndi\notag\\
				&= 2(c + (k+n)d_1 + (r+n)d_2 + (r+n)(k+n)d) + 2n^2d - 2ndi\notag\\
				&=2T_{r+n,k+n} + 2n^2d - 2ndi;\label{diamondsum1}
			\end{align}
and
			\begin{align}
				&T_{r+2n,k+i} + T_{r,k+2n-i}  = (c+(r+2n)d_2 + (k+i)(d_1 +(r+2n)d))\notag\\
				&\phantom{=} + (c+rd_2 + (k+2n-i)(d_1 + rd))\notag\\
				&= c+ rd_2+2nd_2 + (k+i)(d_1+rd) + (k+i)2nd + c + rd_2 + (k-i)(d_1+rd)\notag\\ 
				&\phantom{=} + 2n(d_1+rd)\notag\\
				&= c + rd_2 + 2nd_2 + kd_1+rkd + id_1 + ird + 2knd + 2ndi + c + kd_1 + rd_2+rkd\notag\\ 
				&\phantom{=} - id_1 -ird + 2nd_1 + 2nrd + 2n^2d - 2n^2d\notag\\
				&= 2c+ (2rd_2+2nd_2) + (2kd_1+2nd_1) + (2rkd + 2rnd + 2knd + 2n^2d) + 2ndi\notag\\ 
				&\phantom{=} - 2n^2d\notag\\
				&= 2(c+ (k+n)d_1 + (r+n)d_2 + (r+n)(k+n)d) + 2ndi - 2n^2d\notag\\
				&=2T_{r+n,k+n} + 2dni - 2n^2d.\label{diamondsum2}
			\end{align} 
Combining \twoeqref{diamondsum1}{diamondsum2} we get
			\begin{align}
				&(T_{r+i,k} + T_{r+2n-i,k+2n}) + (T_{r+2n,k+i}+ T_{r,k+2n-i})\notag\\ 
				&= 2T_{r+n,k+n} + 2n^2d - 2ndi  + 2T_{r+n,k+n} + 2ndi - 2n^2d\notag\\ 
				&=4T_{r+n,k+n}.\notag
			\end{align}
		Therefore
			\begin{align*}
				&\dfrac1{8n}\left(\dsum_{i=0}^{2n-1}T_{r+i,k} + \dsum_{i=0}^{2n-1} T_{r+2n,k+i} + \dsum_{i=0}^{2n-1}T_{r+2n-i,k+2n} + \dsum_{i=0}^{2n-1}T_{r,k+2n-i}\right)\\ 
				&=\dfrac1{8n}\left(\dsum_{i=0}^{2n-1}\Big((T_{r+i,k}+T_{r+2n-i,k+2n}) + (T_{r+2n,k+i} + T_{r,k+2n-i})\Big)\right)\\
				&=\dfrac1{8n}\left(\dsum_{i=0}^{2n-1}4T_{r+n,k+n}\right)=\dfrac1{8n}\left(8n\cdot T_{r+n,k+n}\right)= T_{r+n,k+n}.
			\end{align*}

		For the even diamond pattern, we can regroup the terms in the sum of the edges of a $2n$-diamond as follows:
			\begin{equation*}
				\dsum_{i=0}^{2n-2}\Big(T_{r-n+1+i,k-n+1}+T_{r+n,k-n+1+i} + T_{r+n-i,k+n} + T_{r-n+1,k+n-i}\Big).
			\end{equation*}
	
		Since $T$ is a generalized rascal triangle we have that $T_{r,k} = c+ kd_1+rd_2+rkd$.  Thus,  
			\begin{align}
				T_{r-n+1+i,k-n+1} &= c + (k-n+1)d_1 + (r-n+1+i)d_2 + (r-n+1+i)(k-n+1)d\notag\\
							&= c + (k+1)d_1-nd_1 + (r+1)d_2 -(n-i)d_2 + (r+1)(k+1)d\notag\\ 
							&\phantom{=}  -(k+1)(n-i)d - (r+1)nd  +n(n -i)d\notag\\
							&= T_{r+1,k+1}-nd_1 -(n-i)d_2 - k(n-i)d - (n-i)d - rnd-nd +n(n-i)d,\label{diamondedgesum1}\\
				T_{r+n,k-n+1+i} &= c + (k-n+1+i)d_1 + (r+n)d_2 + (r+n)(k-n+1+i)d\notag\\
							&= c + (k+1)d_1 -(n-i)d_1 + rd_2 +nd_2 + r(k+1)d-r(n-i)d\notag\\ 
							&\phantom{=} +(k+1)nd-n(n-i)d\notag\\
							&= T_{r,k+1} - (n-i)d_1 + nd_2 -r(n-i)d + knd+nd - n(n-i)d,\label{diamondedgesum2}\\
				T_{r+n-i-i,k+n} &= c + (k+n)d_1 + (r-n-i)d_2 + (r+n-i)(k+n)d\notag\\
							&= c + kd_1+nd_1 + rd_2+(n-i)d_2 +rkd + rnd +k(n-i)d+n(n-i)d\notag\\ 
							&= T_{r,k} +nd_1 +(n-i)d_2+ rnd +k(n-i)d+n(n-i)d,\label{diamondedgesum3}\\
				T_{r-n+1,k+n-i} &= c + (k+n-i)d_1 + (r-n+1)d_2 + (r-n+1)(k+n-i)d\notag\\
							&= c + kd_1+(n-i)d_1 + (r+1)d_2-nd_2 + (r+1)kd +(r+1)(n-i)d\notag\\
							&\phantom{=} - nkd - n(n-i)d\notag\\
							&= T_{r+1,k} +(n-i)d_1 - nd_2 +(r+1)(n-i)d -nkd -n(n-i)d.\label{diamondedgesum4}
			\end{align}
	
		Combining \conseceqref{diamondedgesum1}{diamondedgesum4} we get
			\begin{align*}
				T_{r-n+1+i,k-n+1} &+ T_{r+n,k-n+1+i} + T_{r+n-i,k+n} + T_{r-n+1,k+n-i}\\ 
				&= T_{r+1,k+1}-nd_1 -(n-i)d_2 - k(n-i)d - (n-i)d - rnd-nd +n(n-i)d\\
				&\phantom{=} + T_{r,k+1} - (n-i)d_1 + nd_2 -r(n-i)d + knd+nd - n(n-i)d\\ 
				&\phantom{=} + T_{r,k} +nd_1 +(n-i)d_2+ rnd +k(n-i)d+n(n-i)d\\
				&\phantom{=} + T_{r+1,k} +(n-i)d_1 - nd_2 +(r+1)(n-i)d -nkd -n(n-i)d\\
				&=T_{r+1,k+1} + T_{r,k+1} + T_{r,k} + T_{r+1,k}. 
			\end{align*}
		Therefore
			\begin{align*}
				&\dfrac1{8n-4}\left(\dsum_{i=0}^{2n-2}(T_{r-n+1+i,k-n+1} +T_{r+n,k-n+1+i} + T_{r+n-i,k+n} + T_{r-n+1,k+n-i})\right)\\ 
				&= \dfrac1{8n-4}\left(\dsum_{i=0}^{2n-2}(T_{r+1,k+1} + T_{r,k+1} + T_{r,k} + T_{r+1,k})\right)\\ 
				&= \dfrac1{8n-4}(2n-1)(T_{r+1,k+1} + T_{r,k+1} + T_{r,k} + T_{r+1,k})\\
				&=  \dfrac14(T_{r+1,k+1} + T_{r,k+1} + T_{r,k} + T_{r+1,k}).
			\end{align*}
\end{proof}
The remaining properties are recursive rules similar to the rascal-like addition rule in \Eqref{eq:rascaladd} which allow us to determine $T_{r,k}$ from entries in $T$ that are in the rows above it.  

The first three properties were named for Ashley, who discovered the original version for the rascal triangle $R=T(1,1,0,0)$.
\begin{proposition}[Ashley's rule]\label{P:Ashley}
	Let $c,d,d_1,d_2\in\bbZ$ and $\grt$ be the associated generalized rascal triangle. Then 
			\begin{equation}
				T_{r,k} = T_{r-1,k}+T_{r,k-1} - T_{r-2,k-1} + ((2-k)d - d_2)\label{Eq:AshleyRule}
			\end{equation}
		for all $r\geq 2, k\geq 1$.
\end{proposition}

Note that the quantity $(2-k)d-d_2$ in \Eqref{Eq:AshleyRule} depends only on the minor diagonal $k$ that contains $T_{r,k}$ since the quantities $d$ and $d_2$ are fixed.  When describing her original version of \propref{P:Ashley} for the Rascal Triangle $R=T(1,1,0,0)$, Ashley called this quantity the \textit{diagonal factor}.  
\begin{notation}
	In \consecfigref{Fi:Ashley1}{Fi:Ashley4} in \consecexref{Ex:AshleyRule}{Ex:AshleyMod} the generalized rascal triangle is $T(2,2,3,1)$ (sequence \seqnum{A309557} in the OEIS). The blue circle corresponds to $T_{r,k}$, the black boxes correspond to the terms that are added and the red hexagons correspond to the terms that are subtracted. The bold red diagonal in \figref{Fi:Ashley1} is the diagonal factor $(2-k)d-d_2$ in \Eqref{Eq:AshleyRule}.
\end{notation} 
\begin{example}\label{Ex:AshleyRule}
	 If we let $T_{r,k}=59$, then $r=5$ and $k=4$.  Therefore $T_{r-1,k} = T_{4,4}=50$, $T_{r,k-1} = T_{5,3}=46$, $T_{r-2,k-1} = T_{3,3}=32$, and the diagonal factor is $(2-k)d-d_2=-5$, as illustrated in \figref{Fi:Ashley1}. Thus
	
		\begin{equation*}T_{r-1,k}+T_{r,k-1} - T_{r-2,k-1} + ((2-k)d - d_2) = 50 + 46 - 32 -5 = 59 = T_{r,k}.\end{equation*}
		
		\begin{figure}[H]
			\centering
			\includegraphics[scale=0.75]{GenRasTriAshley5.pdf}
			\caption{Ashley's rule for $T(2,2,3,1)$.}\label{Fi:Ashley1}
		\end{figure}	
\end{example}
\begin{proof}[Proof of \propref{P:Ashley}]
	Recall from \Eqref{eq:minorarthseq} that on the $\kth$ minor diagonal, the entries form the arithmetic progression $c + kd_1 + r(kd + d_2)$ with common difference $kd+d_2$, hence $T_{r-1,k} + kd + d_2 = T_{r,k}$ for $r\geq 1,k \geq 0$. Thus
		\begin{align*}
			&T_{r,k-1}+T_{r-1,k} - T_{r-2,k-1} + ((2-k)d - d_2)\\ 
			&= T_{r,k-1}+T_{r-1,k} - T_{r-2,k-1} - (k-1)d - d_2 + d \\
			&= T_{r,k-1}+T_{r-1,k} - (T_{r-2,k-1} + (k-1)d + d_2) + d\\
			&= T_{r,k-1}+T_{r-1,k} - T_{r-1,k-1} + d\\
			&= T_{r,k}
		\end{align*}
	by \propref{prop:GRTAdd}.
\end{proof}
My colleague, J. Fleron and I subsequently discovered three ways of modifying Ashley's rule so that the diagonal factor $(2-k)d - d_2$ was not needed.
\begin{proposition}[Modified Ashley's rule]\label{P:ModAshley}
	Let $c,d,d_1,d_2\in\bbZ$ and $\grt$ be the associated generalized rascal triangle; then for $r, k\geq 3$
		\begin{align}
			T_{r,k} &= T_{r-1,k} + T_{r,k-1} - T_{r-2,k-1} - T_{r-2,k-2}  +T_{r-3,k-2}\label{Eq:AshleyMod1}\\
				&= T_{r,k-1} + T_{r-1,k-1} - T_{r-2,k-2} - T_{r-2,k-3}  +T_{r-3,k-3}\label{Eq:AshleyMod2}\\
				&= T_{r-1,k} + T_{r-1,k-1} - T_{r-2,k-2} - T_{r-3,k-2}  +T_{r-3,k-3}.\label{Eq:AshleyMod3}
		\end{align}
\end{proposition}
\begin{example}\label{Ex:AshleyMod}
	For the first modification, \Eqref{Eq:AshleyMod1}, if we let $T_{r,k} = 59$ then $r=5$ and $k=4$.  Therefore $T_{r-1,k} = T_{4,4}=50$, $T_{r,k-1} = T_{5,3}=46$, $T_{r-2,k-1} = T_{3,3} = 32$, $T_{r-2,k-2} = T_{3,2}=23$, and $T_{r-3,k-2} = T_{2,2}=18$, as shown in \figref{Fi:Ashley2}. Hence
		\begin{equation*}T_{r-1,k}+T_{r,k-1} - T_{r-2,k-1}  - T_{r-2,k-2}  +T_{r-3,k-2} = 50 + 46 - 32 - 23 + 18 = 59 = T_{r,k}.\end{equation*}
		\begin{figure}[H]
			\centering
			\includegraphics[scale=0.75]{GenRasTriAshley6.pdf}
			\caption{Modification 1 of Ashley's rule for $T(2,2,3,1)$.}\label{Fi:Ashley2}
		\end{figure}	

	For the second modification, \Eqref{Eq:AshleyMod2}, if we let $T_{r,k} = 59$ then $r=5$ and $k=4$.  Therefore $T_{r,k-1} = T_{5,3}=46$, $T_{r-1,k-1} = T_{4,3}=39$, $T_{r-2,k-2} = T_{3,2}=23$, $T_{r-2,k-3} = T_{3,1}=14$, and $T_{r-3,k-3} = T_{2,1}=11$, as illustrated in \figref{Fi:Ashley3}. Thus
		\begin{equation*}T_{r,k-1} + T_{r-1,k-1} - T_{r-2,k-2} - T_{r-2,k-3}  +T_{r-3,k-3} = 46 + 39 - 23 - 14 + 11 = 59 = T_{r,k}.\end{equation*}
		\begin{figure}[H]
			\centering
			\includegraphics[scale=0.75]{GenRasTriAshley7.pdf}
			\caption{Modification 2 of Ashley's rule for $T(2,2,3,1)$.}\label{Fi:Ashley3}
		\end{figure}	

	For the third modification, \Eqref{Eq:AshleyMod3}, if we let $T_{r,k} =59$ then $r=5$ and $k=4$.  Therefore $T_{r-1,k} = T_{4,4}=50$, $T_{r-1,k-1} = T_{4,3}=39$, $T_{r-2,k-2} = T_{3,2}=23$, $T_{r-3,k-2} = T_{2,2}=18$, and $T_{r-3,k-3} = T_{2,1}=11$, as shown in \figref{Fi:Ashley4}. Thus
		\begin{equation*}T_{r-1,k} + T_{r-1,k-1} - T_{r-2,k-2} - T_{r-3,k-2}  +T_{r-3,k-3} = 50 + 39 - 23 - 18 + 11 = 59 = T_{r,k}.\end{equation*}
		\begin{figure}[H]
			\centering
			\includegraphics[scale=0.75]{GenRasTriAshley8.pdf}
			\caption{Modification 3 of Ashley's rule for $T(2,2,3,1)$.}\label{Fi:Ashley4}
		\end{figure}	
\end{example}
\begin{proof}[Proof of \propref{P:ModAshley}] For \Eqref{Eq:AshleyMod1}: 
	\begin{align*}
		T_{r-1,k} &+ T_{r,k-1} - T_{r-2,k-1} - T_{r-2,k-2}  + T_{r-3,k-2}\\ 
				&= (c+ kd_1 + (r-1)d_2 + (r-1)kd)\\ 
				&\phantom{=}+ (c +(k-1)d_1 + rd_2 + r(k-1)d)\\  
				&\phantom{=} -  (c +(k-1)d_1 + (r-2)d_2+ (r-2)(k-1)d)\\ 
				&\phantom{=} -  (c+ (k-2)d_1+(r-2)d_2 + (r-2)(k-2)d)\\  
				&\phantom{=}+  (c+ (k-2)d_1+(r-3)d_2 + (r-3)(k-2)d)\\
				&=\phantom{+} c + kd_1 \phantom{- 2d_1} + rd_2- \phantom{2}d_2 + rkd - \phantom{2}kd\\
				&\phantom{=} + c + kd_1 - \phantom{2}d_1 + rd_2 \phantom{- 2d_2} + rkd  \phantom{-2kd} - \phantom{2}rd \\
				&\phantom{=} - c - kd_1 + \phantom{2}d_1 - rd_2 + 2d_2 - rkd  + 2kd + rd - 2d\\
				&\phantom{=}  - c - kd_1 + 2d_1 - rd_2 + 2d_2 - rkd + 2kd + 2rd - 4d\\ 
				&\phantom{=} + c + kd_1 - 2d_1 + rd_2 - 3d_2 + rkd - 3kd - 2rd + 6d\\
				&= c + kd_1 + rd_2 + rkd = T_{r,k}.
	\end{align*}
For \Eqref{Eq:AshleyMod2}:
	\begin{align*}
		T_{r,k-1} &+ T_{r-1,k-1} - T_{r-2,k-2} - T_{r-2,k-3}  + T_{r-3,k-3}\\ 
				&= (c + (k-1)d_1+ rd_2 + r(k-1)d)\\ 
				&\phantom{=}+ (c+(k-1)d_1 + (r-1)d_2 + (r-1)(k-1)d)\\ 
				&\phantom{=} -  (c + (k-2)d_1 + (r-2)d_2 + (r-2)(k-2)d)\\ 
				&\phantom{=} -  (c + (k-3)d_1 + (r-2)d_2 + (r-2)(k-3)d)\\  
				&\phantom{=} +  (c +(k-3)d_1 + (r-3)d_2 + (r-3)(k-3)d)\\
				&=\phantom{+} c + kd_1 - d_1 + rd_2\phantom{- 2d_2} + rkd - rd\\
				&\phantom{=} + c + kd_1 - d_1 + rd_2 - d_2 + rkd  - rd - kd + d\\
				&\phantom{=} - c - kd_1 + 2d_1 - rd_2 + 2d_2 - rkd  + 2rd + 2kd - 4d\\
				&\phantom{=}  - c - kd_1 + 3d_1 - rd_2 + 2d_2 - rkd + 3rd + 2kd - 6d\\ 
				&\phantom{=} + c + kd_1 - 3d_1 + rd_2 - 3d_2 + rkd - 3rd - 3kd + 9d\\
				&= c + kd_1 + rd_2 + rkd = T_{r,k}.
		\end{align*}
	The proof for \Eqref{Eq:AshleyMod3} follows immediately from \Eqref{Eq:AshleyMod2} by replacing $T_{r,k-1}$ by $T_{r-1,k} + d_2-d_1 + (k_0-r_0-1)d$ and $T_{r-2,k-3}$ by $T_{r-3,k-2} +  d_2-d_1 + (k_0-r_0-1)d$.  These last steps are a consequence of applying \lemref{L:constantdiffs} below to the two adjacent columns $C_1$ and $C_2$ of $T$ which contain $T_{r-3,k-2}$ and $T_{r-1,k}$ and $T_{r,k-1}$ and $T_{r-2,k-3}$ respectively; and where $T_{r_0,k_0}$ is the entry in column $C_1$ that is in the first row of $T$ that contains entries from both $C_1$ and $C_2$ as illustrated in \figref{Fi:Eqn17pic} where the boxed entries denote the columns $C_1$ and $C_2$. 
\end{proof}
\begin{figure}[H]
	\centering
	\includegraphics[scale=0.75]{GRTEqn17proof.pdf}
	\caption{Columns of $T$ for the proof of \Eqref{Eq:AshleyMod3}.}\label{Fi:Eqn17pic}
\end{figure}
\begin{lemma}[Constant difference between parallel columns]\label{L:constantdiffs}
	Let  $c,d,d_1,d_2\in\bbZ$ and let $C_1$ and $C_2$ be two columns in the associated generalized rascal triangle $\grt$ with $C_2$ $m$ spaces to the right of $C_1$. If $n_0$ is the first row of $T$ containing entries in $C_1$ and $C_2$ and $n$ is any row of $T$ below $n_0$ containing entries in $C_1$ and $C_2$, then the difference between the entries of $C_1$ and $C_2$ in row $n_0$ is the same as the difference between the entries of $C_1$ and $C_2$ in row $n$.  More precisely, if $T_{r_0,k_0}$ and $T_{r_1,k_1}$ are the entries in $C_1$ and $C_2$ respectively in row $n_0$ and $T_{r_2,k_2}$ and $T_{r_3,k_3}$ are the entries in $C_1$ and $C_2$ respectively in row $n$, then
		\begin{equation*}T_{r_3,k_3}-T_{r_2,k_2} = T_{r_1,k_1} - T_{r_0,k_0} = md_2-md_1 +(k_0-r_0-m)md.\end{equation*}
\end{lemma}

\begin{example}
	Using the generalized rascal triangle $T(2,2,3,1)$ (sequence \seqnum{A309557} in the OEIS), consider the two columns in $T$ indicated by the boxed numbers in \figref{Fi:ConstColDiff}. Here $n_0=4$ with $T_{r_0,k_0}=T_{1,3}=18$ and $m=3$, so 
		\begin{equation*}
			md_2-md_1 + (k_0-r_0-m)md= 3\cdot1-3\cdot3 +(3-1-3)\cdot3\cdot2=-12,
		\end{equation*}
	which is the difference between entries of the two columns that are in the same row.  
		\begin{equation*}6-18 =  20-32 = 38-50 = -12.\end{equation*}
		\begin{figure}[H]
			\centering
			\includegraphics[scale=0.75]{GenRasTriConstColDiff.pdf}
			\caption{Constant Difference Between Parallel Columns for $T(2,2,3,1)$.}\label{Fi:ConstColDiff}
		\end{figure}	
\end{example}
\begin{proof}[Proof of \lemref{L:constantdiffs}] 
	Since $T_{r_0, k_0}$ is the entry in $C_1$ on row $n_0$ and $C_2$ is $m$ spaces to the right of $C_1$, the entry in $C_2$ in row $n_0$ is $T_{r_1,k_1}=T_{r_0+m, k_0-m}$ by \lemref{L:constantrk}.  Furthermore, because entries in a column occur in every two rows of $T$, there is an integer $j$ so that $n=n_0+2j$.  Thus the entries on the row $n_0 + 2j$ in the columns $C_1$ and $C_2$ are $T_{r_2,k_2}=T_{r_0+j,k_0+j}$ and $T_{r_3,k_3}=T_{r_0+m+j, k_0-m+j}$ respectively (see \figref{Fi:columns}).
	\begin{figure}[H]
		\centering
		\includegraphics[scale=0.485]{row_n4.pdf}
		\caption{Entries in columns $C_1$ and $C_2$ in rows $n_0$ to $n_0+2j$.}\label{Fi:columns}
	\end{figure}
	Therefore,
	\begin{align*}
		T_{r_0+m,k_0-m} - T_{r_0,k_0} &= c + (k_0-m)d_1 + (r_0+m)d_2 +(r_0+m)(k_0-m)d\\ 
		&\phantom{=} - (c +k_0d_1 + r_0d_2 + r_0k_0d)\\
		&= md_2-md_1+(k_0-r_0-m)md,
	\end{align*}
and
	\begin{align*}
		T_{r_0+m+j,k_0-m+j} - T_{r_0+j,k_0+j} &= c +(k_0-m+j)d_1 + (r_0+m+j)d_2 + (r_0+m+j)(k_0-m+j)d\\ 
		&\phantom{=} -(c + (k_0+j)d_1 + (r_0+j)d_2 + (r_0+j)(k_0+j)d)\\
		&= md_2 -md_1 +(k_0-r_0-m)md.
	\end{align*}
\end{proof}
The final property was named after Timothy and Meg who originally discovered the original version for the rascal triangle $R=T(1,1,0,0)$.   Note that this property only applies to generalized rascal triangles with $d_1=d_2 =0$.
\begin{proposition}[T-Meg rule]\label{P:T-Meg} 
	Let $c,d\in\bbZ$ and $T(c,d,0,0)$ be the associated generalized rascal triangle; then 
		\begin{equation*}T_{r,k}=  T_{0,r+k-2} +T_{1,r+k-3}+ T_{r-1,k-1} + 2(d-c)\end{equation*}
	for $r\geq 1, k\geq 2$.
\end{proposition}
\begin{notation}
	In \consecfigref{Fi:T-Meg1}{Fi:T-Meg3} in \consecexref{Ex:T-Meg1}{Ex:T-Meg3} the generalized rascal triangle is $T(3,1,0,0)$ (sequence \seqnum{A309555} in the OEIS). The blue circle corresponds to $T_{r,k}$, the black squares and diamonds correspond to the three terms from the row two above $T_{r,k}$ that are being added.
\end{notation} 
\begin{example}\label{Ex:T-Meg1}
	If we let $T_{r,k}=T_{3,3}=12$ then $r=3$ and $k=3$.  Therefore $T_{0,r+k-2} = T_{0,4}= 3$, $T_{1,r+k-3} = T_{1,3}=6$, $T_{r-1,k-1} = T_{2,2}=7$, and $2(d-c)=-4$.  Thus,  
		\begin{equation*} T_{0,r+k-2} +T_{1,r+k-3}+ T_{r-1,k-1} + 2(d-c)= 12 = 3 + 6 + 7 - 4 = 12 = T_{r,k}.\end{equation*}
		\begin{figure}[H]
			\centering
			\includegraphics[scale=0.75]{GenRasTriT-Meg.pdf}
			\caption{T-Meg rule for $T(3,1,0,0)$.}\label{Fi:T-Meg1}
		\end{figure}	
\end{example}
Note that \propref{P:T-Meg} is true even when $T_{r,k}$ is the second or third entry in a row, i.e., $r=1$ or $2$.  When $r=1$, then $T_{r-1,k-1} = T_{0,k-1}=T_{0,r+k-2}$ and when $r=2$, $T_{r-1,k-1}=T_{1,k-1}=T_{1,r+k-3}$ and so when $r=1$ or $2$ one of the one of the terms in the row two above $T_{r,k}$ is being added twice.
\begin{example}\label{Ex:T-Meg2}
	If we let $T_{r,k}=T_{2,4} =11$ then $r=2$ and $k=4$.  Hence $T_{0,r+k-2}= T_{0,4}= 3$, $T_{1,r+k-3}=T_{r-1,k-1} = T_{1,3}=6$ and $2(d-c)=-4$.  Thus,  
		\begin{equation*} T_{0,r+k-2} +T_{1,r+k-3}+ T_{r-1,k-1} + 2(d-c) =  3 +6+6 - 4 = 11=T_{r,k}.\end{equation*}
		\begin{figure}[H]
			\centering
			\includegraphics[scale=0.675]{GenRasTriT-Meg2.pdf}
			\caption{T-Meg rule for $T(3,1,0,0)$.}\label{Fi:T-Meg2}
		\end{figure}	
\end{example}
\begin{example}\label{Ex:T-Meg3}
	If we let $T_{r,k}=T_{1,5} =8$ then $r=1$ and $k=5$. Therefore $T_{0,r+k-2} = T_{r-1,k-1} = T_{0,4}= 3$, $T_{1,r+k-3}=6$ and $2(d-c)=-4$.  Thus,  
		\begin{equation*} T_{0,r+k-2} +T_{1,r+k-3}+ T_{r-1,k-1} + 2(d-c) = 3 + 6 + 3 - 4 = 8 = T_{r,k}.\end{equation*}
		\begin{figure}[H]
			\centering
			\includegraphics[scale=0.675]{GenRasTriT-Meg3.pdf}
			\caption{T-Meg rule for $T(3,1,0,0)$.}\label{Fi:T-Meg3}
		\end{figure}	
\end{example}
\begin{proof}[Proof of \propref{P:T-Meg}]
	Since $d_1=d_2=0$ we have $T_{r,k} = c+rkd$. Thus,  
	\begin{align*}
		T_{0,r+k-2} &+ T_{1,r+k-3}  +T_{r-1,k-1} + 2(d - c)\\
		 &= (c + 0(r+k-2)d) + (c+ 1(r+k-3)d) + (c+ (r-1)(k-1)d) + 2d - 2c\\
		&= c + c+rd+kd-3d + c+ rkd-rd-kd+d + 2d - 2c\\
		&= c+rkd = T_{r,k}.
	\end{align*}
\end{proof}

\section{Conclusion}

The results in this paper grew out of explorations by mathematics for liberal arts students looking for patterns in the rascal triangle (sequence \seqnum{A077028} in the OEIS).     My students enthusiasm and insights inspired me to look more deeply at the structure of the rascal triangle and the roles that \twoeqref{eq:RasForm1}{eq:RasForm2} played in that structure, which led to the generalized rascal triangles.  

As these triangles are closely related to the rascal triangle and Pascal's triangle (sequence \seqnum{A007318} in the OEIS) it is natural to ask if they are as rich mathematically as those triangles. In particular, what other relationships are there between the entries, and are there combinatorial interpretations of the entries for generalized rascal triangles?  Brandt Kronholm and his student Jena Gregory, at the University of Texas, Rio Grande Valley, have begun investigating this last question using generating functions and an infinite sequence of number triangles whose limiting triangle is Pascal's triangle.  

\section{Acknowledgments}
This work was an outgrowth of student investigations in Mathematics for Liberal Arts classes at Westfield State University. The author's work on the {\it Discovering the Art of Mathematics} project, which provides the basis for the curriculum in this course, was supported by NSF grants DUE-0836943, DUE-1225915, and a generous gift from Mr. Harry Lucas.

The author would like to acknowledge his students who observed the patterns discussed in this paper: Ashley Craig, John Coulombe, Timothy Schreiner, Meaghan Sparks, and Evan Wilson.  

The author would also like to thank his colleague J. Fleron for his collaboration in exploring the student's patterns, as well as the comments and suggestions from him, the anonymous referee and the editor-in-chief that have improved this paper. 

\begin{thebibliography}{9}
	\bibitem{ALT}
	A. Anggoro,  E. Liu, and A. Tulloch,
	The rascal triangle,
	\emph{College Math. J.}
	{\bf 41} (2010), 393--395.
		
	\bibitem{JF}
	J. Fleron, Fresh perspectives bring discoveries,
	\emph{Math Horiz.} {\bf 24} (2017), 15.

	\bibitem{H}
	P. Hotchkiss, 
	Student inquiry and the rascal triangle,
	preprint, 2019. Available at \url{http://www.arxiv.org/abs/1907.07749}.
	
	\bibitem{S}
	N. J. A. Sloane et al.,
	The On-Line Encyclopedia of Integer Sequences,
	2020.
	Available at \url{https://oeis.org}.
\end{thebibliography}

\bigskip
\hrule
\bigskip

\noindent 2010 {\it Mathematics Subject Classification}:
Primary 11B25; Secondary 11B99.

\noindent \emph{Keywords:} 
rascal triangle, number triangle, arithmetic sequence.

\bigskip
\hrule
\bigskip

\noindent (Concerned with sequences 
\seqnum{A000012},
\seqnum{A000027},
\seqnum{A000034},
\seqnum{A000124},
\seqnum{A005408},
\seqnum{A007318},
\seqnum{A016777},
\seqnum{A016789},
\seqnum{A017029},
\seqnum{A017101},
\seqnum{A017605},
\seqnum{A077028},
\seqnum{A154609},
\seqnum{A309555},
\seqnum{A309557},
\seqnum{A309559},
\seqnum{A332790}, and
\seqnum{A332963}.)

\bigskip
\hrule
\bigskip

\vspace*{+.1in}
\noindent
Received August 7 2019;
revised version received  September 5 2019; March 27 2020; April 9 2020.
Published in {\it Journal of Integer Sequences}, June 26 2020.

\bigskip
\hrule
\bigskip

\noindent
Return to
\htmladdnormallink{Journal of Integer Sequences home page}{https://cs.uwaterloo.ca/journals/JIS/}.
\vskip .1in


\end{document}

                                                                                

