Cyclic cellular automata on pattern
P
=015
N
=8