login
A198975
Number of n X n 0..5 arrays with values 0..5 introduced in row major order and no element equal to any horizontal or vertical neighbor
2
1, 4, 1835, 53082012, 30525244435834, 310387893630465965693, 55676868201599759013090066735
OFFSET
1,2
COMMENTS
Diagonal of A198982
LINKS
Jean-François Alcover, Table of n, a(n) for n = 1..13
EXAMPLE
Some solutions with all values from 0 to 5 for n=4
..0..1..0..1....0..1..0..1....0..1..0..1....0..1..0..1....0..1..0..1
..1..2..3..0....1..0..2..0....1..2..3..0....1..0..2..0....1..0..2..0
..4..3..2..3....0..3..4..3....4..3..2..5....0..2..1..3....3..4..5..2
..2..1..5..2....5..2..1..2....1..4..1..4....4..3..5..0....4..2..3..5
MATHEMATICA
A198982 = Cases[Import["https://oeis.org/A198982/b198982.txt", "Table"], {_, _}][[All, 2]];
a[n_] := A198982[[2 n^2 - 2 n + 1]];
Table[a[n], {n, 1, 13}] (* Jean-François Alcover, Sep 23 2019 *)
CROSSREFS
Sequence in context: A307580 A255268 A079402 * A160300 A024060 A198716
KEYWORD
nonn
AUTHOR
R. H. Hardin Nov 01 2011
STATUS
approved