一道小学奥数题,求解

解:设红黄蓝白分别为1234,穷举所有组合为: yyy,112,113,114,121,122,123,124,131,132,133,134,141,142,143,144,

211,212,213,214,221,rrr,223,224,231,232,233,234,242,242,243,244, 311,312,313,314,321,322,323,324,331,332,333,334,341,342,343,344, 411,412,413,414,421,422,423,424,431,432,433,434,441,442,443,444

***62种排列:如果白不打头去掉4开头的***46种;

分析:假设各有3面旗子则***有4x4x4x4=64种排列,减去111,和222两个例外,***有62种:去掉4(白打头)打头的,***有46种