OFFSET
0,2
COMMENTS
PROG
(S/R) stvar $[N][N]:(0.. M-1) init $[][]:=0 asgn $[][]->{*} kill +[i in 0.. N-2](+[j in 0.. N-1](($[i][j]`-$[i+1][j]`>8)+($[i+1][j]`-$[i][j]`>8)+($[j][i]`-$[j][i+1]`>8)+($[j][i+1]`-$[j][i]`>8)))
CROSSREFS
KEYWORD
nonn
AUTHOR
R. H. Hardin, Dec 31 2006
STATUS
approved