I'm trying to create a Table of functions where each new element is defined recursively via indefinite integration of the previous one. I've tried doing:
RecurrenceTable[{f[n + 1] == Integrate[f[n], x], f[0] == x}, f, {n,10}]
However I get the following output:
{x, x^2, x^3, x^4, x^5, x^6, x^7, x^8, x^9, x^10, x^11}
I've also tried doing several variations of this like:
RecurrenceTable[{f[n + 1, x] == Integrate[f[n, x], x], f[0, x] := x}, f, {n, 10}]
But it throws up an error message. I'm new to Mathematica, so any help would be appreciated.
NestList
instead:NestList[Integrate[#, x] &, x, 10]
. $\endgroup$