OFFSET
1,3
FORMULA
a(1) = a(2) = 1, a(3) = 2; for n > 3, a(n) = 2*(C(n-1, floor((n-1)/2))*C(n-2, floor((n-2)/2)) - (C(n-1, floor((n-2)/2))*C(n-2, floor((n-3)/2)))) - (C(n-3, floor((n-1)/2))*C(n-2, floor((n-1)/2))/(floor((n-1)/2)+1)).
EXAMPLE
Example: For n = 4 the a(4) = 5 solutions are as follows. (The numbers under the arches represent arches starting in an odd-numbered position on the x-axis.)
/\ /\
//\\ /\ /\ //\\ /\
///\\\/\, //\\ /\ /\, /\//\\/\, /\///\\\, /\/\//\\.
1 3 7 1 5 7 1 3 7 1 3 5 1 3 5
CROSSREFS
KEYWORD
nonn
AUTHOR
Roger Ford, Jan 12 2018
STATUS
approved