A204682 Number of n X 5 0..3 arrays with no occurrence of three equal elements in a row horizontally, vertically, diagonally or antidiagonally, and new values 0..3 introduced in row major order.
40, 31168, 12711292, 5770321516, 2579588216958, 1155411237719424, 517329649988490420, 231643442002878488571
Offset: 1
Examples
Some solutions for n=5: ..0..0..1..0..1....0..0..1..0..0....0..1..0..0..1....0..1..1..0..2 ..0..1..0..0..1....1..0..1..2..1....1..0..2..2..0....1..1..2..0..3 ..2..3..0..3..0....1..1..2..1..0....2..2..1..1..0....2..3..3..1..0 ..2..1..1..0..3....3..3..0..1..3....1..1..2..2..1....2..1..3..2..0 ..3..0..2..3..2....0..1..0..2..3....0..0..3..0..0....1..0..2..0..1
Crossrefs
Column 5 of A204685.