12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697 |
- <!DOCTYPE html><html lang="en"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=2"><meta name="theme-color" content="#222"><meta name="generator" content="Hexo 4.2.0"><link rel="apple-touch-icon" sizes="180x180" href="/blog/blog/images/apple-touch-icon-next.png"><link rel="icon" type="image/png" sizes="32x32" href="/blog/blog/images/favicon-frog.png"><link rel="icon" type="image/png" sizes="16x16" href="/blog/blog/images/favicon-frog.png"><link rel="mask-icon" href="/blog/blog/images/logo.svg" color="#222"><link rel="stylesheet" href="/blog/css/main.css"><link rel="stylesheet" href="//fonts.googleapis.com/css?family=Comic Sans MS:300,300italic,400,400italic,700,700italic|Consolas:300,300italic,400,400italic,700,700italic&display=swap&subset=latin,latin-ext"><link rel="stylesheet" href="/blog/lib/font-awesome/css/font-awesome.min.css"><link rel="stylesheet" href="/blog/lib/pace/pace-theme-minimal.min.css"><script src="/blog/lib/pace/pace.min.js"></script><script id="hexo-configurations">var NexT=window.NexT||{},CONFIG={hostname:"schtonn.github.io",root:"/blog/",scheme:"Muse",version:"7.8.0",exturl:!1,sidebar:{position:"left",display:"post",padding:18,offset:12,onmobile:!1},copycode:{enable:!0,show_result:!0,style:"flat"},back2top:{enable:!0,sidebar:!1,scrollpercent:!0},bookmark:{enable:!1,color:"#222",save:"auto"},fancybox:!1,mediumzoom:!1,lazyload:!0,pangu:!1,comments:{style:"tabs",active:"valine",storage:!0,lazyload:!1,nav:null,activeClass:"valine"},algolia:{hits:{per_page:10},labels:{input_placeholder:"Search for Posts",hits_empty:"We didn't find any results for the search: ${query}",hits_stats:"${hits} results found in ${time} ms"}},localsearch:{enable:!1,trigger:"auto",top_n_per_article:1,unescape:!1,preload:!1},motion:{enable:!0,async:!1,transition:{post_block:"fadeIn",post_header:"slideDownIn",post_body:"slideDownIn",coll_header:"slideLeftIn",sidebar:"slideUpIn"}}}</script><meta name="description" content="(\(\text{C}^m_n\) 代表从 \(n\) 个不同物品里面选 \(m\) 个,有多少种选法)
(\(\sum\limits_{i=0}^n\text{f}(i)\) 表示从 \(0\) 到 \(n\) 对 \(\text{f}(i)\) 求和)
(约定 \(\text{C}^0_n=1\))
引理:n 次方差公式 \[(m+1)^{k+1}-m^{k+1}=\sum_{i=0"><meta property="og:type" content="article"><meta property="og:title" content="自然数幂求和公式"><meta property="og:url" content="https://schtonn.github.io/blog/posts/powersum/index.html"><meta property="og:site_name" content="schtonn"><meta property="og:description" content="(\(\text{C}^m_n\) 代表从 \(n\) 个不同物品里面选 \(m\) 个,有多少种选法)
(\(\sum\limits_{i=0}^n\text{f}(i)\) 表示从 \(0\) 到 \(n\) 对 \(\text{f}(i)\) 求和)
(约定 \(\text{C}^0_n=1\))
引理:n 次方差公式 \[(m+1)^{k+1}-m^{k+1}=\sum_{i=0"><meta property="og:locale" content="en_US"><meta property="article:published_time" content="2021-12-12T04:24:01.513Z"><meta property="article:modified_time" content="2022-10-19T15:10:22.174Z"><meta property="article:author" content="Alex"><meta property="article:tag" content="math"><meta name="twitter:card" content="summary"><link rel="canonical" href="https://schtonn.github.io/blog/posts/powersum/"><script id="page-configurations">CONFIG.page={sidebar:"",isHome:!1,isPost:!0,lang:"en"}</script><title>自然数幂求和公式 | schtonn</title><noscript><style>.sidebar-inner,.use-motion .brand,.use-motion .collection-header,.use-motion .comments,.use-motion .menu-item,.use-motion .pagination,.use-motion .post-block,.use-motion .post-body,.use-motion .post-header{opacity:initial}.use-motion .site-subtitle,.use-motion .site-title{opacity:initial;top:initial}.use-motion .logo-line-before i{left:initial}.use-motion .logo-line-after i{right:initial}</style></noscript></head><body itemscope itemtype="http://schema.org/WebPage"><div class="container use-motion"><div class="headband"></div><header class="header" itemscope itemtype="http://schema.org/WPHeader"><div class="header-inner"><div class="site-brand-container"><div class="site-nav-toggle"><div class="toggle" aria-label="Toggle navigation bar"><span class="toggle-line toggle-line-first"></span><span class="toggle-line toggle-line-middle"></span><span class="toggle-line toggle-line-last"></span></div></div><div class="site-meta"><a href="/blog/" class="brand" rel="start"><span class="logo-line-before"><i></i></span><h1 class="site-title">schtonn</h1><span class="logo-line-after"><i></i></span></a><p class="site-subtitle" itemprop="description">schtonn</p></div><div class="site-nav-right"><div class="toggle popup-trigger"></div></div></div><nav class="site-nav"><ul id="menu" class="menu"><li class="menu-item menu-item-home"><a href="/blog/" rel="section"><i class="fa fa-fw fa-home"></i> Home</a></li><li class="menu-item menu-item-tags"><a href="/blog/tags/" rel="section"><i class="fa fa-fw fa-tags"></i> Tags</a></li><li class="menu-item menu-item-archives"><a href="/blog/archives/" rel="section"><i class="fa fa-fw fa-archive"></i> Archives</a></li><li class="menu-item menu-item-games"><a href="/blog/games/" rel="section"><i class="fa fa-fw fa-gamepad"></i> Games</a></li></ul></nav></div></header><div class="back-to-top"><i class="fa fa-arrow-up"></i> <span>0%</span></div><main class="main"><div class="main-inner"><div class="content-wrap"><div class="content post posts-expand"><article itemscope itemtype="http://schema.org/Article" class="post-block" lang="en"><link itemprop="mainEntityOfPage" href="https://schtonn.github.io/blog/posts/powersum/"><span hidden itemprop="author" itemscope itemtype="http://schema.org/Person"><meta itemprop="image" content="/blog/images/avatar.gif"><meta itemprop="name" content="Alex"><meta itemprop="description" content="blog"></span><script type="text/javascript" src="/blog/js/md5.js"></script><script></script><script>document.oncopy=function(e){window.event&&(e=window.event);try{var t=e.srcElement;return"INPUT"==t.tagName&&"text"==t.type.toLowerCase()||"TEXTAREA"==t.tagName}catch(e){return!1}}</script><span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization"><meta itemprop="name" content="schtonn"></span><header class="post-header"><h1 class="post-title" itemprop="name headline"> 自然数幂求和公式</h1><div class="post-meta"><span class="post-meta-item"><span class="post-meta-item-icon"><i class="fa fa-calendar-o"></i></span> <span class="post-meta-item-text">Posted on</span> <time title="Created: 2021-Dec-12 12:24:01" itemprop="dateCreated datePublished" datetime="2021-12-12T12:24:01+08:00">2021-Dec-12</time></span><span class="post-meta-item"><span class="post-meta-item-icon"><i class="fa fa-calendar-check-o"></i></span> <span class="post-meta-item-text">Edited on</span> <time title="Modified: 2022-Oct-19 23:10:22" itemprop="dateModified" datetime="2022-10-19T23:10:22+08:00">2022-Oct-19</time></span><span class="post-meta-item"><span class="post-meta-item-icon"><i class="fa fa-comment-o"></i></span> <span class="post-meta-item-text">Valine:</span><a title="valine" href="/blog/posts/powersum/#valine-comments" itemprop="discussionUrl"><span class="post-comments-count valine-comment-count" data-xid="/blog/posts/powersum/" itemprop="commentCount"></span></a></span></div></header><div class="post-body" itemprop="articleBody"><p>(<span class="math inline">\(\text{C}^m_n\)</span> 代表从 <span class="math inline">\(n\)</span> 个不同物品里面选 <span class="math inline">\(m\)</span> 个,有多少种选法)</p><p>(<span class="math inline">\(\sum\limits_{i=0}^n\text{f}(i)\)</span> 表示从 <span class="math inline">\(0\)</span> 到 <span class="math inline">\(n\)</span> 对 <span class="math inline">\(\text{f}(i)\)</span> 求和)</p><p>(约定 <span class="math inline">\(\text{C}^0_n=1\)</span>)</p><blockquote><p>引理:n 次方差公式 <span class="math display">\[(m+1)^{k+1}-m^{k+1}=\sum_{i=0}^{k}\text{C}^i_{k+1}m^i\]</span></p></blockquote><p>证:</p><p><span class="math display">\[\sum^n_{m=1}(m+1)^{k+1}-m^{k+1}=(n+1)^{k+1}-1^{k+1}\]</span> <span class="math display">\[=\sum_{i=0}^k\text{C}^i_{k+1}\left(\sum^n_{m=1}m^i\right)\]</span> <span class="math display">\[=\text{C}^k_{k+1}\left(\sum^n_{m=1}m^k\right)+\sum^{k-1}_{i=0}\text{C}^i_{k+1}\left(\sum^n_{m=1}m^i\right)\]</span></p><p>因此有 <span class="math display">\[\sum^n_{m=1}m^k=\dfrac{1}{\text{C}^k_{k+1}}\left[(n+1)^{k+1}-1-\sum^{k-1}_{i=0}\text{C}^i_{k+1}\left(\sum^n_{m=1}m^i\right)\right]\]</span></p></div><div><ul class="post-copyright"><li class="post-copyright-author"> <strong>Post author:</strong> Alex</li><li class="post-copyright-link"> <strong>Post link:</strong> <a href="https://schtonn.github.io/blog/posts/powersum/" title="自然数幂求和公式">https://schtonn.github.io/blog/posts/powersum/</a></li><li class="post-copyright-license"> <strong>Copyright Notice:</strong> All articles in this blog are licensed under<a href="https://creativecommons.org/licenses/by-nc-sa/4.0/" rel="noopener" target="_blank"><i class="fa fa-fw fa-creative-commons"></i> BY-NC-SA</a> unless stating additionally.</li></ul></div><footer class="post-footer"><div class="post-tags"><a href="/blog/tags/math/" rel="tag"><i class="fa fa-tag"></i> math</a></div><div class="post-nav"><div class="post-nav-item"><a href="/blog/posts/group/" rel="prev" title="关于群论的一些东西"><i class="fa fa-chevron-left"></i> 关于群论的一些东西</a></div><div class="post-nav-item"> <a href="/blog/posts/katyusha/" rel="next" title="用管乐还原《喀秋莎》">用管乐还原《喀秋莎》<i class="fa fa-chevron-right"></i></a></div></div></footer></article></div><div class="comments" id="valine-comments"></div><script>
- window.addEventListener('tabs:register', () => {
- let { activeClass } = CONFIG.comments;
- if (CONFIG.comments.storage) {
- activeClass = localStorage.getItem('comments_active') || activeClass;
- }
- if (activeClass) {
- let activeTab = document.querySelector(`a[href="#comment-${activeClass}"]`);
- if (activeTab) {
- activeTab.click();
- }
- }
- });
- if (CONFIG.comments.storage) {
- window.addEventListener('tabs:click', event => {
- if (!event.target.matches('.tabs-comment .tab-content .tab-pane')) return;
- let commentClass = event.target.classList[1];
- localStorage.setItem('comments_active', commentClass);
- });
- }
- </script></div><div class="toggle sidebar-toggle"><span class="toggle-line toggle-line-first"></span><span class="toggle-line toggle-line-middle"></span><span class="toggle-line toggle-line-last"></span></div><aside class="sidebar"><div class="sidebar-inner"><ul class="sidebar-nav motion-element"><li class="sidebar-nav-toc"> Table of Contents</li><li class="sidebar-nav-overview"> Overview</li></ul><div class="post-toc-wrap sidebar-panel"></div><div class="site-overview-wrap sidebar-panel"><div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person"><p class="site-author-name" itemprop="name">Alex</p><div class="site-description" itemprop="description">blog</div></div><div class="site-state-wrap motion-element"><nav class="site-state"><div class="site-state-item site-state-posts"> <a href="/blog/archives"><span class="site-state-item-count">35</span> <span class="site-state-item-name">posts</span></a></div><div class="site-state-item site-state-tags"> <a href="/blog/tags/"><span class="site-state-item-count">8</span> <span class="site-state-item-name">tags</span></a></div></nav></div><div class="links-of-author motion-element"><span class="links-of-author-item"><a href="https://github.com/schtonn" title="GitHub → https://github.com/schtonn" rel="noopener" target="_blank"><i class="fa fa-fw fa-github"></i> GitHub</a></span><span class="links-of-author-item"><a href="mailto:schtonn@163.com" title="E-Mail → mailto:schtonn@163.com" rel="noopener" target="_blank"><i class="fa fa-fw fa-envelope"></i> E-Mail</a></span></div><div class="links-of-blogroll motion-element"><div class="links-of-blogroll-title"><i class="fa fa-fw fa-link"></i> Links</div><ul class="links-of-blogroll-list"><li class="links-of-blogroll-item"> <a href="https://yonghong.github.io/" title="https://yonghong.github.io" rel="noopener" target="_blank">Yonghong</a></li><li class="links-of-blogroll-item"> <a href="https://source.unsplash.com/random/1600x900" title="https://source.unsplash.com/random/1600x900" rel="noopener" target="_blank">Background</a></li></ul><iframe width="400" height="300" frameborder="0" src="https://cdn.abowman.com/widgets/treefrog/index.html?up_bodyColor=2d2d2d&up_pattern=0&up_patternColor=000000&up_footColor=2d2d2d&up_eyeColor=3a3a3a&up_bellySize=50&up_backgroundColor=222222&up_tongueColor=2b2d2d&up_flyColor=3a3a3a&up_releaseFly=0"></iframe></div></div></div></aside><div id="sidebar-dimmer"></div></div></main><footer class="footer"><div class="footer-inner"><div class="copyright"> © 2019 – <span itemprop="copyrightYear">2023</span><span class="with-love"><i class="fa fa-user"></i></span> <span class="author" itemprop="copyrightHolder">Alexander</span></div></div></footer></div><script src="/blog/lib/anime.min.js"></script><script src="//cdn.jsdelivr.net/npm/lozad@1/dist/lozad.min.js"></script><script src="/blog/lib/velocity/velocity.min.js"></script><script src="/blog/lib/velocity/velocity.ui.min.js"></script><script src="/blog/js/utils.js"></script><script src="/blog/js/motion.js"></script><script src="/blog/js/schemes/muse.js"></script><script src="/blog/js/next-boot.js"></script><script>!function(){var t=document.createElement("script"),e=window.location.protocol.split(":")[0];t.src="https"===e?"https://zz.bdstatic.com/linksubmit/push.js":"http://push.zhanzhang.baidu.com/push.js";var s=document.getElementsByTagName("script")[0];s.parentNode.insertBefore(t,s)}()</script><script>
- if (typeof MathJax === 'undefined') {
- window.MathJax = {
- loader: {
- load: ['[tex]/mhchem'],
- source: {
- '[tex]/amsCd': '[tex]/amscd',
- '[tex]/AMScd': '[tex]/amscd'
- }
- },
- tex: {
- inlineMath: {'[+]': [['$', '$']]},
- packages: {'[+]': ['mhchem']},
- tags: 'ams'
- },
- options: {
- renderActions: {
- findScript: [10, doc => {
- document.querySelectorAll('script[type^="math/tex"]').forEach(node => {
- const display = !!node.type.match(/; *mode=display/);
- const math = new doc.options.MathItem(node.textContent, doc.inputJax[0], display);
- const text = document.createTextNode('');
- node.parentNode.replaceChild(text, node);
- math.start = {node: text, delim: '', n: 0};
- math.end = {node: text, delim: '', n: 0};
- doc.math.push(math);
- });
- }, '', false],
- insertedScript: [200, () => {
- document.querySelectorAll('mjx-container').forEach(node => {
- let target = node.parentNode;
- if (target.nodeName.toLowerCase() === 'li') {
- target.parentNode.classList.add('has-jax');
- }
- });
- }, '', false]
- }
- }
- };
- (function () {
- var script = document.createElement('script');
- script.src = '//cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js';
- script.defer = true;
- document.head.appendChild(script);
- })();
- } else {
- MathJax.startup.document.state(0);
- MathJax.texReset();
- MathJax.typeset();
- }
- </script><script>
- NexT.utils.loadComments(document.querySelector('#valine-comments'), () => {
- NexT.utils.getScript('https://cdn.jsdelivr.net/npm/valine@1/dist/Valine.min.js', () => {
- var GUEST = ['nick', 'mail', 'link'];
- var guest = 'nick,mail';
- guest = guest.split(',').filter(item => {
- return GUEST.includes(item);
- });
- new Valine({
- el : '#valine-comments',
- verify : false,
- notify : false,
- appId : 'BmologYYnRqCv0SLHDeDdA17-gzGzoHsz',
- appKey : 'w9mVebFMdCmY6Nh9vfcBGaGt',
- placeholder: "Comment...",
- avatar : 'mp',
- meta : guest,
- pageSize : '10' || 10,
- visitor : false,
- lang : 'en' || 'zh-cn',
- path : location.pathname,
- recordIP : true,
- serverURLs : ''
- });
- }, window.Valine);
- });
- </script></body></html>
|