A211348 Number of ways to tile an n X n square with 1 X 1, 2 X 2 and 3 X 3 tiles.
1, 1, 2, 6, 39, 467, 10290, 431842, 33702357, 4933399675, 1353257600290, 694985665826606, 668743276018647665, 1205268925168096642391, 4069023157203412697840109, 25732126785058509461002703360, 304814553338563601845965453449729
Offset: 0
Keywords
Programs
-
Maple
b:= proc(n, l) option remember; local i, k, s, t; if max(l[])>n then 0 elif n=0 then 1 elif min(l[])>0 then t:=min(l[]); b(n-t, map(h->h-t, l)) else for k do if l[k]=0 then break fi od; s:=0; for i from k to min(k+2, nops(l)) while l[i]=0 do s:=s+ b(n, [l[j]$j=1..k-1, 1+i-k$j=k..i, l[j]$j=i+1..nops(l)]) od; s fi end: a:= n-> b(n, [0$n]): seq(a(n), n=0..10); # Alois P. Heinz, Feb 05 2013
Extensions
a(7)-a(16) from Alois P. Heinz, Feb 05 2013