Derivation of the wrong-line formula

Source: Internet
Author: User
When n numbered elements are placed in n numbered positions, the number of methods that do not correspond to the element number and position number is represented by D (N), then D (n-1) indicates that the n-1 number element is placed in the n-1 numbered position, each of which does not correspond to the number of methods, Other analogy. The first step, put the nth element in a position, such as position k, there is a total of n-1 method, the second step, put the element number K, there are two cases: ⑴ put it to position N, then, for the remaining n-1 elements, because the K element is placed in position n, the remaining n-2 elements have D ( N-2) method; ⑵ k element does not put it to position N, at this time, for this n-1 element, there is a D (n-1) method; fully obtained d (n) = (n-1) [D (n-2) + D (n-1)]

Derivation of the wrong-line formula

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.