Can we find a function $f:\mathbb{R}\to\mathbb{R}$ , such that it's derivatives repeat after a certain period $T$. For example, exponential function $f(x)=Ae^x$ satisfies $f(x)=f'(x)=f''(x)=\cdots$ and in this case we can call the period to be $1$.
Now, I also found a function such that $f(x) \ne f'(x) $ but $f(x)=f''(x)$ and it repeats at a period of $2$. The example is $f(x)=Ae^x+Be^{-x}$.
However, I was unable to find a function whose period is $3$. Although, for period $4$, we have trigonometric functions, but I think it would be possible to find a class of functions, in which we can find such functions according to our wish by just varying $T$. It seems we can manipulate exponential functions so that it is possible for any $T$.
Any ideas would be appreciated!
I found this too: Functions that are their Own nth Derivatives for Real $n$ but I'm not sure if this is what I am looking for, because I am looking for real valued functions, and the answer given here gives functions in terms of $n$th roots of unity.