OFFSET
0,5
COMMENTS
Also, a(n) is the maximum number of ways in which a set of integer-sided squares can tile an n X 2 rectangle, up to rotations and reflections.
LINKS
Robert Israel, Table of n, a(n) for n = 0..4771
FORMULA
a(n) >= A073028(n)/2.
EXAMPLE
For n = 8, the maximum a(8) = 9 is obtained for k = 2. The corresponding permutations of 2 2's and 4 1's are 221111, 212111, 211211, 211121, 211112, 122111, 121211, 121121, and 112211.
MAPLE
f:= proc(n) local k, v, m, w;
m:= 0:
for k from 0 to n/2 do
v:= binomial(n-k, k);
if n:: even and k::even then w:= binomial((n-k)/2, k/2)
elif (n-k)::odd then w:=binomial((n-k-1)/2, floor(k/2))
else w:= 0
fi;
m:= max(m, (v+w)/2);
od;
m
end proc:
map(f, [$0..50]); # Robert Israel, Oct 25 2023
CROSSREFS
KEYWORD
nonn
AUTHOR
Pontus von Brömssen, Apr 15 2023
STATUS
approved