Thanks to everyone who answered my question about Lego blocks. The results are summarized in the two new sequences A112389 and A112390. Neil Sloane