FoldPairList
FoldPairList[f,y0,{a1,a2,…}] gives the list of successive xi obtained by applying f to pairs of the form {yi-1,ai}, where at each step f returns {xi,yi}.
FoldPairList[f,y0,list,g] gives the list of successive values of g[{xi,yi}].
FoldPairList[f,{a0,a1,a2,…}] is equivalent to FoldPairList[f,a0,{a1,a2,…}].
Please visit the official Wolfram Language Reference for more details and examples on core symbols.