|
|
A295229
|
|
Number of tilings of the n X n grid, using diagonal lines to connect the grid points.
|
|
6
|
|
|
1, 6, 84, 8548, 4203520, 8590557312, 70368815480832, 2305843028004192256, 302231454912728264605696, 158456325028538104598816096256, 332306998946228986960926214931349504, 2787593149816327892769293535238052808491008
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
COMMENTS
|
The grids are counted up to reflection and rotation.
|
|
LINKS
|
|
|
FORMULA
|
a(n) = (2^(n^2) + 2*2^(n*(n+1)/2) + 3*2^(n^2/2) + 2*2^(n^2/4)) / 8 for n even.
a(n) = (2^(n^2) + 2*2^(n*(n+1)/2) + 2^((n^2+1)/2)) / 8 for n odd. (End)
|
|
EXAMPLE
|
For n = 2, the a(2) = 6 tilings are:
//, \/, /\, \\, /\, and \/.
// // // // \/ /\
|
|
MATHEMATICA
|
Array[(2^(#^2) + 2*2^(# (# + 1)/2) + If[EvenQ@ #, 3*2^(#^2/2) + 2*2^(#^2/4), 2^((#^2 + 1)/2)])/8 &, 12] (* Michael De Vlieger, Apr 12 2018 *)
|
|
PROG
|
(PARI) a(n) = (2^(n^2) + 2*2^(n*(n+1)/2) + if(n%2, 2^((n^2+1)/2), 3*2^(n^2/2) + 2*2^(n^2/4)))/8; \\ Andrew Howroyd, Nov 19 2017
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|