I think if $F(t) = kt^0$ then $$x(t) = x_0 + v_0t + \frac{k}{m}\frac{t^2}{2!},$$ and if $F(t) = kt^1$ then $$x(t) = x_0 + v_0t + \frac{k}{m} \frac{t^2}{2!} + \frac{k}{m} \frac{t^3}{3!},$$ and so on, is this correct? I do not know how to write it better, maybe like this but im not sure.
If $F(t) = kt^n$ then $x(t) = x_0 + v_0t + \sum_{i=2}^{n+2}({\frac{k \cdot t^i}{m\cdot i!}})$
I found this other question of which I think the answer is suspiciously similar Kinematic equation as infinite sum but I can't completely understand the answer since I'm not good with derivatives.