This is from an exercise which my friend and my can't fully wrap our heads around.
Given $X\sim Exp(\lambda)$ what is the distribution of $Y = X - \texttt{floor(}{X}\texttt{)}$
Approach: Compute pdf of $\texttt{floor(}{X}\texttt{)}$ like in this question and then use the formula for computing the difference of two random variables $f_y(y) = \int_0^{\infty} f_X(x)*f_{\texttt{floor(}{X}\texttt{)}}(y-x) dx$
Unfortunately, this integral diverges for $f_{\texttt{floor(}{X}\texttt{)}} = \lambda e^{-\lambda(y-x+1)}$ and $f_X(x) = \lambda e^{-\lambda x}$
Thank you for other approaches and ideas!