login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A211348
Number of ways to tile an n X n square with 1 X 1, 2 X 2 and 3 X 3 tiles.
3
1, 1, 2, 6, 39, 467, 10290, 431842, 33702357, 4933399675, 1353257600290, 694985665826606, 668743276018647665, 1205268925168096642391, 4069023157203412697840109, 25732126785058509461002703360, 304814553338563601845965453449729
OFFSET
0,3
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
CROSSREFS
Sequence in context: A118324 A060421 A054970 * A295912 A120492 A028300
KEYWORD
nonn
AUTHOR
Geoffrey H. Morley, Feb 05 2013
EXTENSIONS
a(7)-a(16) from Alois P. Heinz, Feb 05 2013
STATUS
approved