Some messy mathematical conclusions.

Source: Internet
Author: User

1. Dislocation Sort:

Dislocation sort sequence: 1,2,9,44,265 ...

Give a 1~n arrangement, now upset it, so that each of the number and its markings are not the same, ask for all the number of disrupted programs

Consider the total number of 1~n, which is

So, when the number on a single is the same as its label (whether the other bits are the same or not), then the number of upset scenarios is

Can see the wrong to take this one out, the remaining number of arbitrary arrangement of the number of programs, total n bits, the overall number is

The discovery will lose more than two people are the same number of cases, to add back

Discovery is a principle of repulsion, just keep pushing.

Formula is

2. Number of Cattleya

Cattleya series: 1,2,5,14 ...

Matrix recursion long like this

The formation of the matrix is like this

1

1 1

1 2 2

1 3 5 5

1 4 9) 14 14

1 5 14 28 42 42

......

A rare sequence of recursion than a general term.

SOURCE formula:

Recursive formula:

General formula:

The concrete derivation is quite complicated

Some topics, such as the number of elements out of the stack, polygon partition triangles and so on

Recently appeared in the NOI2018 bubble sort

Some messy mathematical conclusions.

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.