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

  • Thread starter Thread starter alexmahone
  • Start date Start date
  • Tags Tags
    Expression
AI Thread 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.
 
I was reading documentation about the soundness and completeness of logic formal systems. Consider the following $$\vdash_S \phi$$ where ##S## is the proof-system making part the formal system and ##\phi## is a wff (well formed formula) of the formal language. Note the blank on left of the turnstile symbol ##\vdash_S##, as far as I can tell it actually represents the empty set. So what does it mean ? I guess it actually means ##\phi## is a theorem of the formal system, i.e. there is a...
Back
Top