Today, my climbing expedition scaled Mt. Sloane to request the Oracle's Extensive Insight into Sequences. The monks there had never heard of our plight, so they inscribed our query in mystical runes on a scrip of paper and took it into a room we were not permitted to enter. The Superseeker, as they called it, eventually responded with a fresh scroll, bearing (among other, more familiar, symbols) six imposing letters: LGDEGF.
"Logarithmic Derivative Exponential Generating Function," the monks muttered in unison as I unravelled the scroll, nodding and tittering amongst themselves. But what is such a thing? They were quick to recite that it is a function $f$ such that
$$\exp\biggl(\int f(x) \,dx\biggr) = \sum_n a_n \frac{x^n}{n!}$$
for my sequence $a_n$, and that the information in the scroll pertained to this $f$, but they refused to answer any further questions.
My expedition crew was well-versed in the basic science of generating functions, ordinary power series and exponential. But why might taking the logarithmic derivative of either generating function give interesting or exciting information? Where do they occur in the wild? Most importantly, where in the literature can we learn about them?
There is more than one way to interpret the logarithmic derivative. One way is that it is a sequence transform related to sequence recursions. For example, suppose that we have two sequences with corresponding exponential generating functions $ A(x) = \sum_{n=0}^\infty a_n x^n/n!, \, B(x) = \sum_{n=0}^\infty b_n x^n/n! $ related such that $\, A\,'(x) = A(x) B(x). \,$ This means that $\, a_{n+1} = \sum_{k=0}^n {n \choose k} a_k b_{n-k} \,$ which is a recursion for sequence $\,a\,$ using binomial convolution with the other sequence $\,b.\,$ Another way to write the relation between the generating functions is that $\, B(x) = \log(A(x))'. \,$ Thus, $\, B(x) \,$ is the logarithmic derivative of $\, A(x). \,$ Turning this around we have $\, A(x) = \exp\big(\int B(x)\, dx\big). \,$
A simple example of this is for OEIS sequence A000085 which is the number of permutations that are involutions. One recursion is $\, a_{n+1} = a_n + n\, a_{n-1} \,$ which corresponds to $\, b_0 = b_1 = 1. \,$ Thus, the exponential generating function of the sequence is $\, A(x) = \exp(x + x^2/2!). \,$
Another simple example is for OEIS sequence A182386 which is related to derangments. One simple recursion is $\, a_{n+1} = -(n+1)a_n + 1, \,$ but more useful for our purpose is the recursion $\, a_{n+1} = \sum_{k=1}^n {n \choose k} (-1)^k k! \, a_{n-k} \,$ which implies that the exponential generating function of the sequence is $\, \exp(x)/(1+x). \,$