\begin{tikzpicture}[ font=\scriptsize, x=0.98cm, y=-0.43cm, cell/.style={draw=black!55, thin, minimum width=0.9cm, minimum height=0.36cm, inner sep=0pt, anchor=center}, cD/.style={cell, fill=blue!10}, cG/.style={cell, pattern=north east lines, pattern color=blue!30}, c3/.style={cell, fill=orange!45, draw=black, semithick, postaction={pattern=dots, pattern color=black!45}}, c5/.style={cell, fill=red!60!black!45, draw=black, double, double distance=0.6pt}, cX/.style={cell, fill=white}, cO/.style={cell, fill=black, text=white, font=\scriptsize\bfseries\boldmath}, hi/.style={draw=black, line width=1.4pt, font=\scriptsize\bfseries\boldmath}] \foreach \j/\r/\n/\s in {1/0/4/cD, 2/0/6/cD, 3/0/8/cD, 4/0/10/cG, 5/0/12/cD, 6/0/14/cD, 7/0/16/cG, 8/0/18/cD, 9/0/20/cD, 0/1/22/cG, 1/1/24/cD, 3/1/28/cG, 4/1/30/cD, 5/1/32/cD, 6/1/34/c3, 7/1/36/cG, 8/1/38/cD, 9/1/40/cG, 0/2/42/cD, 1/2/44/cD, 2/2/46/cG, 3/2/48/cD, 4/2/50/c3, 5/2/52/cG, 6/2/54/cD, 7/2/56/c3, 8/2/58/cG, 9/2/60/cD, 0/3/62/cD, 1/3/64/c3, 2/3/66/cG, 3/3/68/cD, 4/3/70/cG, 5/3/72/cD, 6/3/74/cD, 7/3/76/c3, 8/3/78/cG, 9/3/80/cD, 0/4/82/cG, 1/4/84/cD, 2/4/86/c3, 3/4/88/cG, 4/4/90/cD, 5/4/92/c3, 7/4/96/cG, 8/4/98/cD, 9/4/100/cG, 0/5/102/cD, 1/5/104/cD, 2/5/106/cG, 3/5/108/cD, 4/5/110/cD, 5/5/112/cG, 6/5/114/cD, 7/5/116/c3, 9/5/120/cO, 0/6/122/cO, 1/6/124/cO, 2/6/126/cG, 3/6/128/cD, 4/6/130/cG, 5/6/132/cD, 6/6/134/c3, 7/6/136/cG, 8/6/138/cD, 9/6/140/cD, 0/7/142/c3, 1/7/144/c5, 2/7/146/cO, 3/7/148/cG, 4/7/150/cD, 5/7/152/cD, 6/7/154/c3, 7/7/156/cG, 8/7/158/cD, 9/7/160/c3, 0/8/162/cG, 1/8/164/cD, 2/8/166/cG, 3/8/168/cD, 4/8/170/c3, 5/8/172/cG, 6/8/174/cD, 7/8/176/c3, 8/8/178/cG, 9/8/180/cD, 0/9/182/cD, 1/9/184/c3, 2/9/186/c5, 3/9/188/cO, 4/9/190/cG, 5/9/192/cD, 6/9/194/cD, 7/9/196/cG, 8/9/198/cD, 9/9/200/cD, 0/10/202/c3, 1/10/204/c5, 2/10/206/cO, 3/10/208/cO, 4/10/210/cG, 5/10/212/cD, 6/10/214/c3, 7/10/216/c5, 8/10/218/cO, 9/10/220/cO, 0/11/222/cG, 1/11/224/cD, 2/11/226/cG, 3/11/228/cD, 4/11/230/cD, 5/11/232/cG, 6/11/234/cD, 7/11/236/c3, 8/11/238/cG, 9/11/240/cD, 0/12/242/cD, 1/12/244/c3, 2/12/246/c5, 3/12/248/cO, 4/12/250/cG, 5/12/252/cD, 6/12/254/c3, 7/12/256/cG, 8/12/258/cD, 9/12/260/c3, 0/13/262/cG, 1/13/264/cD, 2/13/266/c3, 3/13/268/cG, 4/13/270/cD, 5/13/272/cD, 6/13/274/c3, 7/13/276/cG, 8/13/278/cD, 9/13/280/cG, 0/14/282/cD, 1/14/284/cD, 2/14/286/c3, 3/14/288/c5, 4/14/290/cO, 5/14/292/cG, 6/14/294/cD, 7/14/296/c3, 8/14/298/c5, 9/14/300/cO} {\node[\s] at (\j,\r) {$\n$};} \foreach \j/\r/\n/\s in {2/1/26/c3, 6/4/94/c5, 8/5/118/c5} {\node[\s, hi] at (\j,\r) {$\n$};} \begin{scope}[shift={(10.25,1.5)}, every node/.style={anchor=west}] \node[cD, anchor=center] at (0,0) {}; \node at (0.5,0) {$n-1$ prime (Drisko)}; \node[cG, anchor=center] at (0,1.5) {}; \node at (0.5,1.5) {$n+1$ prime (Glynn)}; \node[c3, anchor=center] at (0,3) {}; \node[align=left] at (0.5,3) {$n = p+3$, $4K_6(p) \not\equiv 5$\\ (Theorem~\ref{thm:1.1})}; \node[c5, anchor=center] at (0,4.8) {}; \node[align=left] at (0.5,4.8) {$n = p+5$, $S_5(p) \not\equiv 0$\\ (Theorem~\ref{thm:crit5})}; \node[cO, anchor=center] at (0,6.6) {}; \node at (0.5,6.6) {open}; \node[cell, hi, fill=white, anchor=center] at (0,8.1) {}; \node at (0.5,8.1) {$26$, $94$, $118$}; \end{scope} \end{tikzpicture}