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.
 
First trick I learned this one a long time ago and have used it to entertain and amuse young kids. Ask your friend to write down a three-digit number without showing it to you. Then ask him or her to rearrange the digits to form a new three-digit number. After that, write whichever is the larger number above the other number, and then subtract the smaller from the larger, making sure that you don't see any of the numbers. Then ask the young "victim" to tell you any two of the digits of the...

Similar threads

  • · Replies 5 ·
Replies
5
Views
1K
  • · Replies 13 ·
Replies
13
Views
2K
  • · Replies 21 ·
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