Polya定理及例题

本文介绍了Polya定理及其在解决组合计数问题中的应用,包括项链和手镯的不同形式计算。通过讲解Burnside定理作为基础,阐述了Polya定理如何处理旋转和翻转的情况。文章提供了三个程序实例,分别解决项链、手镯和有限颜色珠子构成的环形饰品的计数问题,并涉及到欧拉函数的优化。
摘要由CSDN通过智能技术生成
  • 概念

先讲Burnside定理:

百度百科的传送门:https://baike.baidu.com/item/burnside%E5%BC%95%E7%90%86/1505996

 再放一个例题:

 

 重点还是Polya定理

百度百科的传送门:https://baike.baidu.com/item/Polya/11020869

Polya定理在Burnside定理的基础上增加了 翻转 得到更大的置换群

( )内表示的是 循环节

关于定理概念也可以看看这篇博客:https://blog.csdn.net/lyc1635566ty/article/details/52545355

 

Necklace of Beads

Time Limit: 1000MS   Memory Limit: 10000K
Total Submissions: 9432   Accepted: 3887

Description

Beads of red, blue or green colors are connected together into a circular necklace of n beads ( n < 24 ). If the repetitions that are produced by rotation around the center of the circular necklace or reflection to the axis of symmetry are all neglected, how many different forms of the necklace are there? 

 

Input

The input has several lines, an

  • 4
    点赞
  • 19
    收藏
    觉得还不错? 一键收藏
  • 3
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值