cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A362261 Maximum number of ways in which a set of integer-sided squares can tile an n X 3 rectangle, up to rotations and reflections.

This page as a plain text file.
%I A362261 #5 Apr 16 2023 08:38:09
%S A362261 1,1,1,1,2,4,8,12,22,40,73,146,292,560,1120,2532,5040,10080,22176,
%T A362261 44352,88704,192272,384384,768768,1647360,3294720,6589440,14003120,
%U A362261 28006240,56012480,126028080,266053680,532107360,1182438400,2483130720,4966261440,10925775168
%N A362261 Maximum number of ways in which a set of integer-sided squares can tile an n X 3 rectangle, up to rotations and reflections.
%F A362261 a(n) >= A362144(n)/4.
%o A362261 (Python)
%o A362261 from math import comb
%o A362261 def F(i,j,k):
%o A362261     # total number of tilings using i, j, and 2*j+3*k squares of side lengths 3, 2, and 1, respectively
%o A362261     return comb(i+j+k,i)*comb(j+k,j)*2**j
%o A362261 def F0(i,j,k):
%o A362261     # number of inequivalent tilings
%o A362261     x = F(i,j,k)
%o A362261     if j == 0: x += comb(i+k,i) # horizontal line of symmetry
%o A362261     if i%2+j%2+k%2 <= 1: x += 2*F(i//2,j//2,k//2) # vertical line of symmetry or rotational symmetry
%o A362261     return x//4
%o A362261 def A362261(n):
%o A362261     return max(F0(i,j,n-3*i-2*j) for i in range(n//3+1) for j in range((n-3*i)//2+1))
%Y A362261 Third column of A362258.
%Y A362261 Cf. A359019, A361225 (rectangular pieces), A362144.
%K A362261 nonn
%O A362261 0,5
%A A362261 _Pontus von Brömssen_, Apr 15 2023