I am trying to find an $n$-multiple convolution of a rectangular function with itself. I have a function $f(x) = 1$ for $0<x<1$, 0 otherwise.
I define $$ g_2 (y) = \int_{-\infty}^{\infty} f(y+x) f(x) \mathrm{d} x $$ and recursively $$ g_n (y) = \int_{-\infty}^{\infty} g_{n-1}(y+x) f(x) \mathrm{d} x \, . $$
To make it easier and free myself from caring about integration limits, I expressed the solution as a Fourier integral
$$ \int_{-\infty}^{\infty} \mathrm{d} w \frac{1}{w^n} \left (e^{iwx} -1 \right )^n e^{-iwx} \, . $$
For $n = 1$, the resulting function should be a constant, and for $n = 2$ a triangle of the form $1-|x-1|$ (with some rescaling).
I would be grateful for any help. The Fourier approach might not be optimal.
Thanks a lot.