Im looking for a real-analytic function $f(z)$ such that for any $z$
$1) $$f(z+p) =f(z)$
With $p$ a nonzero real number and where $z$ is close to , or onto the real line such that $z$ is in the domain of analyticity.
$2)$ $f(z)= 0 + a_1 z + a_2 z^2 + a_3 z^3 + ...$ where more than $50$ % of the nonzero (signs of the) $a_n$ are positive.
Thus let $f_n(z)$ be the truncated Taylor expansion of $f(z)$ of degree $n$. Let $T(n)$ be the amount of nonzero (signs in the) coefficients of the polynomial $f_n(z)$.
Let $v(n)$ be the amount of strict positive ($>0$) coefficients of $f_n(z)$.
Then $\lim_{n -> +\infty} v(n)/T(n) > 1/2$.
$3)$ $f(z)$ is nonconstant.
Also I prefer $f(z)$ to be entire if possible.
Is such a function $f(z)$ possible ?
Related :