Fruits and Baskets Generalized

Probability Level pending

There are n n baskets of fruits in a line, with n n fruits also present. Each basket is designated to a certain fruit, and that fruit is placed inside it basket. How many ways can the fruits be rearrange such that no fruit is in its designated basket? Let a 1 a_1 denote the answer if n = 1 n = 1 , a 2 a_2 denote the answer if n = 2 n = 2 , and so on ( a n a_n is the answer with n n fruits and baskets). If I know the values of n 1 , a n 1 n-1, a_{n-1} , and a n 2 a_{n-2} , how many calculations must I make to find a n a_n .

Details and Assumptions

  • There is only one of each type of fruit.
  • Each basket must contain exactly one fruit.
4 1 6 9 2 7 8 3

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

0 solutions

No explanations have been posted yet. Check back later!

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...