Proof of the Rencontres numbers

In summary: C*(n-3)! + ...)Simplifying, we get:C = -1/n(n-1)Substituting this back into the assumed solution gives us:f(n) = n! + (n-1)! - (n-1)/n(n-1)*(n-2)! + ... + (-1)^n*n!/n!This can be simplified to get the final equation:In summary, the author derives the equation by solving a recursion using the substitution method. The assumed solution is of the form f(n) = A*n! + B*(n-1)! +
  • #1
Jncik
103
0
Hi everyone,

I'm reading this article

http://en.wikipedia.org/wiki/Rencontres_numbers

and although I understand the whole concept of these numbers, I can't understand how the author derives this equation

[PLAIN]http://img809.imageshack.us/img809/529/unledid.png

this recursion essentially counts the amount of permutation where no number is at a fixed point in the array of n+2 size

I can count these things for small n's for example let's say n is 3

we have these permuations

1 2 3 -> 3
1 3 2 -> 1
3 1 2 -> 0
2 3 1 -> 0
2 1 3 -> 1

thus the amount we're looking for is 2

but what about any n? this is what the author is calculating, I've spent many hours already and I can't figure out where does this recursion come from and how exactly does he go from the recursion to the final equation which is the following:

[URL]http://upload.wikimedia.org/wikipedia/en/math/d/6/a/d6a38c5b9f46d83ef8310b4288aebe3d.png[/URL]

thanks in advance :)
 
Last edited by a moderator:
Physics news on Phys.org
  • #2
The equation is derived by solving a recursion. A recursion is an equation defining a function in terms of itself. In this case, the recursion is:f(n) = f(n-1) + (n-1)! - (n-1)f(n-2)This recursion can be solved using the substitution method. In this method, you assume a solution to the equation, and then substitute it in the recurrence to see if it satisfies the equation. The assumed solution is of the form:f(n) = A*n! + B*(n-1)! + C*(n-2)! + ...Now substitute this in the recurrence:A*n! + B*(n-1)! + C*(n-2)! + ... = A*(n-1)! + B*(n-2)! + C*(n-3)! + ... + (n-1)! - (n-1)*(A*(n-2)! + B*(n-3)! + C*(n-4)! + ...)Collecting like terms, we get:A*n! - A*(n-2)! = (n-1)!This equation can be easily solved for A, giving us A = 1. Now we can substitute this back into our assumed solution to get:f(n) = n! + B*(n-1)! + C*(n-2)! + ...Now substitute this in the recurrence again:n! + B*(n-1)! + C*(n-2)! + ... = B*(n-2)! + C*(n-3)! + ... + (n-1)! - (n-1)*(B*(n-3)! + C*(n-4)! + ...)Again collecting like terms and solving for B gives us B = 1. Substituting this back in the assumed solution gives us:f(n) = n! + (n-1)! + C*(n-2)! + ...Substituting this in the recurrence one last time gives us:n! + (n-1)! + C*(n-2
 

FAQ: Proof of the Rencontres numbers

What are the Rencontres numbers?

The Rencontres numbers, also known as partial Bell polynomials, are a sequence of integers that count the number of ways to partition a set into a given number of subsets. They were first studied by mathematician Arthur Cayley in the 19th century and have applications in various fields, including combinatorics, number theory, and statistical mechanics.

What is "Proof of the Rencontres numbers"?

"Proof of the Rencontres numbers" refers to a mathematical proof that verifies the relationships and properties of the Rencontres numbers. This proof serves as a foundation for understanding and using the numbers in various mathematical contexts.

What are some properties of the Rencontres numbers?

Some properties of the Rencontres numbers include:
- The number of ordered partitions of a set with n elements into k non-empty subsets is equal to the nth Rencontres number.
- The sum of the nth row of the triangle of Rencontres numbers is equal to the Bell number B_n.
- The nth derivative of the exponential function e^x is equal to the nth Rencontres number times e^x.

How are the Rencontres numbers calculated?

The Rencontres numbers can be calculated using the formula R(n,k) = n! * S(n,k), where n is the number of elements in the set and k is the number of subsets, and S(n,k) is the Stirling number of the second kind. The Stirling number can also be calculated using a recursive formula: S(n,k) = k * S(n-1,k) + S(n-1,k-1), with base cases S(n,1) = 1 and S(n,n) = 1.

What are some applications of the Rencontres numbers?

The Rencontres numbers have various applications, including:
- Counting the number of independent sets and matchings in a graph.
- Calculating the number of possible RNA secondary structures.
- Studying the physics of particles in a statistical system.
- Analyzing the complexity of algorithms and computer programs.
- Solving problems in combinatorial game theory.

Similar threads

Back
Top