Function whose third derivative is itself.
$$f(x)=e^{\omega x}$$ where $\omega$ is a primitive third root of unity. We have $$f'(x)=\omega e^{\omega x}, ~~ f''(x)=\omega^2 e^{\omega x}, ~~ f'''(x)=\omega^3e^{\omega x}=e^{\omega x}$$
Try this: $f(x) = \sum_{m=0}^\infty \frac{x^{3m}}{(3m)!}$. This function is like the exponential function, which can be defined as $e^x=\sum_{m=0}^\infty \frac{x^m}{m!}$, but only taking every third term of the sum. Differentiating term-by-term verifies the desired property.
Generally, the functions $\Lambda_m^k(x) := \sum_{n=0}^\infty \frac{x^{nm+k}}{(nm+k)!}$ for $0\leq k < m$ define the set of $m$ linearly independent solutions to $\frac{d^mf}{df^m} = f$ with $\frac{d^jf}{df^j} \neq f$ for $j < m$. Again, it is easy to see this using term-by-term differentiation, but actually computing the functions in this form is unfeasible. The theory of ODE's ensures that all solutions are linear combinations of these lambda-functions, but not all linear combinations satisfy our second condition.
Note that all the functions you mention can be realized as linear combinations of these lambda-functions:
$e^x = \Lambda_1^0(x)$; $\cosh(x) = \Lambda_2^0(x)$; $\sinh(x) = \Lambda_2^1(x)$;
$\sin(x) = \Lambda_4^1(x) - \Lambda_4^3(x); \cos(x) = \Lambda_4^0(x) - \Lambda_4^2(x)$
PS: If there are an concerns about convergence of these sums, just note that they are essentially the sum for the exponential function but with terms missing. Since the exponential sum is absolutely convergent for all $x$, the sub-sums are also absolutely convergent and may be differentiated term-by-term.
The statement means $f''' = f$. We can solve this differential equation using its characteristic equation:
$$f''' - f = 0 \implies r^3-1 = 0 \implies r^3 = 1$$
for $r \in \mathbb{C}$. So $f(x) = Ce^{rx}$. Noting that $f' = Cre^{rx}$, $f'' = Cr^2 e^{rx}$, and $f'''(x) = Cr^3 e^{rx} = Ce^{rx}$, minding that $r^3 = 1$.