Value of the bzoj5093 chart "the second class of Stirling number +ntt"

Source: Internet
Author: User
Problem Solving Ideas:

Consider directly enumerating the edges of each point, and the other points in the graph are connected to each other directly, then push the formula straight: Ans=n∗2c2n−1∑i=0n−1cin−1ik ans=n*2^{c_{n-1}^2}\sum\limits_{i=0}^{n-1}c_{n-1 }^ii^k

Use n n to represent n−1 n-1, while IK i^k can be represented by the second class of Stirling numbers: ans= (n+1) ∗2c2n∑i=0ncin∑j=0isjkcjij! ans= (n+1) *2^{c_{n}^2}\sum\limits_{i= 0}^{n}c_{n}^i\sum\limits_{j=0}^is_k^jc_i^jj!

Exchange I,j I,j order, with: ans= (n+1) ∗2c2n∑j=0nsjkj!∑i=jncincji

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.