OFFSET
1,2
LINKS
Peter Kagey, Illustration of T(2,3)=20
Peter Kagey and William Keehn, Counting tilings of the n X m grid, cylinder, and torus, arXiv:2311.13072 [math.CO], 2023.
EXAMPLE
Table begins:
n\k| 1 2 3 4 5 6
---+---------------------------------------
1 | 1 3 4 10 16 36
2 | 2 7 20 76 272 1072
3 | 2 13 60 430 2992 23052
4 | 4 34 346 4756 70024 1083664
5 | 4 78 1768 53764 1685920 53762472
6 | 8 237 11612 709316 44881328 2865540112
MATHEMATICA
A368254[n_, m_] := 1/(4n)(DivisorSum[n, Function[d, EulerPhi[d]*2^(n*m/d)]] + n*2^(n*m/2)*If[EvenQ[n], 1/2 (2^m + 1), 2^(m/2)] + If[EvenQ[m], DivisorSum[n, Function[d, EulerPhi[d]*2^(n*m/LCM[d, 2])]], DivisorSum[n, Function[d, EulerPhi[d]*2^(n*m/d)], EvenQ]] + n*2^(n*m/2)*Which[EvenQ[m], 1, EvenQ[n], 1/2, True, 0])
CROSSREFS
KEYWORD
nonn,tabl
AUTHOR
Peter Kagey, Dec 19 2023
STATUS
approved