MHB Find a closed-form expression for f(n)

  • Thread starter Thread starter alexmahone
  • Start date Start date
  • Tags Tags
    Expression
Click For Summary
The discussion centers on finding a closed-form expression for the function f(n), defined as f(n) = 1 + n + n(n-1) + n(n-1)(n-2) + ... for n > 1, with f(1) = 1. Examples illustrate the function's values: f(2) = 3, f(3) = 10, and f(4) = 41. A recurrence relation, f(n) = 1 + n*f(n-1), is proposed as a starting point for deriving a formula. However, there is skepticism about the existence of a simple closed form. The conversation emphasizes the challenge of simplifying the expression while exploring its recursive nature.
alexmahone
Messages
303
Reaction score
0
Find a closed-form expression for $f(n)$ where

$f(n)=1+n+n(n-1)+n(n-1)(n-2)+...+n(n-1)\cdots2$ for $n>1$

and $f(1)=1$.

(So, $f(2)=1+2=3$

$f(3)=1+3+3\cdot 2=10$

$f(4)=1+4+4\cdot 3+4\cdot 3\cdot 2=41$

and so on.)
 
Physics news on Phys.org
It's easy to convert this into a recurrence relation, but I doubt that a simple closed form exists.


$$f(n)=n!\left(1+\frac{1}{2!}+\dots+\frac{1}{n!}\right)$$
 
Evgeny.Makarov said:
It's easy to convert this into a recurrence relation, but I doubt that a simple closed form exists.

I actually started with the recurrence relation $f(n)=1+nf(n-1)$ to arrive at my formula in post #1.
 
There is a nice little variation of the problem. The host says, after you have chosen the door, that you can change your guess, but to sweeten the deal, he says you can choose the two other doors, if you wish. This proposition is a no brainer, however before you are quick enough to accept it, the host opens one of the two doors and it is empty. In this version you really want to change your pick, but at the same time ask yourself is the host impartial and does that change anything. The host...

Similar threads

  • · Replies 5 ·
Replies
5
Views
1K
  • · Replies 13 ·
Replies
13
Views
2K
Replies
21
Views
3K
Replies
1
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K