Actually, you are right, that my math was wrong. (All this talk about loving math and here I am messing it up...) Some of my 4! permutations overlapped with possible folds... That is, "RR" backwards is still "RR", etc. So really, rather than 4! permutations, I have to not permute the change the relative order of [LR] and [TB] folds. So a 4x4 would be 16 * 6 == 96 possible complete folds. You are correct, sir. On 1/26/06, David Tran <email55555 / gmail.com> wrote: > I wonder for 4x4 the total solution is 16 * 4! = 384 > > My solution about check_fold is try to find all combinations possible. > > Below is modified version of my check_fold, it will print out all > possible combinations and total count number. > However I found for 4x4 there is only 96 possible not 384. > Can someone tell me that I am wrong ( missing some combination ) or > the previous math formula is not correct ?