找回密码
 欢迎注册
查看: 9517|回复: 7

[转载] No: 22 December 16, 2009

[复制链接]
发表于 2009-12-18 17:26:15 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?欢迎注册

×
Painting a Cube


You have six different colors to paint a cube. Each face of the cube should be painted. You can use every color to paint as many faces of the cube as you like (0, 1, 2, 3, 4, 5, 6); but you cannot use more than one color on a single face. How many different painting patterns can be formed on this cube?

Note: If a pattern can be formed by rotating another pattern any number of times, these two patterns are not considered as different.
毋因群疑而阻独见  毋任己意而废人言
毋私小惠而伤大体  毋借公论以快私情
发表于 2009-12-19 00:27:19 | 显示全部楼层
似乎除了穷举,找不到很好的公式。
毋因群疑而阻独见  毋任己意而废人言
毋私小惠而伤大体  毋借公论以快私情
发表于 2009-12-19 11:39:49 | 显示全部楼层
同一个Cube可转出24种状态:

(1,2,3,4,5,6)

1和6不动,2,3,4,5转,4种
1和6颠倒,2,3,4,5转,4种
2和5不动,1,3,4,6转,4种
2和5颠倒,1,3,4,6转,4种
3和4不动,1,2,5,6转,4种
3和4颠倒,1,2,5,6转,4种

找出这些排列里面的置换群,大概就可以套一个公式了。

具体公式不记得,大概是叫波利亚置换群公式?
毋因群疑而阻独见  毋任己意而废人言
毋私小惠而伤大体  毋借公论以快私情
发表于 2009-12-19 12:08:52 | 显示全部楼层
我是分情况讨论、结合公式和穷举做的。
毋因群疑而阻独见  毋任己意而废人言
毋私小惠而伤大体  毋借公论以快私情
发表于 2009-12-19 15:45:46 | 显示全部楼层
同一个Cube可转出24种状态:

(1,2,3,4,5,6)

1和6不动,2,3,4,5转,4种
1和6颠倒,2,3,4,5转,4种
2和5不动,1,3,4,6转,4种
2和5颠倒,1,3,4,6转,4种
3和4不动,1,2,5,6转,4种
3和4颠倒,1,2,5,6转,4种 ...
KeyTo9_Fans 发表于 2009-12-19 11:39


偶用这个方法,编了个程序。暴力解。
毋因群疑而阻独见  毋任己意而废人言
毋私小惠而伤大体  毋借公论以快私情
发表于 2009-12-19 17:41:33 | 显示全部楼层
毋因群疑而阻独见  毋任己意而废人言
毋私小惠而伤大体  毋借公论以快私情
发表于 2009-12-19 17:42:17 | 显示全部楼层
不过这个问题复杂度不大,直接计算机穷举也很容易
毋因群疑而阻独见  毋任己意而废人言
毋私小惠而伤大体  毋借公论以快私情
发表于 2009-12-24 17:26:29 | 显示全部楼层
最不擅长的就是数数了,今年还特别多。。。
毋因群疑而阻独见  毋任己意而废人言
毋私小惠而伤大体  毋借公论以快私情
您需要登录后才可以回帖 登录 | 欢迎注册

本版积分规则

小黑屋|手机版|数学研发网 ( 苏ICP备07505100号 )

GMT+8, 2024-5-3 13:28 , Processed in 0.044643 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表